Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

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

0
chrismdoyle
Asked:
chrismdoyle
  • 2
1 Solution
 
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now