OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: WiteWulf on July 12, 2026, 12:43:13 PM

Title: Use Hostnames Instead of IP Address In Reporting (Possibly DNS/DHCP Problem)
Post by: WiteWulf on July 12, 2026, 12:43:13 PM
I'm running 26.1.11 as VM on proxmox. I've searched the forums and only found people asking specifically about this with respect to Zenarmour reports, and those threads didn't address my issue.

Is it possible to have OPNsense use local hostnames in reports such as Traffic and Unbound DNS?

I have static entries in dnsmasq for all the hosts I care about on my LAN, but the above reports only ever use their IP addresses (v4 and v6).

As I'm using RA to assign v6 addresses I don't expect to see those resolved, but the v4 addresses would be useful.

I'm using the standard Unbound on port 53, forwarding queries for my local domain (osx.ninja) to dnsmasq on 53053. Local name resolution works (i.e. I can ping pdu.osx.ninja and get 192.168.1.6), but I can't get reverse resolution (ie. dig -x 192.168.1.6 returns NXDOMAIN), except for the device itself (dig -x 192.168.1.1 correctly returns opnsense.osx.ninja).
Title: Re: Use Hostnames Instead of IP Address In Reporting (Possibly DNS/DHCP Problem)
Post by: meyergru on July 12, 2026, 12:53:56 PM
This has nothing to do with Proxmox.

If you want Unbound to resolve local hostnames, you will most likely have the domain osx.ninja forwarded to Dnsmasq on port 53053.
You must do the same for "1.168.192.in-addr.arpa" to enable reverse lookups.
Title: Re: Use Hostnames Instead of IP Address In Reporting (Possibly DNS/DHCP Problem)
Post by: WiteWulf on July 12, 2026, 01:44:03 PM
I understand that it's nothing to do with proxmox, thanks, but I like to give plenty of detail about the opnsense instance I'm requesting assistance with, as it's traditional to criticise people for not doing so.

As stated, I'm already forwarding requests for osx.ninja to dnsmasq. I'll do the same for 1.168.192.in-addr.arpa

Time passes...

Thanks that worked perfectly! Reverse resolution works, and reporting is now using hostnames👍