]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.8
pppd: Clarify circumstances where DNS1/DNS2 environment variables are set
[ppp.git] / pppd / pppd.8
index 7ad24c51f3a42678697ec8a66723bd6a29e49e92..6fc633157e031336d913ec71487b2cea894cf7f2 100644 (file)
@@ -1633,11 +1633,13 @@ The logical name of the link, set with the \fIlinkname\fR option.
 .TP
 .B DNS1
 If the peer supplies DNS server addresses, this variable is set to the
 .TP
 .B DNS1
 If the peer supplies DNS server addresses, this variable is set to the
-first DNS server address supplied.
+first DNS server address supplied (whether or not the usepeerdns
+option was given).
 .TP
 .B DNS2
 If the peer supplies DNS server addresses, this variable is set to the
 .TP
 .B DNS2
 If the peer supplies DNS server addresses, this variable is set to the
-second DNS server address supplied.
+second DNS server address supplied (whether or not the usepeerdns
+option was given).
 .P
 Pppd invokes the following scripts, if they exist.  It is not an error
 if they don't exist.
 .P
 Pppd invokes the following scripts, if they exist.  It is not an error
 if they don't exist.