flags:
- +qr +noqr toggles the display of the query message as it is sent, By default the query is not printed
- +recurse +norecurse
This option toggles the setting of the RD (recursion desired) bit in the query, this bit is set by default, which means dig normally sends recursive queries. Recursion is automatically disabled when the +nssearch or +trace query option is used
- RA +raflag +noraflag This option sets [or does not set] the RA (Recursion Available) bit in the query, The default is +noraflag, This bit is ignored by the server for QUERY
- +aaonly +noaaonly This option sets the aa flag in the query
commands:
-
dig x.com any +noall +answer
-
dig -x 1.1.1.1 +short