OPNsense Forum

English Forums => General Discussion => Topic started by: bogardon on April 25, 2025, 06:59:59 PM

Title: Display hostname in addition to IPs in various UIs?
Post by: bogardon on April 25, 2025, 06:59:59 PM
Hi,

I've set it up so unbound dns registers dhcp leases. It mostly works great, Reporting -> Unbound DNS -> Details shows hostnames instead of ips, and even Reporting -> Insight works as long as you tick Reverse Lookup.

However if you go into Reporting -> Insight -> Details, you only see ips instead of hostnames. This is true for many other parts of OPNsense as well, for example Services -> Intrusion Detection -> Administration -> Alerts.

Is it possible to have OPNsense display hostname in addition to IPs wherever possible? If this isn't possible, would this be a reasonable feature request? I have a bad memory and it's kind of annoying to have to keep going back to the leases table to see which device an IP belongs to :)
Title: Re: Display hostname in addition to IPs in various UIs?
Post by: youngster2002 on June 04, 2025, 12:48:12 PM
I just enabled IPS and came looking for the same thing, it would be great to have the option to resolve the ips, especially the source to names in alerts.
Title: Re: Display hostname in addition to IPs in various UIs?
Post by: meyergru on June 04, 2025, 02:11:16 PM
The raw data collection can only see IPs, so in order to display names, you would have to do reverse lookups. This is slow and also, when you look at old entries, the association may have changed in the meantime, anyway.