- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS with no retry
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
05-03-2006 02:30 PM
05-03-2006 02:30 PM
domain twn.bb.com
nameserver 165.157.187.24
nameserver 165.149.3.243
---------------------------
From the above configuration, the DNS default would retry 4 times if nameserver no responding. My question is, is it possible configure "no retry" if nameserver no response?
That's primary DNS no responding, just query from secondary DNS immediately.
Another quesion: If configure retry is 1, do any good recommend value about "retrans" ?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 03:51 PM
05-03-2006 03:51 PM
Solutionretrans
Retransmission timeout. It is interpreted during
the res_init() (see resolver(3N)) call. It has
higher precedence than setting it through the
set_resfeild() (see resolver(3N)) API and lower
precedence than setting it through the RES_RETRANS
(see resolver(3N)) environment variable. Whenever
an invalid value is specified for retrans, a
message is flagged in syslog. The default value
is 5000 milliseconds.
retry
Number of retries. This is interpreted during the
res_init() (see resolver(3N)) call. It has higher
precedence than setting it through the
set_resfeild() (see resolver(3N)) API and lower
precedence than setting it through the RES_RETRY
(see resolver(3N)) environment variable. Whenever
an invalid value is specified for retry, a message
is flagged in syslog. The default value is 4
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 04:00 PM
05-03-2006 04:00 PM
Re: DNS with no retry
So, Is retry vaule hardcode in the resolver ? If Ping or ftp or telnet query primary DNS failed, it must be waiting for retry, then try to query the other nameserver ? Can if be set "no retry" ? Thanks in advanced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 02:30 PM
05-04-2006 02:30 PM
Re: DNS with no retry
export RES_RETRANS=1000
export RES_RETRY=2
or for resolv.conf:
nameserver 165.157.187.24 retrans 1000 retry 2
nameserver 165.149.3.243 retrans 1000 retry 2
The precedence is env then resolv.conf and finally through the API.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2006 01:53 AM
09-08-2006 01:53 AM
Re: DNS with no retry
Me too..
----
domain some_domain.com
nameserver IP_0 #<-- No DNS
nameserver IP_1
nameserver IP_2
-----
date && nslookup some && date
# Date2-Date1 = 20 sec.
2-----
export RES_RETRANS=1000
export RES_RETRY=2
# Date2-Date1=20 sec :(
3---
in resolv.conf:
domain some_domain.com
nameserver IP_0 retrans 1000 retry 2 #<-- No DNS
nameserver IP_1 retrans 1000 retry 2
nameserver IP_2 retrans 1000 retry 2
# Date2-Date1=20 sec =(