Re: Unable to lookup host registered in hosts file

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

 



Hi,

Edi CAHYADI wrote:
> Hi All,
> 
> I have 2 servers:
> hostA: RedHat Linux 2.4.21-40.EL
> hostB: HP-UX 10.20
> 
>>From hostA, I can't lookup hostB even though I put its entry in /etc/hosts file.

Commands like host, dig and nslookup are DNS lookup utilities and so
don't use the configuration defined in /etc/nsswitch.conf.  The switch
file is used to define different ways to find host names (amongst other
things) of which DNS is just one.

Cheers

Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux