OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: Meik on October 22, 2017, 09:03:53 pm

Title: DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
Post by: Meik on October 22, 2017, 09:03:53 pm
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
Title: Re: DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
Post by: Meik on October 27, 2017, 04:48:30 pm
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
Title: Re: DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
Post by: franco on October 27, 2017, 06:07:39 pm
Hi Meik,

Yes, please, directly to the bug tracker: https://github.com/opnsense/core/issues


Thank you,
Franco
Title: Re: DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
Post by: fabian on October 27, 2017, 07:02:16 pm
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.