How To Install Host On Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian?

How To Install Host On Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian?

host

Lookup Domain Name Server.

Maintainer: Debian DNS Team



Section: net

Install host

  • Debian apt-get install bind9-host Click to copy
  • Ubuntu apt-get install bind9-host Click to copy
  • Arch Linux pacman -S bind9-host Click to copy
  • Kali Linux apt-get install bind9-host Click to copy
  • CentOS yum install bind9-host Click to copy
  • Fedora dnf install bind9-host Click to copy
  • Raspbian apt-get install bind9-host Click to copy

Lookup Domain Name Server.

How to use host?

Below are few example commands for host that you can use in the terminal.

Lookup A, AAAA, and MX records of a domain:
host domainClick to copy
Lookup a field (CNAME, TXT,...) of a domain:
host -t field domainClick to copy
Reverse lookup an IP:
host ip_addressClick to copy
Specify an alternate DNS server to query:
host domain 8.8.8.8Click to copy
Installing host command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of host 2024 package in your OS.