Default query type of dig

Sam Wilson Sam.Wilson at ed.ac.uk
Wed Jun 25 17:14:17 UTC 2014


In article <mailman.434.1403713820.26362.bind-users at lists.isc.org>,
 Scott Bertilson <ssb at umn.edu> wrote:

> Don't know if you can control the default query type, but this is a RTFM
> (see "man dig"):
> 
> It is possible to set per-user defaults for dig via ${HOME}/.digrc. This
> file is read and any options in it are applied before the command line
> arguments.

You can put '-t aaaa' in .digrc and dig will default to AAAA queries.  
Unfortunately in the version I have this also overrides the default PTR 
type for -x queries.  Other queries seem to work fine. (DiG 9.8.5-P1, 
supplied with Mac OS X 10.8).

Sam

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


More information about the bind-users mailing list