Solved

MX record valid for bind?

Posted on 2009-07-01
3
361 Views
Last Modified: 2012-05-07
I'm new to BIND and hosts files. Basically, I'm wondering if the following MX value in the testerdns2.info.hosts file is valid? It appears to be working fine when I perform a dig on it:

dig testerdns2.info MX

Please note the notation I used for the MX server though:

@      IN      MX      5 @

Is this in reality, the exact same as @ IN MX 5 testerdns.info.  ?

$ttl 60
testerdns2.info.	IN	SOA	ns1.smg-dns.com. chris.sunshinemediagroup.com. (
			1246484857
			60
			1801
			604800
			60 )
testerdns2.info.	IN	NS	ns1.smg-dns.com.
@	IN	NS	ns2.smg-dns.com.
@	IN	MX	5 @
subdomain.testerdns2.info.	IN	A	127.0.0.1
subdomain2.testerdns2.info.	IN	A	127.0.0.2
subdomain3.testerdns2.info.	IN	A	127.0.0.3
subdomain4.testerdns2.info.	IN	A	127.0.0.4

Open in new window

0
Comment
Question by:chrismdoyle
  • 2
3 Comments
 
LVL 12

Expert Comment

by:kevin_u
ID: 24759983
while that "works", since @ is a standin for the domain, I'd probably spell it out.
If I were doing it I'd also set up a separate mail server hostname, and appropriate IP.  Its just more flexible for the future.
0
 

Author Comment

by:chrismdoyle
ID: 24760170
Thanks kevin, since the record is setup with the 2 @'s for the standin's currently, does this still work?
0
 
LVL 12

Accepted Solution

by:
kevin_u earned 500 total points
ID: 24760235
It should function, it is possible that some mailers might be too picky.

Does mail work from gmail? if so, i wouldn't worry too much.

Kevin


0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question