LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2010, 06:49 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Rep: Reputation: 31
MX record in DNS server.


Hi,
I am going to configure sentmail server i.e[root@mailserver ~] on Red Hat Linux 4 Enterprise.Already I have configured DNS server. I want to add record of my mail server in my DNS server.Kindly just guide me that what

Code:
$TTL	86400
@	IN SOA	ns1.mydomain.com. root.localhost	(
	42		; serial   (d.    admin)
	3H		;refresh
	15M		;retry
	1W		;expire
	1D		;minimum

	IN   NS	ns1.mydomain.com. 
	IN   MX 10 mailserver.mydomain.com.
        
ns1          IN   A     192.168.1.254
mailserver   IN   A     192.168.1.251
pc1	     IN   A	192.168.1.1
localhost.   IN   A	127.0.0.1
My Reverse Zone file is

Code:
$TTL	86400
$ORIGIN	1.168.192.in-addr.arpa

@	IN SOA ns1.mydomain.com.	admin.mydomain.com (
	20100722	;serial   (d.    admin)
	3H		;refresh
	15M		;retry
	1W		;expire
	1D		;minimum

         IN   NS	ns1.mydomain.com.
         IN   MX        mailserver.mydomain.com.
	        
254.1.168.192.in-addr.arpa.     IN     PTR ns1.mydomain.com.
251.1.168.192.in-addr.arpa.     IN     PTR mailserver.mydomain.com.
1.1.168.192.in-addr.arpa.       IN     PTR pc1.mydomain.com.
By viewing the both forward and reverse zone file Kindly just guide me for my mail server entries are correct in DNS server ?

thanks in advance
mypass

Last edited by gardenair; 10-08-2010 at 06:56 AM.
 
Old 10-08-2010, 07:19 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,518

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
Hi,

You don't need a MX record in the reverse zone.
Other than that everything is OK

Regards
 
1 members found this post helpful.
  


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
zone record on remote dns server asim.mcp Programming 2 12-13-2009 01:04 PM
Reverse DNS: Why is the record on the datacenter DNS server instead? Swakoo Linux - Networking 2 09-20-2007 05:42 AM
Update The DNS Server Record Dynamicaly javabb Linux - Software 1 01-05-2005 03:59 PM
Problem in update The DNS Server Record Dynamically javabb Linux - Newbie 1 01-05-2005 03:58 PM
Problem in Update The DNS Server Record Dynamicaly javabb Linux - Networking 0 01-05-2005 05:49 AM


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