MX record valid for bind?

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

chrismdoyleAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
kevin_uConnect With a Mentor Commented:
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
 
kevin_uCommented:
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
 
chrismdoyleAuthor Commented:
Thanks kevin, since the record is setup with the 2 @'s for the standin's currently, does this still work?
0
All Courses

From novice to tech pro — start learning today.