OpenVPN 3 Core Library
|
#include <dns.hpp>
Public Member Functions | |
void | execute (std::ostream &log) override |
Apply any modification to the DNS settings by signaling the resolver. | |
std::string | to_string () const override |
Return the log message. | |
![]() | |
virtual Json::Value | to_json () const |
virtual | ~Action ()=default |
![]() | |
RC () noexcept=default | |
RC (const RC &)=delete | |
virtual | ~RC ()=default |
RC & | operator= (const RC &)=delete |
olong | use_count () const noexcept |
Delegates call to RCImpl and returns the result. | |
Private Member Functions | |
bool | apply_dns_settings () |
Signal the DNS resolver to reload its settings. | |
bool | apply_gpol_nrtp_rules () |
Signal the DNS resolver (and others potentially) to reload the NRTP rules group policy settings. | |
bool | apply_gpol_nrtp_rules_32 () |
Signal the DNS resolver (and others potentially) to reload the NRTP rules group policy settings on 32 bit Windows systems. | |
bool | apply_gpol_nrtp_rules_64 () |
Signal the DNS resolver (and others potentially) to reload the NRTP rules group policy settings on 64 bit Windows systems. | |
Additional Inherited Members | |
![]() | |
typedef RCPtr< Action > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
![]() | |
std::string | mark |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineoverridevirtual |
Apply any modification to the DNS settings by signaling the resolver.
log | where the log message goes |
Implements openvpn::Action.
|
inlineoverridevirtual |
Return the log message.
Implements openvpn::Action.
Definition at line 518 of file dns.hpp.