OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::DnsOptions Class Reference

All DNS options set with the –dns or –dhcp-option directive. More...

#include <dns_options.hpp>

Inheritance diagram for openvpn::DnsOptions:
[legend]

Public Member Functions

std::string to_string () const
 

Public Attributes

bool from_dhcp_options = false
 
std::vector< DnsDomainsearch_domains
 
std::map< int, DnsServerservers
 

Protected Member Functions

DnsServerget_server (const int priority)
 

Detailed Description

All DNS options set with the –dns or –dhcp-option directive.

Definition at line 297 of file dns_options.hpp.

Member Function Documentation

◆ get_server()

DnsServer & openvpn::DnsOptions::get_server ( const int  priority)
inlineprotected

Definition at line 355 of file dns_options.hpp.

Here is the caller graph for this function:

◆ to_string()

std::string openvpn::DnsOptions::to_string ( ) const
inline

Definition at line 299 of file dns_options.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ from_dhcp_options

bool openvpn::DnsOptions::from_dhcp_options = false

Definition at line 350 of file dns_options.hpp.

◆ search_domains

std::vector<DnsDomain> openvpn::DnsOptions::search_domains

Definition at line 351 of file dns_options.hpp.

◆ servers

std::map<int, DnsServer> openvpn::DnsOptions::servers

Definition at line 352 of file dns_options.hpp.


The documentation for this class was generated from the following file: