]> git.ipfire.org Git - people/stevee/network.git/commitdiff
ppp: Always request DNS servers from remote
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 31 Jan 2015 13:17:46 +0000 (13:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 31 Jan 2015 13:17:46 +0000 (13:17 +0000)
We can decide later if we want to use them, but we will
always try to get them.

src/functions/functions.ppp

index c2ec4cf16aca65411dba4f32361994a5bcc7f8f8..58463d6f73c75b1ebf7a4d6675b6106d14cbb2d4 100644 (file)
@@ -553,6 +553,13 @@ function pppd_write_config() {
                ) >> ${file}
        fi
 
+       # DNS
+       (
+               print "# DNS"
+               print "usepeerdns"
+               print
+       ) >> ${file}
+
        # IPv6
        if enabled ipv6; then
                (