Unix Technical Forum

DNS Timeout

This is a discussion on DNS Timeout within the AIX Operating System forums, part of the Unix Operating Systems category; --> I have a simple resolv.conf that queries two DNS servers (Win2003) for name resolution. The problem is when a ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 08:13 AM
ScottZz
 
Posts: n/a
Default DNS Timeout



I have a simple resolv.conf that queries two DNS servers (Win2003) for
name resolution.

The problem is when a client does a login and either their host isn't in
DNS or possibly the DNS servers are down, there is a very long delay
(about 20+ seconds) before falling back.

It looks like AIX is trying to resolve the client name on login for wtmp
and I need to shorten the timeout on this.

Anyway to do this?

Thanks,
-Scott








Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 08:13 AM
Jurjen Oskam
 
Posts: n/a
Default Re: DNS Timeout

On 2005-08-14, ScottZz <noemail@no.spam.net> wrote:

> DNS or possibly the DNS servers are down, there is a very long delay
> (about 20+ seconds) before falling back.


See the book "Communications Programming Concepts", chapter "Sockets",
section "Domain Name Resolution". Read about RES_TIMEOUT and RES_RETRY
and be happy. :-)

--
Jurjen Oskam
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com