LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-13-2004, 02:12 PM   #1
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Rep: Reputation: 15
DNS for Mail


Hi all,
I was wondering if anyone could point me to some good how-to articles that deal specifically with DNS configuration as it relates to mail routing. I know there is a DNS-howto, but I was looking for something a little more specific.

Thanks!
-Pair
 
Old 01-13-2004, 03:06 PM   #2
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Rep: Reputation: 30
O'reilly's DNS and Bind.

BAAMMM!
 
Old 01-13-2004, 03:25 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
DNS & BIND is excellent.

For "mail routing" (at least, from the Internet) all you need is at least one MX record.

yourdomain.tld. IN MX 20 yourmailserver.yourdomain.tld.

The "20" is the preference. The higher the preference number, the less preferred it is. The lower the number, the more preferred. Other mail servers will start at the lowest number and try each listed MX in ascending order until they find one that will take the mail (roughly speaking, it's actually more complicated than that, but you can assume that it works the way I said and you'll be OK).
 
Old 01-13-2004, 03:48 PM   #4
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Original Poster
Rep: Reputation: 15
That was kinda what I was thinking, but don't you need PTR records for servers that do reverse DNS? What about an A record?

Pair

Quote:
Originally posted by chort
DNS & BIND is excellent.

For "mail routing" (at least, from the Internet) all you need is at least one MX record.

yourdomain.tld. IN MX 20 yourmailserver.yourdomain.tld.

The "20" is the preference. The higher the preference number, the less preferred it is. The lower the number, the more preferred. Other mail servers will start at the lowest number and try each listed MX in ascending order until they find one that will take the mail (roughly speaking, it's actually more complicated than that, but you can assume that it works the way I said and you'll be OK).
 
Old 01-13-2004, 06:21 PM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Well how are they going to resolve the IP of "yourmailserver.yourdomain.tld" without an A record??? Of course you need an A record! As for PTR records, they're not strictly required, but they certainly are polite. Every IP should have a PTR record.
 
  


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
DNS/E-Mail Matir Linux - Software 1 02-16-2005 10:24 AM
The best way to do, Apache, DNS, Mail etc... dlublink Linux - Networking 9 02-05-2005 09:21 PM
Testing dns and mail gubak Linux - Networking 15 12-16-2004 07:47 AM
Question about mail and DNS WeNdeL Linux - General 2 06-22-2004 11:38 AM
DNS and Mail Maintainence Nezar Linux - Networking 1 07-05-2001 07:02 AM


All times are GMT -5. The time now is 07:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration