A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
# dig
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> DNS Lookup utility.
|
2021-03-11 22:55:01 +00:00
|
|
|
> More information: <https://manpages.debian.org/buster/dnsutils/dig.1.en.html>.
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Lookup the IP(s) associated with a hostname (A records):
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
2019-05-13 14:33:05 +01:00
|
|
|
`dig +short {{example.com}}`
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
2021-03-11 22:55:01 +00:00
|
|
|
- Get a detailed answer for a given domain (A records):
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
2021-03-11 22:55:01 +00:00
|
|
|
`dig +noall +answer {{example.com}}`
|
|
|
|
|
|
|
|
- Query a specific DNS record type associated with a given domain name:
|
|
|
|
|
|
|
|
`dig +short {{example.com}} {{A|MX|TXT|CNAME|NS}}`
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
2018-02-02 06:43:22 +00:00
|
|
|
- Get all types of records for a given domain name:
|
|
|
|
|
2019-05-13 14:33:05 +01:00
|
|
|
`dig {{example.com}} ANY`
|
2018-02-02 06:43:22 +00:00
|
|
|
|
2018-10-15 23:55:25 +01:00
|
|
|
- Specify an alternate DNS server to query:
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-10 20:36:05 +00:00
|
|
|
|
2019-05-13 14:33:05 +01:00
|
|
|
`dig @{{8.8.8.8}} {{example.com}}`
|
2016-08-13 05:01:26 +01:00
|
|
|
|
|
|
|
- Perform a reverse DNS lookup on an IP address (PTR record):
|
|
|
|
|
2018-02-02 06:43:22 +00:00
|
|
|
`dig -x {{8.8.8.8}}`
|
2017-01-11 15:20:26 +00:00
|
|
|
|
|
|
|
- Find authoritative name servers for the zone and display SOA records:
|
|
|
|
|
2019-05-13 14:33:05 +01:00
|
|
|
`dig +nssearch {{example.com}}`
|
2018-02-02 06:43:22 +00:00
|
|
|
|
|
|
|
- Perform iterative queries and display the entire trace path to resolve a domain name:
|
|
|
|
|
2019-05-13 14:33:05 +01:00
|
|
|
`dig +trace {{example.com}}`
|