resolver: Add support for multiple search domains
authorHenri Bragge <henri.bragge@ixonos.com>
Tue, 7 Dec 2010 08:49:38 +0000 (10:49 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 7 Dec 2010 18:04:42 +0000 (19:04 +0100)
commit2cc48d91f82cf1aaa2c002b5e617cfa5df5f2545
treebf4ba01f851dc897860f41c1103c4e0e21620c5b
parent0ab9afa9c8edf471ec9b669c125662336dd0d379
resolver: Add support for multiple search domains

Domains are appended to entry list just like nameservers, and finally exported
to /etc/resolv.conf. Domains are written to resolv.conf in reverse order so
that the most recently appended domain will have the highest priority.

Search domains should only be useful for resolvfile_resolver and should be
ignored by dnsproxy_resolver.
src/resolver.c
src/service.c