3 ms·
> Using dig is as simple as specifying a server to query, the record type you want to look for, and the FQDN it should be associated with. While this works, th
by teddyh 6y ago
> Using dig is as simple as specifying a server to query, the record type you want to look for, and the FQDN it should be associated with.
While this works, the canonical (documented) syntax is “dig <name> <type>”, i.e. “dig @127.0.0.1 example.tld NS”. Or, for safety when scripting, use the “-t <type>” and “-q <name>” options to avoid accidental ambiguity.