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

Re: probleme mail & dns



Le 13523ième jour après Epoch,
Remi Suinot écrivait:

> bonjour et Bonne Année!
>
> J"ai un dernier soucis avec mon serveur et mon nom de domaine.
> Exim est correctement configuré,
> mais quand je veux m'envoyer un mail,
> j'ai systematiquement cette réponse:
>
> <remi@suinot.org>: Host or domain name not found. Name service error for
>     name=mail.suinot.org type=A: Host not found
>
> pourtant, dig me donne bien un type A pour mon nom de domaine:
>
> ;; QUESTION SECTION:
> ;mail.suinot.org.               IN      A
>
> ;; ANSWER SECTION:
> mail.suinot.org.        86400   IN      A       81.56.179.119
>
> Alors, j'ai merdouiollé ou?
> quelqu'un a une piste?

Oui. Je pense que tu as un souci avec les DNS:

francois@mersenne:~$ whois suinot.org
[...]
Name Server:NS7.GANDI.NET
Name Server:CUSTOM2.GANDI.NET
[...]

Donc Gandi est ton DNS.

francois@mersenne:~$ dig suinot.org mx
[...]
;; QUESTION SECTION:
;suinot.org.                    IN      MX

;; ANSWER SECTION:
suinot.org.             28800   IN      MX      0 mail.suinot.org.
[...]

Mais GANDI ne sait pas qui est mail.suinot.org, sinon il l'aurais mis,
alors que toi:

francois@mersenne:~$ dig @81.56.179.119 suinot.org mx 
[...]
;; QUESTION SECTION:
;suinot.org.                    IN      MX

;; ANSWER SECTION:
suinot.org.             86400   IN      MX      10 mail.suinot.org.

;; AUTHORITY SECTION:
suinot.org.             86400   IN      NS      master.suinot.org.

;; ADDITIONAL SECTION:
mail.suinot.org.        86400   IN      A       81.56.179.119
master.suinot.org.      86400   IN      A       81.56.179.119
[...]

Du coup, comme tu fais la commande host de chez toi, et que ton
resolv.conf fait probablement référence à ton DNS local, tu n'y vois
que du feu :)



Reply to: