newbie BIND/DNS question, nslookup woes

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Dec 3 23:46:57 UTC 2001


	You havn't stated which named version you are running.
	9.1 won't load the zone file as it doesn't contain a $TTL or
	specify a TTL on the first record of the zone.

	You did reload the server and check the logs?

	Mark

> 
> OK, I added the following file to /var/named (db.192.168.0)
> 
> bash-2.05# more /var/named/db.192.168.0
> ;
> ;Reverse Addresses (PTR Records) for zone: 0.168.192.in-addr.arpa
> ;
> @       IN      SOA     sparky.fatadmin.com.    cplace.fatadmin.com. (
>                         1       ; Serial Number
>                         21600   ; Refresh
>                         3600    ; Retry
>                         604800  ; Expire
>                         86400 ) ; Minimum
> ;
>                         IN      NS      sparky.fatadmin.com.
> ;
> ;PTR RECORDS
> ;
> 96.0.168.192.in-addr.arpa.      IN      PTR     ren.fatadmin.com.
> 97.0.168.192.in-addr.arpa.      IN      PTR     blade.fatadmin.com.
> 30.0.168.192.in-addr.arpa.      IN      PTR     sparky.fatadmin.com.
> 99.0.168.192.in-addr.arpa.      IN      PTR     rs6000.fatadmin.com.
> ;
> 
> and then added this to my /etc/named.conf:
> 
> zone "0.168.192.in-addr.arpa" in {
>         type master;
>         file "db.192.168.0";
>         check-names ignore;
>         allow-update { any; };
>         allow-query { any; };
>         allow-transfer { any; };
>         notify no;
> };
> 
> But I still have the same problem.  Does this represent a problem with
> my DNS setup or just a flaw with the "stock" nslookup on Solaris.  I
> noticed that the version of nslookup that comes with BIND does not
> suffer from this.
> 
> fred
> 
> On 3 Dec 2001 10:31:43 -0800, Michael Kjorling <michael at kjorling.com>
> wrote:
> 
> >
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >Set up reverse DNS for your internal IP span, or use a real tool like
> >dig.
> >
> >Newbie Admin's guide to NSLookup: log in as root and type
> >
> ># rm -f `which nslookup`; man dig
> >
> >
> >Michael Kjörling
> >
> >
> >On Dec 3 2001 13:02 -0500, Fred Randall wrote:
> >
> >> I set up BIND on a sparc4 running Solaris 7 as a caching nameserver
> >> pointing towards my isp's DNS.  All other machines on my network point
> >> towards this server for DNS and can browse the internet, email, use
> >> usenet, ping, etc. which requires DNS for name resolution.  When I try
> >> nslookup I get the following message:
> >>
> >> bash-2.05# nslookup
> >> *** Can't find server name for address 192.168.0.30:Non-existent
> >> host/domain
> >> *** Default servers are not available
> >>
> >> but as proof that the server is working, if I try this:
> >>
> >> bash-2.05# ping theonion.com
> >> PING theonion.com: (216.165.161.17): 56 data bytes
> >> 64 bytes from 216.165.161.17: icmp_seq=0 ttl=239 time=424 ms
> >> 64 bytes from 216.165.161.17: icmp_seq=1 ttl=239 time=272 ms
> >> 64 bytes from 216.165.161.17: icmp_seq=2 ttl=239 time=331 ms
> >> ^C
> >> ----theonion.com PING Statistics----
> >> 3 packets transmitted, 3 packets received, 0% packet loss
> >> round-trip min/avg/max = 272/342/424 ms
> >>
> >> is works perfectly.  Can someonepoint me towards an answer to this
> >> problem?   Below I have pasted my configuration files
> >> (/etc/named.conf, /var/named/db.cache and /var/named/db.127.0.0)
> >>
> >> Thanks for any help
> >>
> >> fred
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list