LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-28-2006, 07:20 PM   #1
cowanrl
Member
 
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Rep: Reputation: 15
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.
 
Old 10-30-2006, 02:09 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,201
Blog Entries: 1

Rep: Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059Reputation: 2059
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.
 
Old 10-30-2006, 07:23 AM   #3
cowanrl
Member
 
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is is possible to pull down all DNS zone records? rsmccain Linux - Networking 4 10-04-2006 02:59 PM
What is difference between Domain and Zone in DNS? SandeshN Linux - Networking 1 09-25-2006 05:52 PM
DNS zone file question DanielTan Linux - General 3 09-21-2005 09:52 PM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Need help with DNS zone file please:-) TippyToes Linux - Networking 5 04-28-2004 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration