I'm using two Raspberry Pi's - connected over the serial port using ppp - this is working ok, but for setup and testing purposes I have the 'client' pi, an original Pi Zero also connected to the LAN with a micro USB network adapter.
I've spent the best part of three days trying to unravel what happens when the ethernet cable is disconnected from the Pi Zero because WITH the cable connected, /etc/resolv.conf is correctly set to my local DNS - dnsmasq on another Pi and its shown as having been created by resolvconf, aka openconf.
The Ethernet adaptor is configured with DHCP and is fed with a 'static' address using the name of the Pi in dnsmasq.
When I disconnect the Ethernet cable - and ppp is still up and there's no wifi adaptor, /etc/resolv.conf now contains 'nameserver 8.8.8.8'. This is a problem, because i don't ever want Google's nameserver set up as DNS resolver on a device that's handling my weather station, halfway up a hill. As I never use 8.8.8.8 as a nameserver, I'm struggling to understand where resolv.conf now gets 8.8.8.8 from!
I've looked everywhere in the docs for openresolv and pppd to find a default behaviour that overwrites resolv.conf when the Ethernet carrier drops. There's nothing in the if-down scripts and nothing in /etc/network/if-down.d, /etc/network/interfaces.d. Nothing in dhcpcd.conf, nothing in avahi either.
Its a new micro SD - written just a couple of weeks ago, but prior to the Buster release. Run out of ideas..