Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-28-2006, 07:20 PM
|
#1
|
Member
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150
Rep:
|
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.
|
|
|
10-30-2006, 02:09 AM
|
#2
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,201
|
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
Last edited by bathory; 10-30-2006 at 02:12 AM.
|
|
|
10-30-2006, 07:23 AM
|
#3
|
Member
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150
Original Poster
Rep:
|
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 12:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|