MX pointing to an IP address

Mathias Körber mathias at koerber.org
Mon Jan 15 16:30:47 UTC 2001


> Using an IP address instead of a hostname will *not* result in an =
error
> from the DNS server at load time.  Syntactically, an MX record =
pointing to
> an address is valid (assuming he puts in the preference level that he
> accidentally left out above), so named won't complain.  But most =
mailers
> will.

Syntactically, yes. But it does not mean that IP address, but would be
translated into a name under is $ORIGIN (missing '.' at the end !):

	$ORIGIN mydomain.com.
	hostb IN MX 10 204.5.6.7
                  ^^priority!

will result in:

	hostb.mydomain.com. IN MX 10 204.5.6.7.mydomain.com

which most likely does not exist, and definitely is not what
he wants..






More information about the bind-users mailing list