diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-28 19:50:48 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-28 20:29:55 -0500 |
commit | 3d6e2e477ced37fd328870f018950b283cb7293c (patch) | |
tree | a3b2f8f623166d7e82b8749d56c4c497e4d4c27e /src/conf/confstr.c | |
parent | 0fef7ffac114befc94ab5fa794a1754442dcd531 (diff) | |
download | musl-3d6e2e477ced37fd328870f018950b283cb7293c.tar.gz musl-3d6e2e477ced37fd328870f018950b283cb7293c.tar.bz2 musl-3d6e2e477ced37fd328870f018950b283cb7293c.tar.xz musl-3d6e2e477ced37fd328870f018950b283cb7293c.zip |
add support for search domains to dns resolver
search is only performed if the search or domain keyword is used in
resolv.conf and the queried name has fewer than ndots dots. there is
no default domain and names with >=ndots dots are never subjected to
search; failure in the root scope is final.
the (non-POSIX) res_search API presently does not honor search. this
may be added at some point in the future if needed.
resolv.conf is now parsed twice, at two different layers of the code
involved. this will be fixed in a subsequent patch.
Diffstat (limited to 'src/conf/confstr.c')
0 files changed, 0 insertions, 0 deletions