Default query type of dig

Scott Bertilson ssb at
Wed Jun 25 16:30:09 UTC 2014

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

On Wed, Jun 25, 2014 at 10:10 AM, Barry Margolin <barmar at>

> In article <mailman.432.1403708745.26362.bind-users at>,
>  "Dominik Mahrer (Teddy)" <teddy at> wrote:
> > Hi all,
> >
> > By default dig has a query type of A-records. Because I more and more
> > work with IPv6 I would like to change the default behaver of dig to a
> > query type of AAAA-records. Can this easily be done (I did not find a
> > switch for .digrc nor another option) or is there a source code change
> > needed?
> Dig isn't customizable, AFAIK. Use an alias/shell function.
> --
> Barry Margolin
> Arlington, MA
> _______________________________________________
> Please visit to
> unsubscribe from this list
> bind-users mailing list
> bind-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bind-users mailing list