Have installed bind on a linux server. Only Intranet, range 192.168.1.xxx, server is 192.168.1.20. If i use nslookup, i cannot find the dns-server, but nslookup localhost 127.0.0.1 works, something is missing, but what ? No external network is accessible, only intranet. linux:/var/named # nslookup *** Can't find server name for address 192.168.1.20: Server failed *** Default servers are not available Starting sequence in /var/log/messages May 2 10:12:28 linux named[2802]: starting (/etc/named.conf). named 8.2.3-T9B Fri Jan 19 09:43:33 GMT 2001 ^Iroot@kneser:/usr/src/packages/BUILD/bind8-8.2.3/bin/named May 2 10:12:28 linux named[2802]: master zone "schmid.de" (IN) loaded (serial 20010429) May 2 10:12:28 linux named[2802]: master zone "1.168.192.in-addr-arpa" (IN) loaded (serial 20010502) May 2 10:12:28 linux named[2802]: master zone "0.0.127.in-addr.arpa" (IN) loaded (serial 42) May 2 10:12:28 linux named[2802]: master zone "localhost" (IN) loaded (serial 42) May 2 10:12:28 linux named[2802]: hint zone "" (IN) loaded (serial 0) May 2 10:12:28 linux named[2802]: listening on [127.0.0.1].53 (lo) May 2 10:12:28 linux named[2802]: listening on [192.168.1.20].53 (eth0) May 2 10:12:28 linux named[2802]: Forwarding source address is [0.0.0.0].1038 May 2 10:12:28 linux named[2803]: group = named May 2 10:12:28 linux named[2803]: user = named May 2 10:12:28 linux named[2803]: Ready to answer queries. May 2 10:12:28 linux named[2803]: sysquery: sendto([198.32.64.12].53): Network is unreachable dig returns linux:~ # dig @127.0.0.1 -x 192.168.1.20 ; <<>> DiG 8.3 <<>> @127.0.0.1 -x ; (1 server found) ;; res options: init recurs defnam dnsrch ;; res_nsend to server 127.0.0.1: Connection refused linux:~ # -------------------------------------------------------------- zonefile : 1.168.192.zone -------------------------------------------------------------- $ORIGIN 1.168.192.in-addr.arpa. @ IN SOA schmid.de. root.schmid.de. ( 23 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS linux.schmid.de. 20 IN PTR linux.schmid.de. 3 IN PTR w2000.schmid.de. 10 IN PTR nt4300.schmid.de. 2 IN PTR redhat.schmid.de. ----------------------------------------------------------------- zonefile 127.0.0.zone ----------------------------------------------------------------- $ORIGIN 0.0.127.in-addr.arpa. @ IN SOA schmid.de. root.schmid.de. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS schmid.de. 1 IN PTR localhost. ------------------------------------------------------------------ # # /etc/resolv.conf # domain schmid.de nameserver 192.168.1.20 search schmid.de ------------------------------------------------------------------ ------------------------------------------------------------------ /* configuration file for BIND 8.1 or later * should be installed as /etc/named.conf * * Author: Hubert Schmid */ # # overall options of the server # options { directory "/var/named"; # the default is to fail, if the master file is not correct check-names master warn; allow-query {127.0/16; 192.168.1/24; }; }; # # do not be verbose about these problems... # logging { # category default { null; }; category lame-servers { null; }; # category cname { null; }; }; # # a master zone # zone "schmid.de" { type master; file "schmid.de.zone"; }; zone "1.168.192.in-addr-arpa" { type master; file "1.168.192.zone"; }; zone "0.0.127.in-addr.arpa" IN { type master; file "127.0.0.zone"; }; zone "localhost" in { type master; file "localhost.zone"; }; zone "." IN { type hint; file "root.hint"; };
participants (1)
-
HSchmid@t-online.de