host
Lookup Domain Name Server. More information: <https://manned.org/host>.
Install
- All systems
-
curl cmd.cat/host.sh
- Debian
-
apt-get install bind9-host
- Ubuntu
-
apt-get install bind9-host
- Arch Linux
-
pacman -S bind9-host
- Kali Linux
-
apt-get install bind9-host
- CentOS
-
yum install bind9-host
- Fedora
-
dnf install bind9-host
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install bind9-host
- Raspbian
-
apt-get install bind9-host
- Dockerfile
- dockerfile.run/host
Lookup Domain Name Server. More information: <https://manned.org/host>.
-
Lookup A, AAAA, and MX records of a domain:
host domain
-
Lookup a field (CNAME, TXT,...) of a domain:
host -t field domain
-
Reverse lookup an IP:
host ip_address
-
Specify an alternate DNS server to query:
host domain 8.8.8.8
© tl;dr; authors and contributors