HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding a new dns server
Operating System - HP-UX
1832307
Members
2222
Online
110041
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-18-2004 06:53 AM
06-18-2004 06:53 AM
Adding a new dns server
what are the procedures for adding a new dns address in hpux?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 07:00 AM
06-18-2004 07:00 AM
Re: Adding a new dns server
On hp-ux file /etc/resolv.conf controls, which dns servers in which order will be looked for name resolution.
The file /etc/nsswitch.conf controls, how name resolution will take place and for what services..
The file /etc/nsswitch.conf controls, how name resolution will take place and for what services..
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 07:26 AM
06-18-2004 07:26 AM
Re: Adding a new dns server
Are u trying to add a new DNS address to the DNS server that is running on HP-UX ?
You got be little more clear.
If the answer to the above question is yes, then there are couple of ways you can do it but depends if you use any kind of version control for the DNS database.
Simplest way would be to edit /etc/hosts the DNS server is based on. Ensure /etc/hosts is in sync with the current DNS entries. Update /etc/hosts and run hosts_to_named command and restart named.
Or else you can directly edit DNS database files which is little more complicated.
Let us what is that you are tying to do.
You got be little more clear.
If the answer to the above question is yes, then there are couple of ways you can do it but depends if you use any kind of version control for the DNS database.
Simplest way would be to edit /etc/hosts the DNS server is based on. Ensure /etc/hosts is in sync with the current DNS entries. Update /etc/hosts and run hosts_to_named command and restart named.
Or else you can directly edit DNS database files which is little more complicated.
Let us what is that you are tying to do.
Learn What to do ,How to do and more importantly When to do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 12:50 PM
06-18-2004 12:50 PM
Re: Adding a new dns server
As RAC says - add server to /etc/resolv.conf - take effect immediately.
In /etc/nsswitch.conf:
hosts: files [NOTFOUND=CONTINUE] dns
Rgds...Geoff
In /etc/nsswitch.conf:
hosts: files [NOTFOUND=CONTINUE] dns
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP