• Home
  • The Song
  • The Avatar
  • The Cat
  • Contact the Cat

Gyp the Cat dot Com

Computers, internet

MX Records, FQDNs, Host Names and Dots

It seems that something as critical as email for the business environment should be protected at all costs, and that too goes for making any changes to said email servers.  Especially when the nature of email is that it can take up to 48 hours for any mistakes you make to a internet facing infrastructure to propagate themselves out.  So knowing what you are doing is vital.

A word of warning…  I’ve seen this mistake happen time and time again (and I’ve been guilty of doing it myself once as well), ALWAYS make sure that your MX records end in a “.” if you’re directing them to another domain name take the following examples for instance.

Example 1

companya.com

mx1.companya.com = 111.111.111.111

mx2.companya.com = 111.222.111.111

MX preference = 10, mail exhanger = mx1

MX preference = 10, mail exchanger = mx2

This example would work if mx1.companya.com and mx2.companya.com both exist and work, and is a nice neat way to maintain email flow when looking through your DNS.  Any email destined for companya.com will be sent to mx1.companya.com or mx2.companya.com automatically.

Example 2

companya.com

MX preference = 10, mail exchanger mx1.emailprovider.com

MX preference = 10, mail exchanger mx2.emailprovider.com

Wouldn’t work!  This is because if there isn’t a dot at the end of the MX record the MTA when trying to send the message will do a DNS looking for mx1.emailprovider.com.companya.com and try to delivery there.

The dot at the end of an mx record tells the MTA it is a FQDN as opposed to a host!

Example 2 – Corrected

companya.com

MX preference = 10, mail exchanger mx1.emailprovider.com.

MX preference = 10, mail exchanger mx2.emailprovider.com.

This would work ok, any MTA trying to send a mail to *@companya.com would relay to the FQDN mx1.emailprovider.com. or mx2.emailprovider.com. and your email should be ok.

Related

Written by gyp - November 2, 2010 - 2877 Views
Tags | dns, internet, mx, smtp

You Might Also Like

Setting up Nginx with Cloudflare

September 19, 2013

10 White Hat SEO Tips for IT Professionals

September 10, 2011

What is xdecrypt.com?

September 16, 2011

No Comment

Please Post Your Comments & Reviews
Cancel reply

Your email address will not be published. Required fields are marked *

Previous Post
Next Post

Latest Posts

  • How to Convert CSV to Parquet Easily with Python on Linux Shell
  • Kusto Geolocation IP Lookup
  • Monitoring Tor Usage in Azure Sentinel, ASC, MDATP and ALA
  • HTTP to HTTPS Redirect on Azure CDN
  • Strongswan IPSec (Including Cryptomap) to Microsoft Azure Virtual Network Gateway
  • Black Ops 3 NAT Type Strict & PS4 NAT Type 3 with pfSense Fixed!
  • Sorry for the lack of posts
  • How to Block Internet Access with Group Policy (GPO)
  • Enforcing Microsoft Office 365 and Azure Tennancy with McAfee Web Gateway (MWG)
  • Scanning Subnet for Issuing Certificate Authority with OpenSSL

Top Posts & Pages

  • How to Block Internet Access with Group Policy (GPO)
    How to Block Internet Access with Group Policy (GPO)
  • How to Configure Windows 2012 NPS for Radius Authentication with Ubiquiti Unifi
    How to Configure Windows 2012 NPS for Radius Authentication with Ubiquiti Unifi
  • Kusto Geolocation IP Lookup
    Kusto Geolocation IP Lookup
  • Tinyproxy A Quick and Easy Proxy Server on Ubuntu
    Tinyproxy A Quick and Easy Proxy Server on Ubuntu
  • Monitoring Tor Usage in Azure Sentinel, ASC, MDATP and ALA
    Monitoring Tor Usage in Azure Sentinel, ASC, MDATP and ALA
  • How to DNSPerf on Ubuntu 14.04 with Installation and Quick Start
    How to DNSPerf on Ubuntu 14.04 with Installation and Quick Start
  • How to Add Different Disclaimers using alterMIME and Postfix based on Domain
    How to Add Different Disclaimers using alterMIME and Postfix based on Domain
  • Blocking Countries on Nginx without the GeoIP Module
    Blocking Countries on Nginx without the GeoIP Module
  • How to Enable Squid Anonymous Stealth Mode
    How to Enable Squid Anonymous Stealth Mode
  • Configuring Suite B, VPN-A and VPN-B in IPSec with Strongswan
    Configuring Suite B, VPN-A and VPN-B in IPSec with Strongswan

Tags

apache2 azure azure log analytics blops business centos cheating cissp cloudflare cryptography dns game google gyp internet iphone ipsec isc linux mac marketing microsoft mw2 mx mysql nginx pfsense postfix proxy ps3 qualification radius revision security seo smtp socks squid ssh strongswan tinyproxy ubuntu windows 2012 wordpress xdecrypt.com
Gyp the Cat dot Com

Some rights retained Gyp the Cat Dot Com