--- a/pppd/auth.c
+++ b/pppd/auth.c
@@ -895,6 +895,14 @@ continue_networks(unit)
     int i;
     struct protent *protp;
 
+    script_unsetenv("IPLOCAL");
+    script_unsetenv("IPREMOTE");
+    script_unsetenv("DNS1");
+    script_unsetenv("DNS2");
+    script_unsetenv("USEPEERDNS");
+    script_unsetenv("LLLOCAL");
+    script_unsetenv("LLREMOTE");
+
     /*
      * Start the "real" network protocols.
      */
