APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Lazy DNS (answer)

© October 2007 Anthony Lawrence

This is the answer to Lazy DNS

I told him to do this:

MX Records

That is, simply add a "." after "xyz.com". If you have ever edited DNS files manually, you know why I smiled and why I titled this "Lazy DNS": at the text file level, if you leave off the period from a definition like this, the assumption is that the base domain name needs to be tacked on. So this DNS tool is "lazy" : it expects the MX records to be formatted exactly as they need to be put in the raw file. Any halfway decent programmer would have done minimal checking and reformatting to easily avoid this error by the user, but that checking does not exist here.

This of course fixed the problem after the records propagated:

$ dig +short xyz.com mx
10 mail.xyz.com.
20 mail2.xyz.com.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> Lazy DNS (answer)


Inexpensive and informative Apple related e-books:

Take Control of Automating Your Mac

Take Control of Apple Mail, Third Edition

Take control of Apple TV, Second Edition

Take Control of iCloud, Fifth Edition

Take Control of the Mac Command Line with Terminal, Second Edition

More Articles by © Anthony Lawrence

Wed Oct 3 15:26:28 2007: 3182   BigDumbDinosaur

Forgetting that trailing period is actually fairly common. I have fixed a number of DNS problems over the years because of that seemingly trivial oversight. <Grin>

Wed Oct 3 15:36:03 2007: 3183   TonyLawrence

I'm sure almost all of us have made that mistake - but it shouldn't happen with a GUI tool.

Thu Oct 4 14:19:23 2007: 3184   BigDumbDinosaur

Ya won't get any argument from me on that score.


Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

A Perl script is "correct" if it gets the job done before your boss fires you. (Larry Wall)

Linux posts

Troubleshooting posts

This post tagged:







Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode