Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Name lookup question

Name lookup question

2005-05-12       - By Collins, Kevin [MindWorks]

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hi,

  this is something that has puzzled me for a while, and I like to
get it solved if possible:

In our environment, we rely heavily in NIS. Our name resolution is
configured in nsswitch.conf to use NIS, then hosts file, then DNS
(host.conf is also configured this way). We have many short host name
aliases in NIS that we use for convenience that are NOT in DNS or local
hosts file. From the OS perspective, this all works well.

If I attempt a ping to one of those aliases, all works well - the name
is resolved to IP and the ping succeeds. However, if I attempt to use
the nslookup or host command to lookup the alias manually, it fails with
a SERVFAIL error.

Shouldn't these commands be using the name service switch just like the
rest of the OS, or am I spoiled because HP-UX works the "right" way?

Thanks,

Kevin

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>Name lookup question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">this is
something that has puzzled me for a while, and I like to get it solved if
possible:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">In our environment, we rely heavily in NIS. Our
name resolution is configured in nsswitch.conf to use NIS, then hosts file,
then DNS (host.conf is also configured this way). We have many short host name
aliases in NIS that we use for convenience that are NOT in DNS or local hosts
file. From the OS perspective, this all works well. </FONT></P>

<P><FONT SIZE=2 FACE="Arial">If I attempt a ping to one of those aliases, all
works well - the name is resolved to IP and the ping succeeds. However, if I
attempt to use the nslookup or host command to lookup the alias manually, it
fails with a SERVFAIL error.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Shouldn't these commands be using the name service
switch just like the rest of the OS, or am I spoiled because HP-UX works the
&quot;right&quot; way?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Kevin</FONT>
</P>

</BODY>
</HTML>
--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.