On Mon, 17 Dec 2007, Mike Markley wrote:
> Let's say, for the sake of argument, that there were NO nameservers
> listed in resolv.conf. Would this also cause ar_init() to fail?
> (Practical problems like "how the heck are you going to retrieve keys
> and policy" aside...)
Most definitely. A postcondition of the ar_init() function is that a
descriptor must be set up and ready to talk to nameservers to resolve
queries. If that's not done, an error is returned. Clearly such a setup
isn't possible if /etc/resolv.conf enumerates no nameservers.
Of course only now did I notice this, from the resolver(5) man page on
FreeBSD:
nameserver Internet address (in dot notation) of a name server that the
resolver should query. Up to MAXNS (currently 3) name
servers may be listed, one per keyword. If there are multi-
ple servers, the resolver library queries them in the order
listed. If no nameserver entries are present, the default is
to use the name server on the local machine. (The algorithm
used is to try a name server, and if the query times out, try
the next, until out of name servers, then repeat trying all
the name servers until a maximum number of retries are made).
So I have a bug, but that's not necessarily the problem your friend is
having.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss