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     >>  

I know what you mean. My solution to that is to specify the name server
to nslookup, then it will only use DNS.

The perl solution is where I am leaning...

Thanks,

Kevin

-- --Original Message-- --
From: taroon-list-bounces@(protected)
[mailto:taroon-list-bounces@(protected)] On Behalf Of John Haxby
Sent: Thursday, May 12, 2005 9:36 AM
To: Discussion of Red Hat Enterprise Linux 3 (Taroon)
Subject: Re: Name lookup question


> On Thu, 12 May 2005, Collins, Kevin  [MindWorks] wrote:
>
>>
>> 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?
>>
>
I used to regularly curse HP-UX's hacked nslookup.   nslookup on every
other platform only queries the DNS, on HP/UX it consults
/etc/nsswitch.conf -- it's great when everything is working and a total
pain in the neck when you're trying to diagnose name server problems so
you can explain to the Help Desk what's broken and what needs to be done

to fix it so that they can pass on the message to the non-English
speaking but technically OK (just) network folks in Grenoble.   Not that

I'm bitter and twisted :-)

Seriously, the easiest cross-platform way I found of going through
nsswitch.conf was to use one-line perl scripts to call gethostbyname()
(or whatever).

jch

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



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

Earn $52 per hosting referral at Lunarpages.