Help re: MX record

Michael Voight mvoight at cisco.com
Wed Jun 2 19:43:13 UTC 1999



"David T. Smith" wrote:
> 
> At 04:47 PM 6/2/99 GMT, sabbah22 at my-deja.com wrote:
> >
> >Well, for ourdomain.net, which is one of 5 files for 3 subdomains our
> >DNS handles, the file contains one MX record as follows:
> >
> >*      IN   MX   10    Mail
> 
> This may be your problem.  The wildcard in the above line will expand to:
> 
> *.ourdomain.net IN MX 10 Mail.ourdomain.net
> 
> which will supply an MX response for all names within the ourdomain.net
> zone, but _not_ for the zone itself.  To get an MX record for the
> ourdomain.net zone (so that user at ourdomain.net gets resolved),
> you need to have a record like the following:
> 
> @       IN MX 10 Mail
> 
>   which will expand to
> ourdomain.net. IN MX 10 Mail.ourdomain.net.
> 

Or simply forget the expansion and enter the full name or a space in
thar position if the previous entry was another type of record for
ourdomain.net.

Like:
@   IN SOA (then the SOA stuff) 
    IN NS ns1.ourdomain.net.
    IN MX 10 mail.ourdomain.net

Michael



More information about the bind-users mailing list