Home | History | Annotate | Download | only in pppd

Lines Matching refs:dns

92 static bool usepeerdns;			/* Ask peer for DNS addrs */
177 { "ms-dns", 1, (void *)setdnsaddr,
178 "DNS address for the peer's use" },
210 "Ask peer for DNS address(es)", 1 },
332 * setdnsaddr - set the dns address(es)
338 u_int32_t dns;
341 dns = inet_addr(*argv);
342 if (dns == (u_int32_t) -1) {
344 option_error("invalid address parameter '%s' for ms-dns option",
348 dns = *(u_int32_t *)hp->h_addr;
355 ipcp_allowoptions[0].dnsaddr[0] = dns;
360 ipcp_allowoptions[0].dnsaddr[1] = dns;
688 wo->req_dns1 = usepeerdns; /* Request DNS addresses from the peer */
1460 /* Microsoft primary or secondary DNS request */
1463 /* If we do not have a DNS address then we cannot send it */
1483 /* If we do not have a DNS address then we cannot send it */
1829 notice("primary DNS address %I", go->dnsaddr[0]);
1831 notice("secondary DNS address %I", go->dnsaddr[1]);
2110 printer(arg, "ms-dns%d %I", code - CI_MS_DNS1 + 1,