Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MX record entry into DNS

Status
Not open for further replies.

paulh1111

Technical User
Jun 9, 2003
19
US
I running a website and I have someone taking care of my DNS stuff. I installed exchange on the server and would like to make MX entries, but not sure what to put.
Thanks.
p
 
How about the IP address of your mail server?

Chris.


**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
IP address is behind firewall/router/switch. 192.168.0.3. The person who is doing my dns sent me a file and told me to fill it in. Here is a copy of that file. Right now the fine. Just need to add mx info:

$ORIGIN fsshq.com.
@ IN SOA ns1.webnetpublishing.com. dns.webnetpublishing.com.
( 200205162 ;serial
10800 ;refresh after 3 hours
3600 ;retry after 1 hour
604800 ;expire after 1 week 60) ;minimum TTL of 1 day
;
; vDNS Nameservers
;
IN NS ns1.webnetpublishing.com. ; ns1.vDNS
IN NS ns2.webnetpublishing.com. ; ns2.vDNS
;
; vDNS Domain Mail Handlers
;
fsshq.com. IN MX 0 12.253.31.234
fsshq.com. IN MX 10 12.253.31.234
;
;
; vDNS Hosts in order
;
fsshq.com. IN A 12.253.31.234
www IN A 12.253.31.234
pop IN A 12.253.31.234
smtp IN A 12.253.31.234
ftp IN A 12.253.31.234
;
; end

I think I'm supposed to fill in the gaps.
Thanks
 
Looks like he's already filled it on for you ... badly! He has put two MX records in ...

fsshq.com. IN MX 0 12.253.31.234
fsshq.com. IN MX 10 12.253.31.234

... but there are two problems with this.

1. MX records should be hostnames and not IP addresses. What you now have for an MX record is

fsshq.com. 60 MX 0 12.253.31.234.fsshq.com.

The host or domain "12.253.31.234.fsshq.com." does not exist

2. Why would you have two records that point to the same IP address. The whole point of a backup MX record is that if the first is down, mail can be spooled on the second.

Your MX record should look something like

fsshq.com. IN MX 0 mail

mail IN A 12.253.31.234

Chris.




**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top