SOLVED Resolving hostname

Started by Anael, November 02, 2020, 10:33:03 AM

Previous topic - Next topic
November 02, 2020, 10:33:03 AM Last Edit: November 13, 2020, 02:59:05 PM by Anael
Hi there,

I can't find a way to resolve local hostnames.



Hi Anael,

Did you set the settings on Configuration - Reporting & Data - DNS Enrichment for Reports? What is your DNS Server?

November 03, 2020, 07:28:13 PM #2 Last Edit: November 03, 2020, 07:30:03 PM by Anael
Yes and i also tick :  Use OPNsense Host aliases for DNS enrichment

I put all my hostname in aliases with network and /32 by ip and it's the same.

Actually i use remote (1.1.1.1) dns in Sensei config meanwhile i use local (adguardhome) dns server. I will replace 9.9.9.9 by my local dns and see how it goes.

If you use Services -> Unbound DNS you have the option to tick

DHCP Registration

which has the following info text:

QuoteIf this option is set, then machines that specify their hostname when requesting a DHCP lease will be registered in Unbound, so that their name can be resolved.

Maybe that works for the reporting, too?
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Will try. I didn't use unbound

Hi @Anael,

Please send a bug report from the upper right corner of Sensei GUI by selecting all checkboxes. The team will look into the logs.

Will do it when i'll be back at home. Thanks !

Coming back to you as Salih from the support find the problem.

We had to use 192.168.1.3 and not 102.168.1.3/32 for aliases or it won't work.

If that call help ppl..  ;)

Hi,
I experience a similar issue. My DNS Server is a domain controller, so I decided to enter the IP Addresses of two of my DC/DNS servers to query. As I am not using the dns server locally on opnsense that should be sufficient.
Still I see no DNS names.
Since I am using the free edition, is the feature to query a remote DNS server a subscription based feature only?
amichel

in System: Settings: Administration
try to tick  DNS Rebind Check


Same here - fully updated system in Sept. 2021 - Thanks!

March 25, 2024, 06:05:46 PM #12 Last Edit: March 25, 2024, 06:39:01 PM by AnthonyStark
Hello,

even if it's an old post, I'll ask my question here.
I am using Zenarmor (1.16.4 - Mar 8, 2024 3:30 PM) and I have the problem that the IP addresses of the local systems are not resolved in the report.

I use AdGuard home on a RaspberryPI as DNS server and have set up UnboundDNS in OPNsense.

If I perform an nslookup on an IP address from the report via my PC, for example, the IP address is resolved, but this does not happen in the report.

The following options are activated:
Zenamor - Settings - DNS Enrichment for Reports
The Adguard IP was added
System - Settings - Administration - DNS Reping Check (disabled)

At first I thought it was a premium function that is not available in the free version. But when I read through the article here, it should also work in the free version or am I wrong?
As an alternative I could put OPNsense Host aliases, they will be resolved, but if possible I would like to avoid that.

Best regards
Anthony


Hi,

It could help to look into Zenarmor log files. Can you share a report by following the instructions in the below link.
https://www.zenarmor.com/docs/support/reporting-bug