- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Tru64 V5.1 Name Resolving (DNS) problem
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
07-30-2005 07:37 AM
07-30-2005 07:37 AM
Tru64 V5.1 Name Resolving (DNS) problem
I've encountered a problem related to Name Resolving on my Tru64 Box.
I've defined the name servers' IP on the "resolv.conf" as below:
nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy
And the "nsswitch.conf" contains the following entries:
aliases: files
auth_prpasswd: files
group: compat
group_compat: nis
hosts: files dns
netgroup: nis
networks: files
passwd: compat
passwd_compat: nis
protocols: files
rpc: files
services: files
By using "nslookup" on the Tru64 box, I can resolve the name into IP:
#nslookup
Default Server: dns01-aa.bbbbbb.abc
Address: xxx.xxx.xxx.xxx
> www.cisco.com
Server: dns01-aa.bbbbbb.abc
Address: xxx.xxx.xxx.xxx
Non-authoritative answer:
Name: www.cisco.com
Address: 198.133.219.25
But I can't ping the www.cisco.com:
# ping www.cisco.com
ping: unknown host www.cisco.com
The ping can get the IP of the host if it exist in "/etc/hosts" And my "/etc/hosts" file has the 2 entries for my primary and secondary name server IP and name.
I would like to know if anything I need to change in order to make the "nsswitch.conf" file valid ? Or there's any problem on my "nsswitch.conf" file ? Or I need to restart some process after changing the above files ?
Please kindly help ! Million thanks ! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 01:32 PM
07-30-2005 01:32 PM
Re: Tru64 V5.1 Name Resolving (DNS) problem
have you tried the configuration with sysman?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2005 01:37 PM
07-30-2005 01:37 PM
Re: Tru64 V5.1 Name Resolving (DNS) problem
you may also want to look into
Network administration: Services
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 01:14 AM
08-01-2005 01:14 AM
Re: Tru64 V5.1 Name Resolving (DNS) problem
hosts: files [notfound=continue] dns
Or invert the order. If you do this, make sure that the server itself is on the DNS database:
hosts: dns files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 01:46 AM
08-01-2005 01:46 AM
Re: Tru64 V5.1 Name Resolving (DNS) problem
If so, then /etc/nsswitch.conf didn't exist on V5.1. V5.1 uses /etc/svc.conf (which it has used for all versions prior, as well). The appropriate line from /etc/svc.conf is:
hosts=local,bind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 01:53 AM
08-01-2005 01:53 AM
Re: Tru64 V5.1 Name Resolving (DNS) problem
Stuart is right. nsswitch.conf is used by HP-UX.
Again, use sysman dns for configuring. This ensures that all necessary files are updated.
Michae.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 02:09 AM
08-01-2005 02:09 AM
Re: Tru64 V5.1 Name Resolving (DNS) problem
On 5.1B
NAME
svc.conf - Database service selection configuration file
DESCRIPTION
Note
This file is obsolete, except for statically-built applications
and sendmail, if the Name Service Switch is installed. See
nsswitch.conf(5) for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 03:03 AM
08-01-2005 03:03 AM
Re: Tru64 V5.1 Name Resolving (DNS) problem
Also check to make sure you haven't placed any non-printing characters at the ends of the lines in either of these files. It is not recommended that you hand edit nsswitch.conf, but rather use nssetup.
You might also want to use truss or trace to see if ping is actually attempting to open nsswitch.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2005 09:32 PM
08-01-2005 09:32 PM
Re: Tru64 V5.1 Name Resolving (DNS) problem
you are right. I looked on a machine with pk4 and there it was.
Michael