OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
« previous next »
  • Print
Pages: [1]

Author Topic: DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...  (Read 3315 times)

Meik

  • Newbie
  • *
  • Posts: 13
  • Karma: 1
    • View Profile
DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
« 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
Logged

Meik

  • Newbie
  • *
  • Posts: 13
  • Karma: 1
    • View Profile
Re: DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
« Reply #1 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13986
  • Karma: 1211
    • View Profile
Re: DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
« Reply #2 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
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
« Reply #3 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • DHCP lease with . (DOT) crashes Unbound DNS if Register DHCP-Leases in DNS...
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2