New to this need help.
Will Yardley
william-nospam-newdream-net at no.spam.veggiechinese.net
Sat Mar 16 20:24:05 UTC 2002
In article <a705i7$qim at pub3.rc.vix.com>, James W.Smith wrote:
>
> I am trying to set up lab BIND 9.2.0 dns server on a sparc 20 with
> solaris 8. Even though my named.conf is working, I am getting
> hammered on my zone files. I know they are simplistic but hey "start
> small". I am getting an errors when I examine errors by "grep
> db.15.1.180 /var/adm/messages"
>
> unknown option $TTL I am also getting "15.1.180in-addr/IN: has no NS
> records" (I have tried the IN NS in both upper and lower case)
did you type this by hand? 15.1.180in-addr should be
15.1.180.in-addr.arpa, presumably. in any event, are you sure that
you're starting the right named? have you uninstalled the solaris bind
packages, and possibly edited /etc/init.d/inetsvc so that it won't try
to start in.named if /etc/named.conf exists (or you could compile bind
to put its named.conf in /usr/local/etc/
> I have tried to follow instructions from both the DNS & BIND 4th
> edition and from isc troubleshooters; but, I am still getting these
> problems. I'm sure it is something totally moronic; but, I can't
> figure it out.
does named-checkconf return any errors? what about named-checkzone?
ie:
bacall% named-checkzone veggiechinese.net /var/named/veggiechinese.net
zone veggiechinese.net/IN: loaded serial 2002031301
OK
bacall# named-checkconf
bacall#
(no output is good).
> my reverse zone file is db.15.1.180 it reads as follows:
>
> $TTL 1000
> @ in soa jwshost.lab.net. root.lab.net. (
> 1993050801 ;serial
> 3600 ;refresh
> 1800 ;retry
> 604800 ;expiration
> 3600 ) ;minimum;
> ; Database file 15.1.180.in-addr.arpa. for lab.net zone.
>
>
> ; Zone Name Server records
> 15.1.180.in-addr.arpa. in ns jwshost.lab.net.
> 15.1.180.in-addr.arpa. in ns jwshost2.lab.net.
you could simplify these to:
NS jwshost.lab.net.
NS jwshost2.lab.net.
>
> 1.15.1.180.in-addr.arpa. in ptr jwshost.lab.net.
> 10.15.1.180.in-addr.arpa. in ptr jwshost2.lab.net.
1 PTR jwshost.lab.net.
10 PTR jwshost2.lab.net.
> 1.0.0.127.in-addr.arpa. in ptr localhost.
^^^^^^^^^ this isn't in the zone 15.1.180.in-addr.arpa.
put it in its own db file.
--
No copies, please.
To reply privately, simply reply; don't remove anything.
More information about the bind-users
mailing list