Improve company productivity with a Business Account.Sign Up

x
?
Solved

MX record valid for bind?

Posted on 2009-07-01
3
Medium Priority
?
374 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 2000 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

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article I will be showing you how to subnet the easiest way possible for IPv4 (Internet Protocol version 4). This article does not cover IPv6. Keep in mind that subnetting requires lots of practice and time.
Have a Cisco router that you forgot the password or maybe you bought a used router that is locked with a password? This article will guide you through the steps on how to recover the password on your Cisco gear.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

595 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