CNAME setup
/dev/rob0
rob0 at gmx.co.uk
Sun Aug 28 00:47:00 UTC 2005
On Saturday 2005-August-27 18:41, Jim Pazarena wrote:
> I have tried to set a virtual domain like:
What is a "virtual domain" in DNS terms? ...
> ; authoritative data for lifeboatscanada.com
> ;
>
> $INCLUDE qcislands.soa
... just meaning it shares the SOA and NS records with other zones?
> $ORIGIN lifeboatscanada.com.
>
> lifeboatscanada.com. IN A 64.69.87.111
(You could use "@" in place of "lifeboatscanada.com." here.)
> www IN A 64.69.87.111
> ftp IN A 64.69.87.111
>
> and this seems to works OK, but when I try to "CNAME" these entries,
> like:
>
>
> lifeboatscanada.com. IN CNAME www.qcislands.net
This one won't work.
> www IN CNAME www.qcislands.net
> ftp IN CNAME www.qcislands.net
These are fine.
> doesn't work... the master re-load complains "CNAME and other data"
>
> am I doing something wrong, or is there another way to do this?
Yes, no. A CNAME cannot coexist with other RR types at the same name.
Your zone "lifeboatscanada.com." also has the SOA and NS records (and
MX or others, optionally.) There's no way around that.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
More information about the bind-users
mailing list