[dns-operations] a note on fetching the root zone using "dig"

Stephane Bortzmeyer bortzmeyer at nic.fr
Thu Nov 1 19:43:35 UTC 2018


On Thu, Nov 01, 2018 at 12:58:58PM +0100,
 Anand Buddhdev <anandb at ripe.net> wrote 
 a message of 27 lines which said:

> IMHO, IDN output should default to off, even if dig is linked against
> libidn, and then whoever wants to see unicode can choose to do so with
> +idnout.

This is a matter of taste and I don't think we will ever have a
consensus here.

For interactive use, I remind people dig reads ~/.digrc at startup
and this is a good place to put the options you like.

% cat ~/.digrc
+bufsize=4096
+dnssec
+multi

For script use, it seems to me that the good practice is to be
explicit (put all the options you rely on). It may be a long list but
you type it only once, and it makes your script both more robust and
better documented.




More information about the dns-operations mailing list