Quote from: sy on September 16, 2025, 08:36:06 AMHi,I looked and the majority of them only show IP addresses. For the ones that do show hostnames, I confirmed that they do not have an entry under Aliases in OPNsense, nor are they statically defined in Unbound DNS.
Could you verify whether the hostnames appear in the Live Sessions - Connections report under the Source Hostname column?
I think I found the root cause of my issue:
- When I first reported my issue, I had 2 local DNS servers defined under DNS Enrichment. I removed 1 of them.
- The remaining DNS server is a domain controller, and it had its own primary DNS pointed at OPNsense under its NIC adapter settings. I updated it so that it points to itself as the primary DNS.
- Reading online, for domain controllers, the NIC adapter should not be used to specify which DNS to use for recursive DNS lookups. Instead, a proper DNS forwarder should be configured via the DNS Manager. I did this, and pointed the forwarder to OPNsense.
With how it was configured previously, I think it was causing a vicious loop of the DC and OPNsense querying each other and not going anywhere.
Now with the changes I listed above, I see hostnames correctly populating in the Live Sessions view and Reports.
Hope this helps others.