OPNsense Forum

English Forums => 24.1 Production Series => Topic started by: phaze75 on February 07, 2024, 09:57:47 am

Title: 24.1 - Still no GUI list of Unbound DNS's dhcpleases.conf & host_entries.conf?
Post by: phaze75 on February 07, 2024, 09:57:47 am
Hey,

I just tried out the new Kea DHCP service and wanted to check if the DHCP leases and host entries are correctly added and maintained in Unbound. But I realized that there is still no way to check Unbound's config files /var/unbound/dhcpleases.conf and /var/unbound/host_entries.conf via the GUI. It is still necessary to open the console and access the files there.

Could we please get an additional GUI menu item under "/Services/Unbound DNS" where the current host entries and DHCP leases are displayed in a table? What is the point of being able to configure Unbound in the GUI and not being able to list its "resulting" DNS records that are currently being served to the network? This is a fundamental feature. Thanks!

For the record, the topic has already been addressed in the forum: https://forum.opnsense.org/index.php?topic=31871.0 (https://forum.opnsense.org/index.php?topic=31871.0)

Best regards.
Title: Re: 24.1 - Still no GUI list of Unbound DNS's dhcpleases.conf & host_entries.conf?
Post by: phaze75 on February 07, 2024, 11:50:45 am
I created a corresponding feature request in GitHub: https://github.com/opnsense/core/issues/7209 (https://github.com/opnsense/core/issues/7209)
Title: Re: 24.1 - Still no GUI list of Unbound DNS's dhcpleases.conf & host_entries.conf?
Post by: franco on February 07, 2024, 12:12:42 pm
These are steered/fed by DHCP leases and general setup of your Unbound and network...

I don't think adding a diagnostics frontend for the file contents is very helpful (also suggesting somebody can actually do something with it).


Cheers,
Franco
Title: Re: 24.1 - Still no GUI list of Unbound DNS's dhcpleases.conf & host_entries.conf?
Post by: phaze75 on February 07, 2024, 12:44:16 pm
Well, I understand that those records are steered/fed by the DHCP service. But still, the DHCP service is the sending end, and the DNS service is the receiving end (as DNS is not directly serving DHCP's config files). In order to check or troubleshoot I would like to be able to see what is actually served to the network by the respective service. On the DHCP side it is clear and viewable, on the DNS side it is not. Further, I would like to see the record types (A, AAAA, CNAME, etc.) and if the FQDNs are correct. So, imho checking a DNS zone is not an uncommon use case.

Best regards!