Page MenuHomeFreeBSD

resolver.5: document six previously undocumented options
ClosedPublic

Authored by chris.longros_gmail.com on Sun, Mar 15, 10:40 AM.

Details

Summary

Document the edns0, inet6, insecure1, insecure2, no-check-names,
and rotate options which are parsed by res_init(3) but were not
described in the resolver(5) man page.

Signed-off-by: Christos Longros <chris.longros@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des added inline comments.
share/man/man5/resolver.5
216

I wonder if we should make this the default, like GNU libc does.

This revision is now accepted and ready to land.Sun, Mar 15, 12:08 PM

I wonder if we should make this the default, like GNU libc does.

Taking a look at glibc's resolv.h it appears that the default options do not include RES_ROTATE.

#define RES_DEFAULT	(RES_RECURSE|RES_DEFNAMES|RES_DNSRCH)

Taking a look at glibc's resolv.h it appears that the default options do not include RES_ROTATE.

#define RES_DEFAULT	(RES_RECURSE|RES_DEFNAMES|RES_DNSRCH)

I don't think they have RES_ROTATE at all, their resolver is hardcoded to always rotate between configured nameservers.