- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configure DNS
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
04-11-2001 04:59 PM
04-11-2001 04:59 PM
I want to be able to query other things on my network and the internet. My network colleague has given me an address of a DNS server on the internet and an address of a DNS server in our local network.
How do I configure our HP 9000 to query the DNS server. I do not want the HP to look to DNS for it's own name. I want it to go to DNS
after it has looked in /etc/hosts.
How can this be done?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 05:09 PM
04-11-2001 05:09 PM
Re: Configure DNS
resolv.conf
Add a line that says
nameserver A.B.C.D
where A.B.C.D is the IP address (not name) of the name server.
Watch out for the /etc/nsswitch.conf configuration. I suspect you'd rather query the name server then the host file, so
/etc/nsswitch.conf should either
NOT exist
or have a line like
hosts: dns files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2001 05:36 PM
04-11-2001 05:36 PM
Re: Configure DNS
Chapter-3 ["Configuring and Administering the BIND Name Service"] of "Installing and Administering Internet Services" offers a good overview of this task:
http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2001 02:26 AM
04-12-2001 02:26 AM
Re: Configure DNS
In /etc/resolv.conf ( if it does not exist, create it )add the following lines:
domain xxx.yyyy
nameserver xx.ccc.vvv.mmm
where xx.ccc.vvv.mmm is the IP address (not name) of the name server.
Watch out for the /etc/nsswitch.conf configuration. It should be like this:
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2001 02:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2001 03:45 AM
04-12-2001 03:45 AM
Solutioncreate the file /etc/resolv.conf with the following:
domain
nameserver
if you have more than 1 dns:
domain
nameserver
nameserver
retry
retrans
create another file /etc/nsswitch.conf with:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
then, don't forget to change the access permissions.
good luck.