Virtual Domains?!?

Sam Wilson Sam.Wilson at ed.ac.uk
Mon Apr 24 14:23:06 UTC 2000


In article <973A67B530E4D3119ECA009027B6CFF03A4653 at f5-exchange.win.net>,
Christian Stratton <c.stratton at f5.com> wrote:

> >From: Iain Herron [mailto:iherron at ntyneside.ac.uk]
> >If I have a web server currently at www.mydomain.ac.uk, how do I make it
> >accessible from mydomain.ac.uk also?
>
>By putting an @ in you zone file referring to an A record or alias It
will use the name of the domain. 
>
>@       IN      A 0.0.0.0
>or 
>@       IN      CNAME www
>Both of they examples will work. 

The second won't if, as is most likely, the @ refers to the zone that's
being served.  You can't have a CNAME record for the same name as any
other records, and a zone has to have an SOA and at least one NS record. 
The first one is OK (but use a real address, not 0.0.0.0 :-) )

-- 
Sam Wilson
Network Services Division, Computing Services
The University of Edinburgh
Edinburgh, Scotland, UK



More information about the bind-users mailing list