Date: Mon, 15 Nov 1999 09:08:42 -0800 (PST) From: Dan Busarow <dan@dpcsys.com> To: John <papalia@UDel.Edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DNS (was: DNS & Virtual hosting) Message-ID: <Pine.BSF.3.96.991115090441.16275A-100000@java.dpcsys.com> In-Reply-To: <4.1.19991114230718.0097c8f0@mail.udel.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Nov 1999, John wrote: > My "flawless" installation of named seems to have some bugs, but I think > they're "user error"... upon bootup, I get the following messages: > > merlin# Nov 14 23:08:42 merlin named[394]: reloading nameserver > Nov 14 23:08:42 merlin named[394]: /etc/namedb/named.conf:64: syntax error > near zo > ne > Nov 14 23:08:42 merlin named[394]: /etc/namedb/named.conf:97: cannot > redefine zone > '75.175.128.in-addr.arpa' class 1 > Nov 14 23:08:42 merlin named[394]: /etc/namedb/named.conf:107: cannot > redefine zon > e '75.175.128.in-addr.arpa' class 1 > Nov 14 23:08:42 merlin named[394]: Ready to answer queries.Nov: No match. > > Seems easy enough to trackdown, rite? Well, this is where the text is > tripping up: > > The syntax error near line 64: > > //}; > > zone "0.0.127.IN-ADDR.ARPA" { > type master; > file "s/named.localhost.rev"; > }; > > I don't see a syntax error? The error is probably earlier in the file. Check your last few uncommented lines before this point. > As for the "can't redefine zones", here are examples of my zones. Are > these allowed: Please recall that I'm planning on setting up 3 domains on > a single IP. In the examples, taking 1.2.3.4 to be my IP and 192.168.1.* > to be my internal subnet. Given that there are 3 domains, are the 2nd and > third zones for reverse IP's needed, or is there something to do inside the > single reverse to make it happen > > zone "foobar1.com" { > type master; > file "foobar1.com"; > }; > > zone "3.2.1.in-addr.arpa" { > type master; > file "foobar1.com.rev"; > }; > > zone "1.168.192.in-addr.arpa" { > type master; > file "internal.rev"; > }; > > zone "foobar2.com" { > type master; > file "foobar2.com"; > }; > > zone "3.2.1.in-addr.arpa" { > type master; > file "foobar2.com.rev"; > }; Well you just tried to redefine 3.2.1.in-addr.arpa. If you want/*need* to delegate less than a /24 see draft-ietf-cidrd-classless-inaddr-01.txt (I think there's a newer release out) From the description of what you want to do there is no reason for you to try and maintain separate reverse zones for those domains. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 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?Pine.BSF.3.96.991115090441.16275A-100000>