Cannot set MX of other server on my domain

Farhan asked:

in bind, i am trying to set MX servers for my domain, but i get the appended to the MX server. i do now know how to avoid it.

here is my entry in MX zone file    120 IN  MX  10    120 IN  MX  20

But when do a DIG MX of, i get this:          120     IN      MX      10          120     IN      MX      20

How to avoid it?

My answer:

You forgot to put the dot . at the end of your FQDN.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.