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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
kevin_uCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.