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: CLOSED INSUFFICIENT_DATA
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: 2025-02-02 12:17 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?
Comment 3 Adolf Belka 2025-02-02 12:17:53 UTC
There has been no response to this for 3.5 years.

An underscore in the hostname is not valid.

The unbound-leases-bridge code has been significantly changed at the end of 2024.

Based on the above I am closing this bug.
If it is considered to still be valid then it can be re-opened together with the supporting information from the current Core Update.