alfredopalhares / openvpn-update-resolv-conf

Script that updates DNS settings are pushed by the OpenVPN server
462 stars 129 forks source link

create one search entry, not multiple #1

Closed telmich closed 10 years ago

telmich commented 10 years ago

The current way just uses the last domain entry. The new way combines all submitted domains/search suffixes into one line, which makes things work correctly.

Before: search last.suffix

After: search first.suffix next.suffix last.suffix

Signed-off-by: Nico Schottelius nico@bento.schottelius.org

alfredopalhares commented 10 years ago

Thank you, this makes sense, just tested it.