resolv.conf created every 5 minutes

Started by aks0811, April 20, 2020, 12:34:34 AM

Previous topic - Next topic
April 20, 2020, 12:34:34 AM Last Edit: April 20, 2020, 12:50:04 AM by aks0811
Hi,
I'm seeing entries like this "dhclient: Creating resolv.conf" written to general system log exactly every 5 minutes and wanted to know what could cause this. The content of the /etc/resolv.conf includes the 2 ip addresses of my ISP's dns's along with:
domain localdomain
nameserver 127.0.0.1

I've searched for this elsewhere but couldn't find any definitive answers.
Is there some setting I can tweak to increase the time? Could it be my ISP expiring the lease every 5 minutes ?
Any help would be appreciated. I'm running 20.1.4
Thanks
Alan

You could try disabling Override of DNS Server from provider in System : Settings : General

Thanks for this info. I disabled "Allow DNS server list to be overridden by DHCP/PPP on WAN", which I assume is what you refer to, but I still see the same messages every 5 minutes


Yes, but no change. Messages are still appearing every 5 minutes to the second. I called my service provider and they're not forcing any lease renewals either.

Maybe some DHCP renewals? Can you check is Unbound is restarting every 5 minutes?

I'm not sure how to check if unbound is restarting every 5 minutes.
Thanks


The last log entry was last night, my time, about 8 hours ago. But the reosolv.conf messages were still created all through this time in the system log.