Carlos E. R. wrote:
With wicked, the remote DNS information is in /run/wicked/leaseinfo.eth0.auto.ipv6 and leaseinfo.eth0.static.ipv4, but not in a form that can be included in dnsmasq.conf, I think:
But if you change NETCONFIG_DNS_POLICY to 'auto', you can use /run/dnsmasq-forwarders.conf, right? At least that is what I saw working this afternoon.
/run/wicked/leaseinfo.eth0.auto.ipv6 is constantly being written!
Telcontar:~ # l /run/wicked/leaseinfo.eth0.auto.ipv6 -rw-r--r-- 1 root root 262 May 8 20:03 /run/wicked/leaseinfo.eth0.auto.ipv6 Telcontar:~ # l /run/wicked/leaseinfo.eth0.auto.ipv6 -rw-r--r-- 1 root root 262 May 8 20:04 /run/wicked/leaseinfo.eth0.auto.ipv6 Telcontar:~ #
This is the cause of the current problem that started this thread.
As I suggested in my first reply this morning "Sounds like a lease being renewed.".
Now, why is /run/wicked/leaseinfo.eth0.auto.ipv6 being written every minute, I have no idea. Maybe my router is the culprit again.
It is definitely your router.
No idea now how to find out.
Old fashioned debugging. Follow the logic and look for when it breaks. If a lease is being renewed, it is because it has expired. When it expires very quickly, that suggests it was issued with a very short lifetime. You ought to be able to see that in the log, I posted some typical messages earlier today. I get those on TW and leap15.5, but not on leap15.3 - maybe it is a wicked option that needs tweaking. Alternatively, run a tcpdump on the interface, only looking for ip6 traffic. Wireshark will probably break it down nicely for you. My hunch - your router is issuing ipv6 leases with 60second lifetime. Dunno why.
Maybe it is just a difference between wicked and NM.
I think the key difference is in NETCONFIG_DNS_POLICY.
cer@Beta:~> cat /run/NetworkManager/no-stub-resolv.conf
What about /run/dnsmasq-forwarders.conf ?
The Beta machine doesn't have dnsmasq.
So install it. That's what I did earlier, to test. -- Per Jessen, Zürich (17.8°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes