Received 113 bytes from 192.33.14.30#53(b.) in 110 msĭig: couldn’t get address for ‘’: not found >HEADER> DiG 9.6.0-APPLE-P2 > +trace global options: +cmd Stasi$ dig > DiG 9.6.0-APPLE-P2 > (1 server found) If a server is blocking recursion, nslookup provides a rather cryptic answer: Stasi$ dig > DiG 9.6.0-APPLE-P2 > global options: +cmd Here’s an example of responses from nslookup and dig for cnn.com: Dig shows you the entire DNS response message, which can be useful when trying to figure out difficult issues. Basically, it’s like buying a knockoff Gucci handbag: looks the same from a distance, but doesn’t really hold up on close examination. According to Cricket Liu, that Doyen of DNS, nslookup doesn’t actually use your operating system’s resolver library routines, but its own routines which are based upon the resolver ones. I know what you’re thinking, “Well, nslookup works and it’s included with my OS, why should I have to go download and learn yet another tool?” Here’s the good news, if you have a Mac or Linux box, it’s already installed, but a really compelling reason is that nslookup doesn’t always work as expected. So why is everyone still including it if it’s so old and creaky? Probably for the same reason people eat junk food even though they know it will make them fat: change is hard. “Due to its arcane user interface and frequently inconsistent behavior, we do not recommend the use of nslookup. Here are a few reasons why.ĭid you know nslookup (short for name server lookup) is deprecated? That’s right, the command that’s bundled in every version of Windows and many other operating systems is no longer recommended by the company who licensed it, Internet Systems Consortium, distributors of the most prolific DNS server software, BIND. Contrary to popular opinion, it isn’t that I feel a sense of superiority because I’ve learned to use this somewhat intimidating command, but because it really is the better option. As a long-time user of BIND, I usually fall on the floor in an apoplectic fit when I see system or network administrators using the nslookup command instead of dig while troubleshooting DNS problems.
0 Comments
Leave a Reply. |