What happened to nslookup?

Graham Todd gtodd at bellanet.org
Wed Oct 16 15:49:58 UTC 2013


On Wed, 16 Oct 2013, Daniel Kalchev wrote:
>
> On 16.10.13 08:42, Kevin Oberman wrote:
>> 
>> nslookup(1) was deprecated about a decade ago because it often provides 
>> misleading results when used for DNS troubleshooting. It generally 
>> works fine for simply turning a name to an address or vice-versa.
>> 
>> People should really use host(1) for simple lookups. It provides the 
>> same information and does it in a manner that will not cause 
>> misdirection when things are broken.
>
> Of course, host(1) is not a replacement for nslookup(1).
>
> nslookup is interactive, while host is not. This makes for a big 
> difference in many usage scenarios.

The version of nslookup on FreeBSD systems I've used had no command line 
history or editing (even ntpdc has this now), gave results that were not 
always in line with other tools (ldns, drill, host etc.), and to do a host 
lookup inside the nslookup shell you had to type ... "host" :-)



More information about the freebsd-current mailing list