Re: DNS resolver retries configurable? (or: Anything to make DNS resolves always work!)

2013-12-23 Thread Jan Stary
On Dec 20 00:36:02, mikael.tr...@gmail.com wrote: > Seems that by default OpenBSD's DNS resolver rotates what DNS server from > /etc/resolv.conf it uses, and when the DNS server used for a resolve does > not work, the DNS resolve fails; > > Perhaps not exactly like this, but clearly in this direct

Re: DNS resolver retries configurable? (or: Anything to make DNS resolves always work!)

2013-12-20 Thread Nex6
* Mikael [2013-12-20 09:58:39 +0200]: > Hi Matthew, > > Aha so the files of reference are asr.c ( > http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/asr/asr.c?rev=1.31;content-type=text%2Fplain > ) > and res_send_async.c ( > http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/asr/res_send_async

Re: DNS resolver retries configurable? (or: Anything to make DNS resolves always work!)

2013-12-20 Thread Mikael
Hi Matthew, Aha so the files of reference are asr.c ( http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/asr/asr.c?rev=1.31;content-type=text%2Fplain ) and res_send_async.c ( http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/asr/res_send_async.c?rev=1.19;content-type=text%2Fplain ) Do I unders

Re: DNS resolver retries configurable? (or: Anything to make DNS resolves always work!)

2013-12-19 Thread Matthew Dempsky
On Thu, Dec 19, 2013 at 2:36 PM, Mikael wrote: > a) OpenBSD's resolver configured to retry 999 times before failing, and > [...] > If so, is there any way to do a)? In src/lib/libc/asr/asr.c, change "ac->ac_nsretries = 4;" to "ac->ac_nsretries = 999;", recompile, and reinstall. However, I wouldn

Re: DNS resolver retries configurable? (or: Anything to make DNS resolves always work!)

2013-12-19 Thread Andy Lemin
Maybe try configuring bind (read the manuals and online docs) and setting resolv.conf to 127.0.0.1 would be a good start. OpenBSD's resolv logic won't be 'fixed' unless you want to change the code.. Sent from my iPhone > On 19 Dec 2013, at 22:36, Mikael wrote: > > Seems that by default OpenBS

DNS resolver retries configurable? (or: Anything to make DNS resolves always work!)

2013-12-19 Thread Mikael
Seems that by default OpenBSD's DNS resolver rotates what DNS server from /etc/resolv.conf it uses, and when the DNS server used for a resolve does not work, the DNS resolve fails; Perhaps not exactly like this, but clearly in this direction: If there's any imperfection about any of the listed DNS