|
| | ActionCreate (DWORD process_id, const std::vector< std::string > &split_domains, const std::vector< std::string > &dns_servers, const std::vector< std::wstring > &search_domains, bool dnssec) |
| |
| void | execute (std::ostream &log) override |
| | Apply NRPT data to the registry.
|
| |
| std::string | to_string () const override |
| | Produce a textual representating of the NRPT data.
|
| |
| 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.
|
| |
template<typename REG, typename NETAPI>
class openvpn::TunWin::Nrpt< REG, NETAPI >::ActionCreate
Definition at line 392 of file nrpt.hpp.
template<typename REG , typename NETAPI >
Apply NRPT data to the registry.
In case a –dns server has no domains, we fall back to resolving "all domains" with it and install rules excluding the domains found on the system, so local domain names keep working.
- Parameters
-
| log | where the rules will be logged to |
Implements openvpn::Action.
Definition at line 417 of file nrpt.hpp.