All DNS options set with the –dns or –dhcp-option directive.
More...
#include <dns_options.hpp>
All DNS options set with the –dns or –dhcp-option directive.
Definition at line 303 of file dns_options.hpp.
◆ from_json()
void openvpn::DnsOptions::from_json |
( |
const Json::Value & |
root, |
|
|
const std::string & |
title |
|
) |
| |
|
inline |
◆ get_server()
DnsServer & openvpn::DnsOptions::get_server |
( |
const int |
priority | ) |
|
|
inlineprotected |
◆ operator==()
bool openvpn::DnsOptions::operator== |
( |
const DnsOptions & |
at | ) |
const |
|
default |
◆ to_json()
Json::Value openvpn::DnsOptions::to_json |
( |
| ) |
const |
|
inline |
◆ to_string()
std::string openvpn::DnsOptions::to_string |
( |
| ) |
const |
|
inline |
◆ from_dhcp_options
bool openvpn::DnsOptions::from_dhcp_options = false |
◆ search_domains
std::vector<DnsDomain> openvpn::DnsOptions::search_domains |
◆ servers
std::map<int, DnsServer> openvpn::DnsOptions::servers |
The documentation for this class was generated from the following file: