Difference between revisions of "DNS Info"

From TheBestLinux.com
Jump to navigation Jump to search
Line 1: Line 1:
= DNS =
 
 
== Email DNS MX Record Setup Example Using RCModelHelis.com DNS Info for GoDaddy.com DNS Server Setup Configuration ==
 
== Email DNS MX Record Setup Example Using RCModelHelis.com DNS Info for GoDaddy.com DNS Server Setup Configuration ==
  
Line 21: Line 20:
 
<br />
 
<br />
 
<pre style="color:blue">
 
<pre style="color:blue">
dig +short A $(dig +short MX example.com | head -1 | cut -d' ' -f2)
+
dig +short A $(dig +short MX rcmodelhelis.com | head -1 | cut -d' ' -f2)
 
</pre>
 
</pre>
 
<br />
 
<br />

Revision as of 01:29, 26 September 2014

Email DNS MX Record Setup Example Using RCModelHelis.com DNS Info for GoDaddy.com DNS Server Setup Configuration

Steps to setup the Email MX DNS record allowing mail to flow to the server: (Using My New VM Host vm1.rcmodelhelis.com)

For all 3 steps below, set TTL(Time To Live) to 600 seconds
and DO NOT include the quotes in the examples:

  • Create DNS "A" Redord "vm1" which points to IP "198.56.248.58"
  • Create DNS "CName" Alias Redord "mail" which points to "vm1.rcmodelhelis.com"
  • Create DNS "MX" Record "@" which points to "mail.rcmodelhelis.com" with Highest Priority set to "0" (Lower number = higher priority)

    Save all DNS redords for changes to take effect, which is usually instant from past experience with the above examples. Others may take longer.

    Check and test your MX record setup/configuration from the command line on your new email server:
    dig +short A $(dig +short MX rcmodelhelis.com | head -1 | cut -d' ' -f2)
    


    If the result of this command is the IP address of your server, you are good to go!.
    If it is not, check the MX records of your domain DNS zone. Also, be sure you have waited long enough for the changes to spread through the internet.
    This can take up to 24 hours. Also make sure your /etc/resolv.conf file is listing valid DNS servers.