Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2000 11:34:52 -0400
From:      Nathan Vidican <webmaster@wmptl.com>
To:        Neil Blakey-Milner <nbm@mithrandr.moria.org>
Cc:        questions@freebsd.org
Subject:   Re: IP vs CNAME
Message-ID:  <393D1A1C.D3C35785@wmptl.com>
References:  <FCEELIAEIIECDGKKJLMIMECHCAAA.troy@picus.com> <4.3.1.2.20000604022838.0195f9b8@mail.enterit.com> <393D16E4.D2E76C9A@wmptl.com> <20000606172900.A15502@mithrandr.moria.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Neil Blakey-Milner wrote:
> 
> Responding to Jim:
> 
> On Tue 2000-06-06 (11:21), Nathan Vidican wrote:
> > Jim Conner wrote:
> > > > > @       IN      SOA     ns1.isp.net. hostmaster.isp.net. (
> > > > >               2000060401  10800  3600  3600000  86400 )
> > > > >         IN    MX  10   mailhost.isp.net.
> > > > >         IN    MX  20   spooler.isp.net.
> > > > >         IN    NS       ns1.isp.net.
> > > > >         IN    NS       ns2.isp.net.
> > > > > @       IN    CNAME    webhost.isp.net.
> 
> ^^^^
> 
> > > > > www     IN    CNAME    webhost.isp.net.
> > > > > mail    IN    CNAME    mailhost.isp.net.
> > >
> > > He's right.  This zone file as-is won't work.  You have no A names
> > > here!!  Also, it appears you are using version 4.x syntax.  This zone file
> > > would never do for a current version of bind.
> 
> No, the problem appears to be that he's assigning a SOA record and a
> CNAME record to the same thing.  CNAME records can't co-exist with other
> record types, as far as I've read.
> 
> I'm pretty sure you needn't have any A records in a zone.
> 
> Neil
> --
> Neil Blakey-Milner
> Sunesi Clinical Systems
> nbm@mithrandr.moria.org

No, you don't have to have any A records in a zonefile. In fact, you
don't even have to have the zonefile for where the CNAME points to; your
CNAME could point to a domain controlled by a different DNS server if
you so wished it.

-- 
Nathan Vidican
webmaster@wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393D1A1C.D3C35785>