make AAAA type the default for dig

Mark Andrews marka at isc.org
Wed Jun 14 12:10:25 UTC 2017


In message <f165d73a-ef43-a28e-758a-3a509eabc930 at sidn.nl>, "Marco Davids (SIDN)" writes:
> Hi,
>
> Not sure if this has been proposed before, but I am wondering:
>
> Has ISC ever considered to change the default 'dig -t' option from A to
> AAAA?
>
> --
> Marco

This would break too many scripts.  You can do this for yourself
by setting the type in $HOME/.digrc

% cat ~/.digrc
-t AAAA
% dig isc.org
;; BADCOOKIE, retrying.

; <<>> DiG 9.12.0-pre-alpha+hotspot+add-prefetch+marka <<>> isc.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1235
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 3ababe63d14205ae8cec9f7659412776a8b43cb46b335466 (good)
;; QUESTION SECTION:
;isc.org.			IN	AAAA

;; ANSWER SECTION:
isc.org.		6	IN	AAAA	2001:4f8:0:2::69

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 14 22:09:26 AEST 2017
;; MSG SIZE  rcvd: 92

% 

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list