Re: DNS lookup delay with centos & postfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 7/25/2012 3:21 PM, Tom Brown wrote:
> Does dig use libresolv or read directly from resolv.conf? Also do you have a timeout configured in resolv.conf or are you relying on the os default?

dig uses resolv.conf and no timeouts are configured there.  I don't know 
there the OS would have a default configured or what it is.  Another 
reply indicated there would be a 5 second delay.  That seems a bit high 
to me.

I used dig from the email svr command line with the primary DNS svr up 
and (naturally) it pulled from there as normal.  Then I downed the 
primary DNS svr, saw the nagios check fail and tried again.  The same 
dig lookup was actually faster and pulled from the secondary DNS svr 
just fine.  And, again, the nagios alert cleared as soon as the primary 
DNS svr was back online.

For both tests I used:  dig mx google.com

-- 
Steve
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux