Bug 12664 - unbound-dhcp-leases-bridge does not properly handle underscores given by DHCP clients
Summary: unbound-dhcp-leases-bridge does not properly handle underscores given by DHCP...
Status: NEW
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all All
: - Unknown - Balancing
Assignee: Stefan Schantl
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-30 09:56 UTC by Peter Müller
Modified: 2021-08-05 20:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?