diff options
author | Selva Nair | 2016-11-30 16:51:36 -0500 |
---|---|---|
committer | Gert Doering | 2016-12-01 09:18:51 +0100 |
commit | fb56058a98dcc81b34cffbdc46417d672b8926e1 (patch) | |
tree | 3de8a719fae7d0a68382be74f2a3e77ffee40814 /doc | |
parent | 788e5e4a08e0df7206d17e9cbc135764d6fc385f (diff) | |
download | openvpn-fb56058a98dcc81b34cffbdc46417d672b8926e1.zip openvpn-fb56058a98dcc81b34cffbdc46417d672b8926e1.tar.gz |
Do not restart dns client service as a part of --register-dns processing
As reported and discussed on Trac #775, restarting dns service has
unwanted side effects when there are dependent services. And it
appears unnecessary to restart this service to get DNS registered
on Windows.
Resolve by removing two actions from --register-dns:
'net stop dnscache' and 'net start dnscache' run through the service
or directly.
Trac: #775
Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1480542696-7123-1-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13331.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openvpn.8 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/openvpn.8 b/doc/openvpn.8 index dd09c70..e61b6bb 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -5811,8 +5811,7 @@ above. .\"********************************************************* .TP .B \-\-register\-dns -Run net stop dnscache, net start dnscache, ipconfig /flushdns -and ipconfig /registerdns on connection initiation. +Run ipconfig /flushdns and ipconfig /registerdns on connection initiation. This is known to kick Windows into recognizing pushed DNS servers. .\"********************************************************* |