LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-25-2009, 02:15 PM   #1
aj10001
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Understanding MX records


Howdy,

I'm fairly new to the topic of DNS and i'm having trouble getting my head around the concept of MX records. I am using fedora 9.

Let's assume that i have a the following lines in my /var/named/chroot/etc/named.conf file :

zone "astudent.com" IN {
type master;
file "astudent.zone";
};

Then some of the records in my astudent.zone file are as follows:

IN SOA ns.astudent.com. root.astudent.com.


IN NS ns
IN MX 0 mail
localhost IN A 127.0.0.1
gateway IN A 192.168.176.1
server IN A 192.168.176.100
ns IN A 192.168.176.100
mail IN A 192.168.176.100
www IN CNAME server


Question 1: I have set up everything properly so that users on my system can receive email at user@astudent.com, what kind of MX record would i need to create so that mail addressed to users @astudent.com is delivered to mail.astudent.com. ?

Question 2: What would i need to do so that the mail server running on my machine should receive mail for the domain name (astudent.com), as well as the name mail.astudent.com ?

Thanks for any help in advance,

Cheers,

Aj.
 
Old 05-26-2009, 07:01 AM   #2
david1941
Member
 
Registered: May 2005
Location: St. Louis, MO
Distribution: CentOS7
Posts: 267

Rep: Reputation: 58
Your SOA should probably be astudent.com as that seems to be the zone you are describing.

If so, the mail would then be sent to 192.168.176.100 for any user at astudent.com. That means your machine is 192.168.176.100?\

Dave

PS As these are all private addresses, no one outside your net would have access to your server.

Last edited by david1941; 05-26-2009 at 07:15 AM. Reason: added the PS
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MX Records Brandon.Wamboldt Linux - Server 2 05-04-2009 03:50 PM
Reading caller detail records(CDR ) records eliufoo Linux - Networking 2 12-16-2008 11:31 PM
RE: Our records indicate... xanderfoxx LinuxQuestions.org Member Intro 1 10-13-2007 09:10 PM
DNS Zone Records - MX Records ddzc Linux - Software 8 05-24-2007 01:26 PM
1+0 records in how to disiable in DD command "1+0 records out" Kotresh Linux - Software 3 03-08-2007 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:01 AM.

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