- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Secondry 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
01-18-2004 07:28 PM
01-18-2004 07:28 PM
Secondry DNS
How to configure secondry DNS in my server. Pls Help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:31 PM
01-18-2004 07:31 PM
Re: Secondry DNS
search blbla.bla.com
nameserver
nameserver
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:35 PM
01-18-2004 07:35 PM
Re: Secondry DNS
Peter is right, but you can also use the domain string in /etc/resolv.conf.
Check man resolv.conf
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:37 PM
01-18-2004 07:37 PM
Re: Secondry DNS
If you mean: how do I configure my server to be a secondary DNS, it is more tricky.
You need to copy your named.conf file from the primary DNS, replace all 'master' entries to 'slave' entries, create the directory used for storing the database files, edit /etc/rc.config.d/namesvrs to start the named, etc.
Before going into more detail on this, explain what you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:41 PM
01-18-2004 07:41 PM
Re: Secondry DNS
Do I Need to reboot the server after editing the resolv.conf or it takes effect automatically once I save the file
Akthar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:45 PM
01-18-2004 07:45 PM
Re: Secondry DNS
No reboot, it should work right away.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:47 PM
01-18-2004 07:47 PM
Re: Secondry DNS
I want to use secondry DNS address , And I used Peter's suggestion and edited the resolv.conf file .. I have reboot the server or I have to start stop any deamon to take this to effect ??!!
Thanks again for all for useful inputs
Regards
Akthar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 07:56 PM
01-18-2004 07:56 PM
Re: Secondry DNS
From the response you can figure out which DNS-server is used.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 08:10 PM
01-18-2004 08:10 PM
Re: Secondry DNS
If you only want to use a secondary nameserver from the machine, you don't have to reboot. Every time a lookup is done on the server, /etc/resolv.conf is read for the order of DNS servers. Like Peter said you can test it directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2004 08:40 PM
01-18-2004 08:40 PM
Re: Secondry DNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 03:02 AM
01-19-2004 03:02 AM
Re: Secondry DNS
Dominique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 04:58 PM
01-19-2004 04:58 PM
Re: Secondry DNS
nslookup ipaddress dnsserver
eg: nslookup 165.143.128.21 dns2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 05:28 PM
01-19-2004 05:28 PM
Re: Secondry DNS
Add another line that says "nameserver ip_address" to your /etc/resolv.conf.
DNS will be searched using the servers specified in the order in /etc/resolv.conf. There are couple of points to be noted.
1. As long as the first server responds, secondary name server will not be used.
2. If the first server does not respond, then the queries will go to next server in the order after the default "retrans" value. The retrans value is 5 seconds.
3. You can add the configurable parameters retrans and retry to /etc/resolv.conf to set the timeout. retrans is specified in milli seconds. For ex.,
domain yourdomain.com
nameserver 10.10.10.10
nameserver 10.10.10.20
retrans 2000
retry 2
The above will set the timeout to 2 seconds before the system call queries the next timeout.
4. There is no daemon like 'nscd' in hp-ux that will take care of automatically failing over to the next name server in the resolv.conf file in case the primary server does not respond. So each query has to go through the retrans timeout.
5. nslookup is not a 100% method to test the configuration in /etc/resolv.conf as it doesn't use gethostbyent() calls. But retrans is in effect for all the services that use gethostbyent() set of calls.
-Sri