Make dig print all query parameters
In recent weeks, I have gotten confused twice by dig's behaviour. Please see issues #1816 and #2054. In both of these case, dig was doing something I hadn't expected. One was a bug, and the other a change in default behaviour that I wasn't aware of. The problem is that dig doesn't show the user all the query parameters. It shows flags explicitly set by the user with the +cmd flag, but not the defaults. Additionally, a .digrc file can change dig's behaviour without it being obvious.
It would be really cool if dig would display all the query parameters, such as transport (UDP/TCP), EDNS in use or not, and which extended options have been set, and to what values. When a user sees this, they can better understand why a server responded in a certain way. It's also clear to them what defaults dig is using for some EDNS options. With more and more EDNS options appearing, and dig setting some to OFF and some to ON by default, and sometimes changing these defaults between releases, it's becoming very confusing for a user. I have to constantly keep going back to the man page to see what the default is, and whether it has changed. But by printing all the attributes clearly, it would make a user's life much easier.