Problème de DNS sous Ubuntu
angel-network
-
sltn Messages postés 8 Statut Membre -
sltn Messages postés 8 Statut Membre -
Bonjour,
slt, j'ai configure un DNS sous Ubuntu 8.04 avec Bind9, le tout semble marché mais pas comme je veux et je ne sais pas ou se trouve le probleme. Quand je fais une verification avec dig voici ce que j'obtiens:
root@angel:/home/angel# dig mx heaven.loc
; <<>> DiG 9.4.2-P2 <<>> mx heaven.loc
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13627
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;heaven.loc. IN MX
;; ANSWER SECTION:
heaven.loc. 86400 IN MX 10 mail.heaven.loc.
heaven.loc. 86400 IN MX 10 angel.heaven.loc.
;; AUTHORITY SECTION:
heaven.loc. 86400 IN NS mail.heaven.loc.
;; ADDITIONAL SECTION:
mail.heaven.loc. 86400 IN A 192.168.20.235
angel.heaven.loc. 86400 IN A 192.168.20.235
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jan 7 13:16:44 2011
;; MSG SIZE rcvd: 117
normalement l'adresse IP du serveur devrait etre 192.168.20.235#53(192.168.20.235)
mais ce n'est pas le cas, comment faire pour resoudre ce problème?. j'ai relu et relu ma config mais rien. un coup de main SVP. merci
slt, j'ai configure un DNS sous Ubuntu 8.04 avec Bind9, le tout semble marché mais pas comme je veux et je ne sais pas ou se trouve le probleme. Quand je fais une verification avec dig voici ce que j'obtiens:
root@angel:/home/angel# dig mx heaven.loc
; <<>> DiG 9.4.2-P2 <<>> mx heaven.loc
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13627
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;heaven.loc. IN MX
;; ANSWER SECTION:
heaven.loc. 86400 IN MX 10 mail.heaven.loc.
heaven.loc. 86400 IN MX 10 angel.heaven.loc.
;; AUTHORITY SECTION:
heaven.loc. 86400 IN NS mail.heaven.loc.
;; ADDITIONAL SECTION:
mail.heaven.loc. 86400 IN A 192.168.20.235
angel.heaven.loc. 86400 IN A 192.168.20.235
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jan 7 13:16:44 2011
;; MSG SIZE rcvd: 117
normalement l'adresse IP du serveur devrait etre 192.168.20.235#53(192.168.20.235)
mais ce n'est pas le cas, comment faire pour resoudre ce problème?. j'ai relu et relu ma config mais rien. un coup de main SVP. merci
3 réponses
-
Bonjour,
Si tu as exécuté la commande dig sur le serveur DNS lui même c'est normal que l'adresse IP retournée soit 127.0.0.1. Vu qu'il s'interroge lui même.
Bien à toi,
MyTux. -
merci pour ta disponibilité My Tux, le tuto que j'ai utilisé pour ma config dit que l'adresse IP du server devrait etre 192.168.20.235.
j'ai tapé aussi la commade nslookup ça me donne ceci:
#nslookup heaven.loc
server: 127.0.0.1
address: 127.0.0.1#53
name: heaven.loc
address: 192.168.20.235
comment faire? merci -
Bonjour,
Moi aussi lorsque j'effectue la commande nslookup ou dig sur mon serveur dns il me répond avec 127.0.0.1 et c'est normal. Si tu veux te rassurer, il faut que tu fasse cette commande à partir d'un poste client qui utilise ton serveur dns, et ainsi tu verras son adresse IP de ton LAN.
Bien à toi,
MyTux.