Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
/var/etc/dnsmasq-hosts in 22.1
« previous
next »
Print
Pages: [
1
]
Author
Topic: /var/etc/dnsmasq-hosts in 22.1 (Read 1876 times)
scat70
Newbie
Posts: 4
Karma: 0
/var/etc/dnsmasq-hosts in 22.1
«
on:
February 01, 2022, 09:01:35 am »
Hi!
I recently upgraded to 22.1, Generelly this worked fine, but I now have an odd dnsmasq problem. After a certain runtime (with " Register DHCP leases" enabled within a few minutes, without " Register DHCP leases" enabled within a one or two hours), the /var/etc/dnsmasq-hosts is either corrupted (lots of "^@^@" entries) or all static DHCP entries are missing. After restarting dnsmasq the file is correctly regenerated and everything is fine again - for the next minutes or hours. Then local DNS is once again not available, as something strange happend again to /var/etc/dnsmasq-hosts
Thanks, Marc
Logged
scat70
Newbie
Posts: 4
Karma: 0
Re: /var/etc/dnsmasq-hosts in 22.1
«
Reply #1 on:
February 01, 2022, 04:37:00 pm »
Hi!
I switched to Unbound now and deactivated dnsmasq. Hope this solves my issues. So far no problems with Unbound.
BR, Marc
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: /var/etc/dnsmasq-hosts in 22.1
«
Reply #2 on:
February 02, 2022, 02:19:54 pm »
Hi Marc,
Thanks for the report. I'll keep this under observation but the service that writes /var/etc/dnsmasq-hosts is going to be replaced anyway, see
https://github.com/opnsense/core/issues/5119
No idea if the problem is new on FreeBSD 13 or if that was always the case under certain conditions (likely not trivial to reproduce). I have been using Dnsmasq for a long time myself.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
/var/etc/dnsmasq-hosts in 22.1