Please stop using nslookup, it is a terrible tool. Use dig instead. #dns

@tykling absolutely right, and the reason why I had 1000 of these printed to distribute on conferences.

Stupid coincidence: the printing was completed when we were all locked down (2020) so I have something like 987 of these left over.

@jpmens wanna send me some? I'll happily put them out during conferences :D

@tykling

@jelu let me know your postal address, and I'll gladly do so
@tykling
Can you elaborate why?
I use nslookup if I want to see if I screwed up my DNS config and dig to see what specific servers do
@dbauer @tykling Why? It is not a real pure DNS client, as it will happily use content of /etc/resolv.conf for search lists and what not. It is also FAR behind in terms of pure DNS features, like EDNS. Recent dig do also have DoT / DoH support. More importantly: the authors of it tell you it is deprecated.
@pmevzek
I specifically want to see if I have screwed up my local DNS config by either using a local DNS server or /etc/hosts
@tykling
@dbauer @tykling Testing local DNS config (or I will say "local resolution config" because names can be resolved in many ways, static /etc/hosts being one) is related but slightly different from testing DNS (purely) by doing DNS queries. To test local resolution config I would advise more towards using `getent ahosts` or `resolvectll`. Or any language piggybacking `gethostbyname` and similar libc endpoints.

@tykling @jpmens

When it fails to do what I need, yeah, I turn to other tools, but it's the only thing available on most Windows boxes, so I have decades of muscle-memory/-baggage behind my continued use. 😕

@tykling 100% agree but usually people having learnt DNS 20 years ago will reply back with: "but nslookup exists by default in Windows, and not dig, so...".
@tykling Hard agree but it’s difficult for Windows users since BIND abandoned support for the platform. “Just use WSL” isn’t really a solution particularly in corporate environments. I’m still clinging on to my Windows-native copy of 9.17.5. But it’s eventually going to stop being useful as newer versions leave it behind.
@tykling there's nothing like a +short dig