unbound-host
TLDR
Look up a hostname
SYNOPSIS
unbound-host [options] hostname
DESCRIPTION
unbound-host performs DNS lookups using the Unbound resolver library. It provides DNSSEC validation capabilities, showing whether responses are secure, insecure, or bogus (failed validation).
By default, the tool queries root servers directly without reading system configuration. The -r option uses resolvers from /etc/resolv.conf, though this may break DNSSEC validation if those servers don't support it.
Validation status in verbose mode shows: secure (cryptographically validated), insecure (no DNSSEC for domain), or bogus (validation failed, possible tampering).
PARAMETERS
-v
Verbose output with DNSSEC validation status.-t type
Query specific record type (A, AAAA, MX, TXT, etc.).-c class
Query specific class (IN, CH, HS).-r
Read /etc/resolv.conf for DNS servers.-f server
Use specified DNS server.-C file
Use unbound configuration file.-y key
Specify trust anchor for DNSSEC validation.-4
Use IPv4 only.-6
Use IPv6 only.-D
Enable DNSSEC validation.-h
Display help.
CAVEATS
Direct root queries may be slow or blocked by firewalls. Using -r with non-DNSSEC servers breaks validation. Trust anchors must be current for DNSSEC to work correctly.
HISTORY
unbound-host is part of the Unbound project by NLnet Labs, providing command-line access to Unbound's validating resolver capabilities. It was designed as a DNSSEC-aware alternative to traditional host and dig commands.


