[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange problem with local name resolution



Andreas Vent-Schmidt said:
> Hi Paul,
>
> thank you very much for your useful help.
>
> Well, I've read some excellent books on linux administration, but can't
> remember that this fact would ever had been mentioned...

man page for host. pretty clearly states it uses dns.

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 argu-
ments 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 dot-
ted-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.

--

phil

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: