LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Configure DNS zone file for MX records outside of domain (https://www.linuxquestions.org/questions/linux-networking-3/configure-dns-zone-file-for-mx-records-outside-of-domain-496476/)

cowanrl 10-28-2006 07:20 PM

Configure DNS zone file for MX records outside of domain
 
I'm using bindd on Red Hat 9 for our DNS server. We are starting to use SpamSoap for our spam service and I'm having trouble configuring the MX records in the zone file.

The MX record for our domain are now supposed to be lauttamus.com.inbound25.mxlogic.net

I entered an MX record in the zone file for lauttamus.com like this:

@ IN MX 25 lauttamus.com.inbound25.mxlogig.net

However, when that propogated throughout the Internet, the MX record returned is

lauttamus.com.inbound25.mxlogig.net.lauttamus.com

I changed the MX record in the zone file to


@ IN MX 25 lauttamus.com.inbound25.mxlogig.net.

adding a period to the end of the line. It hasn't had time to propogate through the Internet yet but when I query directly to the DNS server it just returns the list of root name servers.

Can anyone tell me what is the proper syntax in the zone file for MX records for mail servers outside of the domain?

Thanks for your help.

bathory 10-30-2006 02:09 AM

The proper syntax is:
Code:

MX 25 lauttamus.com.inbound25.mxlogig.net.
Don't forget to increase the serial and restart/reload dns.
Looking at dnsreport it seems it works
Regards

cowanrl 10-30-2006 07:23 AM

Thanks.

Incoming e-mail is working OK and a general request using the Win version of nslookup shows the proper MX records. However, a direct request to the DNS server for the MX records using the Win version of nslookup just returns a list of the root DNS servers.
Maybe the Win version of nslookup presents the request to the DNS server as a zone transfer. If that's the case, only the secondary DNS server is authorized for zone transfers and the request fails.

Anyhow, it works now and that's all that matters. Thanks for your reply.


All times are GMT -5. The time now is 09:58 AM.