From d439e9cefc599e8b904d9fa46305899a1b150a98 Mon Sep 17 00:00:00 2001 From: Shubham Kshetre Date: Sun, 2 Oct 2022 11:29:59 +0530 Subject: [PATCH] adig: add page (#8602) --- pages/linux/adig.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/adig.md diff --git a/pages/linux/adig.md b/pages/linux/adig.md new file mode 100644 index 0000000000..7f66419e99 --- /dev/null +++ b/pages/linux/adig.md @@ -0,0 +1,24 @@ +# adig + +> Prints information received from Domain Name System (DNS) servers. +> More information: . + +- Display A (default) record from DNS for hostname(s): + +`adig {{example.com}}` + +- Display extra [d]ebugging output: + +`adig -d {{example.com}}` + +- Connect to [s]pecified DNS server: + +`adig -s {{1.2.3.4}} {{example.com}}` + +- Use specified TCP port to connect to DNS server: + +`adig -T {{port}} {{example.com}}` + +- Use specified UDP port to connect to DNS server: + +`adig -U {{port}} {{example.com}}`