Changes between Initial Version and Version 1 of Pushing-DNS-to-clients


Ignore:
Timestamp:
03/07/19 14:43:16 (5 years ago)
Author:
tct
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Pushing-DNS-to-clients

    v1 v1  
     1= **Pushing DNS servers to clients** #pushdns-top
     2
     3----
     4
     5This page describes how to use pushed DNS servers in the client.
     6
     7**Contents:**
     8 1. [#pushdns-nix Using pushed DNS servers with a Linux client] [[br]]
     9 1. [#pushdns-win Using pushed DNS servers with a Windows client] [[br]]
     10
     11----
     12
     13== Using pushed DNS servers with a Linux client #pushdns-nix
     14
     15Linux must use an external script to update the DNS servers in `/etc/resolve.conf`
     16
     17Most Distro OpenVPN packages include `/etc/openvpn/update-resolv-conf` script. [[br]]
     18Source: https://github.com/alfredopalhares/openvpn-update-resolv-conf
     19
     20Call the script by adding this to your client config file:
     21
     22{{{
     23script-security 2
     24up /etc/openvpn/update-resolv-conf
     25down /etc/openvpn/update-resolv-conf
     26}}}
     27
     28----
     29
     30== Using pushed DNS servers with a Linux client #pushdns-win
     31
     32Windows uses the OpenVPN built-in DHCP server to update the TAP adapter's DNS servers and no additional steps are required.
     33
     34You need to use `--block-outside-dns` to prevent Windows from using the system's default DNS servers (Preventing DNS leaks).
     35
     36----
     37
     38== Additional notes #pushdns-top
     39
     40TODO
     41
     42----
     43
     44Pushing DNS servers to clients -- [#pushdns-top return to top]
     45
     46----
     47