On 4/10/23 11:40, Jonathan Gray wrote:
On Mon, Apr 10, 2023 at 11:26:22AM +0100, Kaya Saman wrote:
Hi,
I'll ask the second question first as it might be easier to implement...
Currently I have found that the dns servers specified in the resolv.conf
file are not being used. Instead my machine is prioritizing the ISP obtained
servers from the ipcp protocol through the kernel ppp service. Within the
hostname.pppoe(x) file is there a way to disable the dns portion of the
negotiation?
If not, then this leads to my second question of how do I override OpenBSD's
behavior to explicitly not use the dns servers obtained through ipcp but
instead use the ones form the resolv.conf file?
in /etc/rc.conf.local
resolvd_flags=NO
Ok strange! This is already set and before emailing I checked that the
resolvd, unbound, unwind, and even nsd services were not running using 'ps'.
Just attempted to stop resolvd using: /etc/rc.d/resolvd stop (incase it
was running and I missed something) , it said "OK".
nslookup still shows the dns servers from ipcp and not the locally
defined ones in resolv.conf
I'm not sure when the behavior changed but it is a recent thing either done
by an update or by adding my secondary ISP. Right now my system can't send
emails because it's using the wrong dns.
changed in sys/net/if_spppsubr.c rev 1.188
first release with that was OpenBSD 7.1
No no.... this odd behavior started recently?? I'm on: 7.3
GENERIC.MP#1125 amd64
Maybe I ran: sh /etc/netstart pppoe0 which decided to override the
resolv.conf file, I really am not sure but still...