DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...

Started by Meik, October 22, 2017, 09:03:53 PM

Previous topic - Next topic
Hi @all,

I have a OPNsense with DHCP und Unbound DNS running.

and, I have a DHCP Client (Snom Phone with a . (DOT) in the Name):

unbound: [10850:0] error: error parsing local-data at 16 'Snom-Heavy-C..crasydomain.org IN A 10.1.32.213': Empty Label

Not the best Name (now reconfigured), but this brings the Unbound DNS to Crash, if "Register DHCP-Leases in DNS-Resolver" is enabled.
In the gui I can't remove the entry's (delete the Lease in DHCP not working), the only possible way to bring back Unbound DNS i to deactivate "Register DHCP-Leases in DNS-Resolver".

1. any way to drop the wrong entry to bring back "Register"
2. ToDo: Create a filter to put only valid Names in the DNS

Thansk  for Help - Meik

No one? :-( / or better bug tracker?

have rebuild it on a second installation, there the DNS crashes also, on DHCP-Leases names with .(dot) at the end


the log line says two dots after each other which will probably cause issues because the first '.' will be a null byte in dns which marks the end of the dns name.