[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pb DNS



Stephane Bortzmeyer wrote:
On Tue, Oct 10, 2006 at 11:32:07PM +0200,
debian-mail <theedge456.nospam@free.fr> wrote a message of 20 lines which said:

J'ai configuré bind9 en cache-only sous unstable.

On ne rappelera jamais assez que unstable s'appelle unstable pour une
raison.

Mais le ping me renvoie "unknown host".

On ne débogue pas le DNS avec ping. Que donnent :

dig @127.0.0.1 NS .
$ dig @127.0.0.1 NS

; <<>> DiG 9.3.2-P1 <<>> @127.0.0.1 NS
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 65283
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;.                              IN      NS

;; Query time: 15 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Oct 11 21:46:15 2006
;; MSG SIZE  rcvd: 17
dig @127.0.0.1 A www.google.com.
dig @127.0.0.1 A www.google.com

; <<>> DiG 9.3.2-P1 <<>> @127.0.0.1 A www.google.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 51660
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; Query time: 18 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Oct 11 21:46:53 2006
;; MSG SIZE  rcvd: 32
dig @127.0.0.1 A www.wikipedia.fr.
$ dig @127.0.0.1 A www.wikipedia.fr

; <<>> DiG 9.3.2-P1 <<>> @127.0.0.1 A www.wikipedia.fr
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 28688
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.wikipedia.fr.              IN      A

;; Query time: 37 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Oct 11 21:47:52 2006
;; MSG SIZE  rcvd: 34
?

Que contient le journal ? (/var/log/daemon.log)
Voici la partie liée à named
Oct 11 21:26:26 localhost named[4930]: starting BIND 9.3.2-P1 -u bind
Oct 11 21:26:26 localhost named[4930]: found 1 CPU, using 1 worker thread
Oct 11 21:26:26 localhost named[4930]: loading configuration from '/etc/bind/named.conf'
Oct 11 21:26:26 localhost named[4930]: no IPv6 interfaces found
Oct 11 21:26:26 localhost named[4930]: listening on IPv4 interface lo, 127.0.0.1#53
Oct 11 21:26:26 localhost named[4930]: listening on IPv4 interface ath0, 192.168.2.3#53
Oct 11 21:26:26 localhost named[4930]: command channel listening on 127.0.0.1#953
Oct 11 21:26:26 localhost named[4930]: zone 0.in-addr.arpa/IN: loaded serial 1
Oct 11 21:26:26 localhost named[4930]: zone 127.in-addr.arpa/IN: loaded serial 1
Oct 11 21:26:26 localhost named[4930]: zone 255.in-addr.arpa/IN: loaded serial 1
Oct 11 21:26:26 localhost named[4930]: zone localhost/IN: loaded serial 1
Oct 11 21:26:26 localhost named[4930]: running




Reply to: