[linux-l] nslookup Problem
Stephan.Boldt
Stephan.Boldt at ePost.de
Di Feb 12 19:05:58 CET 2002
> * Stephan.Boldt wrote on Mon, Feb 11, 2002 at 12:38 +0100:
> > ;; connection timed out; no servers could be reached
>
> Was sagt /var/log/messages?
>
> > Ich liste hier einfach mal meine derzeitige Konfig auf, vielleicht
> > sieht ja jemand den Fehler:
> >
> > =====8<-------------[ named.conf ]----------------------
> >
> > acl "LAN" {
> > 192.168.200.0/24;
> > };
>
> Wird doch nicht benutzt?! BTW, vielleicht noch ein
> allow-query { any; };
> Ist aber vermutlich default.
Einschränkung auf LAN hatte ich rausgeschmissen um Fehler dabei
auszuschliessen.
> Geht nun eigentlich "dig localhost"?
Das geht:
gon_dc:~ # dig localhost
; <<>> DiG 9.2.0 <<>> localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38993
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;localhost. IN A
;; ANSWER SECTION:
localhost. 86400 IN A 127.0.0.1
;; AUTHORITY SECTION:
localhost. 86400 IN NS localhost.
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Feb 12 17:53:37 2002
;; MSG SIZE rcvd: 57
>
> > =====8<-------------[ resolv.conf ]----------------------
> domain local
> > nameserver 127.0.0.1
> > =====8<--------------------------------------------------
> >
> > Sieht jemand ein Problem?
>
> Nö, sehe ich erstmal nicht... Mach mal "ndc querylog" und ein
> dig localhost, und guck, was in /var/log/messages passiert
> (ob der Request ankommt).
Habe rndc querylog gemacht (heisst bei BIND9 "rndc")
Bei "dig localhost" kommt die query an", bei "dig @localhost www.gmx.de"
nicht!
> Vor allem erstmal /var/log/messages vom
> start, vielleicht stehen da ja Fehler drin, mal posten!
Feb 12 20:01:17 gon_dc named[2634]: starting BIND 9.2.0
Feb 12 20:01:17 gon_dc named[2634]: using 1 CPU
Feb 12 20:01:17 gon_dc named[2634]: loading configuration from
'/etc/named.conf'
Feb 12 20:01:17 gon_dc named[2634]: listening on IPv4 interface lo,
127.0.0.1#53
Feb 12 20:01:17 gon_dc named[2634]: listening on IPv4 interface eth0,
192.168.200.250#53
Feb 12 20:01:17 gon_dc named[2634]: listening on IPv4 interface ppp0,
217.82.192.205#53
Feb 12 20:01:17 gon_dc named[2634]: command channel listening on
127.0.0.1#953
Feb 12 20:01:17 gon_dc named[2634]: 127.0.0.zone:1: no TTL specified;
using SOA MINTTL instead
Feb 12 20:01:17 gon_dc named[2634]: zone 0.0.127.in-addr.arpa/IN: loaded
serial 1999110700
Feb 12 20:01:17 gon_dc named[2634]: zone localhost/IN: loaded serial
1999110700
Feb 12 20:01:17 gon_dc named[2634]: running
Feb 12 20:01:17 gon_dc named[2634]: zone 0.0.127.in-addr.arpa/IN:
sending notifies (serial 1999110700)
Mfg
Stephan
Mehr Informationen über die Mailingliste linux-l