Bug 12664

Summary: unbound-dhcp-leases-bridge does not properly handle underscores given by DHCP clients
Product: IPFire Reporter: Peter Müller <peter.mueller>
Component: ---Assignee: Stefan Schantl <stefan.schantl>
Status: NEW --- QA Contact:
Severity: Balancing    
Priority: - Unknown - CC: adolf.belka, michael.tremer
Version: 2   
Hardware: all   
OS: All   

Description Peter Müller 2021-07-30 09:56:08 UTC
Reported here: https://community.ipfire.org/t/not-all-local-hosts-resolve/5822/6

To the best of my knowledge, underscores are valid characters for FQDNs (unless they are terminal, I believe). Hence, we should process them when updating the Unbound dataset for a new DHCP client.
Comment 1 Adolf Belka 2021-07-30 10:18:14 UTC
Underscores are valid for the Domain Name part of the FQDN but they are not valid for the hostname.

See the subroutines validhostname, validdomainname and validfqdn in
general-functions.pl
Comment 2 Michael Tremer 2021-08-05 20:35:28 UTC
What is the issue being reported here? In what component?