Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
resolv.conf created every 5 minutes
« previous
next »
Print
Pages: [
1
]
Author
Topic: resolv.conf created every 5 minutes (Read 3636 times)
aks0811
Newbie
Posts: 15
Karma: 0
resolv.conf created every 5 minutes
«
on:
April 20, 2020, 12:34:34 am »
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
«
Last Edit: April 20, 2020, 12:50:04 am by aks0811
»
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: resolv.conf created every 5 minutes
«
Reply #1 on:
April 20, 2020, 05:54:53 am »
You could try disabling Override of DNS Server from provider in System : Settings : General
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
aks0811
Newbie
Posts: 15
Karma: 0
Re: resolv.conf created every 5 minutes
«
Reply #2 on:
April 20, 2020, 06:42:00 am »
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
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: resolv.conf created every 5 minutes
«
Reply #3 on:
April 20, 2020, 08:10:41 am »
Did you force a reconnect after setting this option?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
aks0811
Newbie
Posts: 15
Karma: 0
Re: resolv.conf created every 5 minutes
«
Reply #4 on:
April 20, 2020, 12:23:01 pm »
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.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: resolv.conf created every 5 minutes
«
Reply #5 on:
April 20, 2020, 01:17:25 pm »
Maybe some DHCP renewals? Can you check is Unbound is restarting every 5 minutes?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
aks0811
Newbie
Posts: 15
Karma: 0
Re: resolv.conf created every 5 minutes
«
Reply #6 on:
April 20, 2020, 02:36:33 pm »
I'm not sure how to check if unbound is restarting every 5 minutes.
Thanks
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: resolv.conf created every 5 minutes
«
Reply #7 on:
April 20, 2020, 06:06:37 pm »
via console:
clog -f /var/log/resolver.log
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
aks0811
Newbie
Posts: 15
Karma: 0
Re: resolv.conf created every 5 minutes
«
Reply #8 on:
April 21, 2020, 12:09:31 am »
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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
resolv.conf created every 5 minutes