- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS client configuration
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
08-12-2006 06:39 PM
08-12-2006 06:39 PM
DNS client configuration
I have a DNS server. I need to configure client HP-UX machine. How can I configure DNS in HP-UX machine? Machine rp7420, OS HP-UX 11i.
Pls help me asap.
Thanks
Alamgir
Systems Engineer
FLORA TELECOM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2006 06:54 PM
08-12-2006 06:54 PM
Re: DNS client configuration
On the server which you want as DNS client
1. Edit /etc/nsswitch.conf and modify the hosts entry to look like
hosts: dns [TRYAGAIN=continue NOTFOUND=continue] files
and modify aliases entry to look like
aliases: dns files
2. In the file /etc/resolv.conf add the entries for your DNS server as below e.g.
nameserver 10.220.1.5
Thats all.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2006 07:09 PM
08-12-2006 07:09 PM
Re: DNS client configuration
It may be easy to use SAM like beloow step
sam > select Network and Communication > DNS (Bind) > DNS Resolver
In the mune, you can define the name server IP and hostname.
Once you finish inpuuting, the DNS information is reflected your system automatically.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2006 08:35 PM
08-12-2006 08:35 PM
Re: DNS client configuration
In fact I need to ping hostname of the system. I can ping using ip_address of the system but can not ping using the hostname. In the /etc/hosts file I have enter the ip_address and hostname in the second line and loopback address is in the first line. There is no alias entry in the /etc/hosts file.
So to resolve the hostname what else I need to do. Say, if I don't have a DNS server in my LAN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2006 09:28 PM
08-12-2006 09:28 PM
Re: DNS client configuration
In fact I need to ping hostname of the system. I can ping using ip_address of the system but can not ping using the hostname. In the /etc/hosts file I have enter the ip_address and hostname in the second line and loopback address is in the first line. There is no alias entry in the /etc/hosts file.
So to resolve the hostname what else I need to do. Say, if I don't have a DNS server in my LAN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2006 09:39 PM
08-12-2006 09:39 PM
Re: DNS client configuration
Contrary to your earlier question - which you said you have a DNS server and you want to configure a DNS client, it seems you wish to use /etc/hosts file instead.
If you dont have DNS server, then you can use the /etc/hosts file to map server names to ip addresses. e.g. /etc/hosts file
127.0.0.1 localhost loopback
10.140.2.79 server1
10.141.2.74 server2
10.140.84.71 server3
Also you can set the /etc/nsswitch file hosts entry as -
hosts files
And you should be able to ping the servers mentioned in the /etc/hosts file using server name.
Can you paste your /etc/hosts and /etc/nsswitch.conf files here if you still have any problems.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 12:46 AM
08-13-2006 12:46 AM
Re: DNS client configuration
You really should consider two files /etc/hosts and /etc/nsswitch.conf
as Ninaid said..
regards
nanan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 02:46 AM
08-13-2006 02:46 AM
Re: DNS client configuration
files [NOTFOUND=continue] dns
also put alias for your hostname in /etc/hosts file like