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

Re: [bind9] probleme de resolution




Une chose est sur ta résolution se fait correctement.

Peut tu commenter les ligne suivantes dans ton fichier resolv.conf

nameserver 127.0.0.1
#nameserver 91.121.92.XX
#nameserver 213.186.33.99
#search mon-domaine.com

et ensuite effectuer un ping google.fr par exemple.

Si ca ne marche toujours pas, peut tu également poster le contenu de ton fichier /etc/hosts.


GanGan a écrit :
nslookup google.fr

Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   google.fr
Address: 66.249.93.104
Name:   google.fr
Address: 72.14.221.104
Name:   google.fr
Address: 216.239.59.104

dig @localhost www.google.fr

; <<>> DiG 9.3.4-P1.1 <<>> @localhost www.google.fr
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48990
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 7, ADDITIONAL: 7

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

;; ANSWER SECTION:
www.google.fr.          285425  IN      CNAME   www.google.com.
www.google.com.         538032  IN      CNAME   www.l.google.com.
www.l.google.com.       129     IN      A       66.249.93.99
www.l.google.com.       129     IN      A       66.249.93.104
www.l.google.com.       129     IN      A       66.249.93.147

;; AUTHORITY SECTION:
l.google.com.           20942   IN      NS      a.l.google.com.
l.google.com.           20942   IN      NS      b.l.google.com.
l.google.com.           20942   IN      NS      c.l.google.com.
l.google.com.           20942   IN      NS      d.l.google.com.
l.google.com.           20942   IN      NS      e.l.google.com.
l.google.com.           20942   IN      NS      f.l.google.com.
l.google.com.           20942   IN      NS      g.l.google.com.

;; ADDITIONAL SECTION:
a.l.google.com.         61189   IN      A       209.85.139.9
b.l.google.com.         66832   IN      A       64.233.179.9
c.l.google.com.         54632   IN      A       64.233.161.9
d.l.google.com.         69854   IN      A       66.249.93.9
e.l.google.com.         56032   IN      A       209.85.137.9
f.l.google.com.         56032   IN      A       72.14.235.9
g.l.google.com.         69854   IN      A       64.233.167.9

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 14 10:33:20 2008
;; MSG SIZE  rcvd: 351

resolv.conf

nameserver 127.0.0.1
nameserver 91.121.92.XX
nameserver 213.186.33.99
search mon-domaine.com

Salut GanGan.
Plusieurs chose a vérifier.
Tout d'abord le fonctionnement de ton server DNS
Tu testes une résolution soit avec nslookup soit avec dig

Avec nslookup:
myserver:~# nslookup
 >server localhost
 > www.google.fr

il devrait y avoir une résolution

Avec dig:

dig @localhost www.google.fr

Si cela fonctionne verifie ton /etc/resolv.conf et assure toi qu'il y ai la ligne:
nameserver 127.0.0.1

Sinon vérifie du coté de la configuration de ton serveur DNS et envoi nous ton fichier de config pour voir.

Manu



Reply to: