Encapsulates the contents of a resolver configuration file (/etc/rc.conf).
More...
#include <DwmDnsResolvConf.hh>
Public Member Functions | |
| ResolvConf (const std::string &filename="/etc/resolv.conf") | |
| Construct from a resolver configuration file. | |
| std::vector< NameServer > & | Nameservers () |
| Return the vector of nameservers. | |
| const std::string & | Domain () const |
| Returns the local domain. | |
| const std::string & | Domain (const std::string &domain) |
| Sets and returns the local domain. | |
| const std::vector< std::string > & | SearchList () const |
| Returns the domain search list. | |
Encapsulates the contents of a resolver configuration file (/etc/rc.conf).