[afnog] MX record Problem.
Stephane Bortzmeyer
bortzmeyer at nic.fr
Mon May 19 11:52:52 UTC 2008
On Fri, May 09, 2008 at 09:54:19AM -0700,
Maina M Noah <ncmaina2001 at yahoo.com> wrote
a message of 100 lines which said:
> i added a new entry for a new mail server that i had just setup for
> our internal office, however the setting don't seem to be taking
> effect. when i query the name server for the MX records, it returns
> a no answer.
Many things can go wrong: did you added the record to the right file?
Did you reload the name server software? Was the reload successful (of
course, you checked the log, did you?)
> [admin at ns1 named]# dig mx +norec @ns1.domain.com domain.com
Using real domain names would help.
> ;; QUESTION SECTION:
> ;wia.co.tz. IN MX
:-)
> ns1 IN A 192.168.1.2
> ns2 IN A 172.16.1.3
>
> ; Mail Server
> IN MX 10 mail
There is no domain name in the above line, so BIND uses the *last*
entry with a domain name, here ns2. So, you just created a MX for
ns2.wia.co.tz.
More information about the afnog
mailing list