On Tue, Dec 13, 2022 at 01:32:53AM +0000, void wrote: > Hi misc@ > > I'd like to have it so a pppoe FTTP connection doesn't automatically > obtain and apply the ISP's nameservers to /etc/resolv.conf. The machine > already runs unbound, so resolv.conf has loopback for ipv4 and ipv6 in > it. pppoe adds "nameserver isp.name.server.addr # resolvd: pppoe0" at > the top of /etc/resolv.conf > > I've looked in the man page for pppoe and it doesn't state how it gets > dns. Also checked hostname.if, resolv.conf & resolvd manpages. Where else > should I be looking?
See https://marc.info/?l=openbsd-tech&m=163636889218212&w=2 which changed sys/net/if_spppsubr.c ---------------------------- revision 1.188 date: 2021/11/10 15:04:26; author: bket; state: Exp; lines: +103 -8; commitid: XBZeo53mvivjEc3E; sppp(4) - support PPP IPCP extensions for DNS RFC 1877 extends the family of network control protocols for establishing and configuring the IPCP over PPP, defining the negotiation of primary and secondary DNS addresses. After negotiation, rtm_proposal() is used to send out DNS updates. Feedback from claudio@ and kn@. OK claudio@, kn@ ---------------------------- The first release with this change was OpenBSD 7.1. It can be avoided by disabling resolvd. In /etc/rc.conf.local: resolvd_flags=NO > > The IPv4 range is "static" and I understand that the way IPs are delivered > here is the same ip (tied to the connection credentials) is applied > dynamically on authentication. dhcpd is not running, dhcpcd6 > is and has the ipv6only keyword. > > tia, > -- > >