do i need MX records for subdomains?

David Botham DBotham at OptimusSolutions.com
Mon Nov 15 15:51:43 UTC 2004


bind-users-bounce at isc.org wrote on 11/11/2004 07:08:26 AM:
> Hi
> 
> i have a domain domain1.com
> 
> to be able to receveive emails sent to 
> user at subdomain.domain1.com
> 
> what i need to do in DNS is to create 
> a subdomain entry for domain1.com
> like...
> subdomain.domain1.com IN A xxx.xxx.xxx.xxx
> 
> Right???

If the only data you need in subdomain.domain1.com are the MX RR's, then 
you do not need to create / delegate a seperate domain.  In the 
domain1.com zone db file, do this:


subdomain       IN      MX 10 mailex1.somedomain.com.
subdomain       IN      MX 20   mailex2.someotherdom.com.


Now, mail addressed as specified above will go to the two mail servers 
listed in these MX RR's.


hth,

Dave...



[clip...]



More information about the bind-users mailing list