by teddyh · 4y ago · 0 comments
dig -q ch -t NS
instead of dig ch NS
Using the options eliminates any possibility of misinterpretations like this. dig ch NS IN +short
dig -q ch -t NS -c IN +short
dig uk NS IN +short
dig -q uk -t NS -c IN +short
Only when using the first form do you get a comment ";; Warning, extra class option" and the incorrect results. So even when using the full pattern of un-argumented options as outlined in the man page, it fails to work as expected specifically for ch.