From: Michael Tremer Date: Sat, 31 Jan 2015 13:17:46 +0000 (+0000) Subject: ppp: Always request DNS servers from remote X-Git-Url: http://git.ipfire.org/?p=people%2Fstevee%2Fnetwork.git;a=commitdiff_plain;h=6f6aa9e8a4721fa6d9f60c11ae2c9304d7606edb ppp: Always request DNS servers from remote We can decide later if we want to use them, but we will always try to get them. --- diff --git a/src/functions/functions.ppp b/src/functions/functions.ppp index c2ec4cf1..58463d6f 100644 --- a/src/functions/functions.ppp +++ b/src/functions/functions.ppp @@ -553,6 +553,13 @@ function pppd_write_config() { ) >> ${file} fi + # DNS + ( + print "# DNS" + print "usepeerdns" + print + ) >> ${file} + # IPv6 if enabled ipv6; then (