- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- resolver issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:02 AM
03-19-2003 07:02 AM
resolver issue
We have 4 HP-UX 11.00 servers. Each one of them runs apache web server and we have switch does a health check every 5 seconds on these servers. For each health check, web server tries to query internal DNS for A record and PTR. To avoid DNS query i have made entry for switch (for example switch.mydoamin.com and 192.168.32.3) in /etc/hosts of the each web server and
/etc/resolv.conf looks like this on web server:
domain mydomain.com
nameserver 192.192.1.10
and /etc/nsswitch.conf looks like this:
hosts: files [NOTFOUND=continue] dns
Why does the resolver tires to query DNS server, inspite of having an entry in /etc/hosts and nsswitch.conf says to query files and then query DNS?
I even tried putting some IP address in /etc/resolv.conf which is not actually an IP address of a DNS server and then tried to do
#nslookup switch.mydoamin.com
thats it nslookup hangs in there and tries look for DNS. The entry is already there in /etc/hosts for switch.domain.com and resolver is not looking into files first.
On DNS server the log file is getting filled like crazy.
Thanks in advance for any input.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:10 AM
03-19-2003 07:10 AM
Re: resolver issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:12 AM
03-19-2003 07:12 AM
Re: resolver issue
ps -ef | grep inetd
kill -HUP inetd_pid
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:14 AM
03-19-2003 07:14 AM
Re: resolver issue
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=continue]
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:19 AM
03-19-2003 07:19 AM
Re: resolver issue
the permission on /etc/hosts /etc/nsswitch.conf and /etc/resolv.conf was -r--r--r--
I did kill -HUP inetd_pid, but no luck.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:20 AM
03-19-2003 07:20 AM
Re: resolver issue
127.0.0.1 localhost
192.xxx.xxx.xxx your.real.address
192.168.32.3 switch.mydomain.com switch
Then nslookup switch and then switch.mydomain.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:24 AM
03-19-2003 07:24 AM
Re: resolver issue
I tried entry
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=continue]
in /etc/nsswitch.conf and no luck.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:28 AM
03-19-2003 07:28 AM
Re: resolver issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:32 AM
03-19-2003 07:32 AM
Re: resolver issue
Recreated the /etc/hosts file. Same problem with querying.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:48 AM
03-19-2003 07:48 AM
Re: resolver issue
Does it work if you only have the entry
hosts: file
in nwswitch.conf ???
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 07:51 AM
03-19-2003 07:51 AM
Re: resolver issue
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 10:11 AM
03-19-2003 10:11 AM
Re: resolver issue
switch.mydomain.com?
what is the output of nslookup switch.mydomain.com?
Something like the below?
> nslookup switch.mydomain.com
Using /etc/hosts on:
looking up FILES
*** No address information is available for "switch.mydomain.com"