SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Has anyone else noticed that the man pages in the latest bind-9.11.25 patches for 14.1 and 14.2 (and maybe current) are broken? I don't get nicely formatted results for man with any of nsupdate, delv, arpaname, nslookup, host, named-rrchecker, mdig, and dig, and I get errors on dig. I think that I'm going to reinstall the previous man pages.
DESCRIPTION
host is a simple utility for performing DNS lookups. It is normally used to convert names to IP addresses and vice versa. When no arguments or options are given, host prints a short
summary of its command line arguments and options.
name is the domain name that is to be looked up. It can also be a dotted-decimal IPv4 address or a colon-delimited IPv6 address, in which case host will by default perform a reverse
lookup for that address. server is an optional argument which is either the name or IP address of the name server that host should query instead of the server or servers listed in
/etc/resolv.conf.
OPTIONS
-4 Use IPv4 only for query transport. See also the -6 option.
-6 Use IPv6 only for query transport. See also the -4 option.
-a "All". The -a option is normally equivalent to -v -t ANY. It also affects the behaviour of the -l list zone option.
-A "Almost all". The -A option is equivalent to -a except RRSIG, NSEC, and NSEC3 records are omitted from the output.
-c class
Query class: This can be used to lookup HS (Hesiod) or CH (Chaosnet) class resource records. The default class is IN (Internet).
-C Check consistency: host will query the SOA records for zone name from all the listed authoritative name servers for that zone. The list of name servers is defined by the NS
records that are found for the zone.
-d Print debugging traces. Equivalent to the -v verbose option.
-l List zone: The host command performs a zone transfer of zone name and prints out the NS, PTR and address records (A/AAAA).
Together, the -l -a options print all records in the zone.
-N ndots
The number of dots that have to be in name for it to be considered absolute. The default value is that defined using the ndots statement in /etc/resolv.conf, or 1 if no ndots
statement is present. Names with fewer dots are interpreted as relative names and will be searched for in the domains listed in the search or domain directive in /etc/re‐
solv.conf.
"man host" -SAMPLE-SNIP- -14.1
Quote:
HOST(1) BIND9 HOST(1)
.SH "NAME" host - DNS lookup utility
.SH "SYNOPSIS"
.HP 120u
host
[-aCdlnrsTUwv]
[-c class]
[-N ndots]
[-p port]
[-R number]
[-t type]
[-W wait]
[-m flag]
[ | [-4] | [-6]
]
[-v]
[-V]
{name}
[server]
.SH "DESCRIPTION"
.PP host is a simple utility for performing DNS lookups. It is normally used to convert names to IP addresses and vice versa. When no arguments or options are given, host
prints a short summary of its command line arguments and options.
.PP name is the domain name that is to be looked up. It can also be a dotted-decimal IPv4 address or a colon-delimited IPv6 address, in which case host will by default
perform a reverse lookup for that address. server is an optional argument which is either the name or IP address of the name server that host should query instead of the
server or servers listed in /etc/resolv.conf.
.SH "OPTIONS"
.PP -4
Use IPv4 only for query transport. See also the -6 option.
.RE
.PP -6
Use IPv6 only for query transport. See also the -4 option.
.RE
.PP -a
"All". The -a option is normally equivalent to -v -t ANY. It also affects the behaviour of the -l list zone option.
.RE
.PP -c class
Query class: This can be used to lookup HS (Hesiod) or CH (Chaosnet) class resource records. The default class is IN (Internet).
.RE
.PP -C
Check consistency: host will query the SOA records for zone name from all the listed authoritative name servers for that zone. The list of
name servers is defined by the NS records that are found for the zone.
.RE
.PP -d
Print debugging traces. Equivalent to the -v verbose option.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.