LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kdig

advanced DNS lookup utility from the Knot DNS project

TLDR

Query A record
$ kdig [example.com] A
copy
Query specific server
$ kdig [example.com] @[8.8.8.8]
copy
Query using TCP
$ kdig +tcp [example.com]
copy
Query using TLS (DoT)
$ kdig +tls [example.com] @[1.1.1.1]
copy
Perform zone transfer
$ kdig [example.com] AXFR @[ns1.example.com]
copy
Query with DNSSEC validation
$ kdig +dnssec [example.com]
copy
Reverse DNS lookup
$ kdig -x [192.0.2.1]
copy

SYNOPSIS

kdig [common-settings] [query...]

DESCRIPTION

kdig is an advanced DNS lookup utility from the Knot DNS project. It supports modern DNS protocols including DNS over TLS (DoT) and DNS over HTTPS (DoH). Provides more features than traditional dig for DNS troubleshooting and testing.

PARAMETERS

@server

Nameserver to query.
-t type
Query type (A, AAAA, MX, NS, etc.).
-x address
Reverse lookup for IP address.
+tcp
Use TCP instead of UDP.
+tls
Use TLS (DNS over TLS).
+https
Use HTTPS (DNS over HTTPS).
+dnssec
Request DNSSEC records.
+short
Display short output.

INSTALL

sudo apt install knot-dnsutils
copy
sudo dnf install knot-utils
copy
sudo apk add knot-utils
copy
sudo zypper install knot-utils
copy

SEE ALSO

dig(1), host(1), nslookup(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid