This utility sends one or more DNS queries to a nameserver. Each query can have individual settings, or it can be specified globally via common-settings, which must precede query specification.
If no arguments are provided, kdig sends NS query for the root zone.
Options -k and -y can not be used simultaneously.
Missing features with regard to ISC dig:
Options -f and -m and query options: +split=W, +tries=T, +ndots=D, +domain=somename, +trusted-key=####, +[no]fail, +[no]vc, +[no]search, +[no]showsearch, +[no]defname, +[no]aaonly, +[no]cmd, +[no]identify, +[no]comments, +[no]rrcomments, +[no]onesoa, +[no]besteffort, +[no]sigchase, +[no]topdown, +[no]nssearch, and +[no]trace.
Per-user file configuration via ~/.digrc.
Get A records for example.com:
$ kdig example.com A
Perform AXFR for zone example.com from the server 192.0.2.1:
$ kdig example.com -t AXFR @192.0.2.1
Get A records for example.com from 192.0.2.1 and reverse lookup for address 2001:DB8::1 from 192.0.2.2. Both using the TCP protocol:
$ kdig +tcp example.com -t A @192.0.2.1 -x 2001:DB8::1 @192.0.2.2
/etc/resolv.conf
khost(1), knsupdate(1).