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.