Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

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

share|improve this answer
thanks a lot :). – Farhan Jul 14 '14 at 2:34

In a master zone file, any field that contains a name is considered relative to the current origin unless it includes the trailing dot (indicating an absolute name).

In BIND the origin is set to the zone name by default but this can be overridden any number of times using the $ORIGIN directive.

<domain-name>s make up a large share of the data in the master file. The labels in the domain name are expressed as character strings and separated by dots. Quoting conventions allow arbitrary characters to be stored in domain names. Domain names that end in a dot are called absolute, and are taken as complete. Domain names which do not end in a dot are called relative; the actual domain name is the concatenation of the relative part with an origin specified in a $ORIGIN, $INCLUDE, or as an argument to the master file loading routine. A relative name is an error when no origin is available.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.