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. On Wed, Jun 25, 2014 at 10:10 AM, Barry Margolin <bar...@alum.mit.edu> wrote: > In article <mailman.432.1403708745.26362.bind-us...@lists.isc.org>, > "Dominik Mahrer (Teddy)" <te...@teddy.ch> 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 https://lists.isc.org/mailman/listinfo/bind-users to > unsubscribe from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users >
_______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users