2007/2/16, Colin Whittaker <[EMAIL PROTECTED]>:
> Well, that didn't really work... The for loop doesn't traverse when there
> is one server.
Thanks for the patches. I tried to figure out what the surrounding
code does, and I think the logic calling sres_next_server() and
reacting to permanent/tra
Well, that didn't really work... The for loop doesn't traverse when
there is one server.
Here is another attempt:
sres.c
2688a2689,2690
> #define DNS_ICMP_TIMEOUT 60 // Retry after 1 min
and ICMP error
> #define DNS_ERROR_TIMEOUT 3600 // Retry after 1 hour and
"perm" er
Ok, I took a stab a this, but I think you may have a better or more
complete solution.
I basically just timed out the dns_icmp and dns_error on the servers.
Here is the diff:
sres.c
2688a2689,2690
> #define DNS_ICMP_TIMEOUT 60 // Retry after 1 min
and ICMP error
> #define DNS_
Sorry for the way too long delay, Iäve been away for the holidays.
On 12/12/06, Colin Whittaker <[EMAIL PROTECTED]> wrote:
>> You are right, it does not use /etc/hosts or nsswitch.conf (or
>> /etc/host.conf)
> Hmm, seems like folks setting these things up would expect an application
> that uses
Pekka Pessi wrote:
On 12/11/06, Colin Whittaker <[EMAIL PROTECTED]> wrote:
I've started using DNS, and it appears that I must specify the FQDN for
the proxy or registrar, and that the DNS server must have any entry.
Is there a way to get the sresolv module to use the /etc/hosts fil
On 12/11/06, Colin Whittaker <[EMAIL PROTECTED]> wrote:
> I've started using DNS, and it appears that I must specify the FQDN for
> the proxy or registrar, and that the DNS server must have any entry.
> Is there a way to get the sresolv module to use the /etc/hosts file ?
> I've setup nsswitch.conf