OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Zenarmor (Sensei) »
  • SOLVED Resolving hostname
« previous next »
  • Print
Pages: [1]

Author Topic: SOLVED Resolving hostname  (Read 9398 times)

Anael

  • Newbie
  • *
  • Posts: 19
  • Karma: 3
    • View Profile
SOLVED Resolving hostname
« on: November 02, 2020, 10:33:03 am »
Hi there,

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


« Last Edit: November 13, 2020, 02:59:05 pm by Anael »
Logged

sy

  • Sr. Member
  • ****
  • Posts: 337
  • Karma: 28
    • View Profile
Re: Resolving hostname
« Reply #1 on: November 02, 2020, 05:40:41 pm »
Hi Anael,

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

Anael

  • Newbie
  • *
  • Posts: 19
  • Karma: 3
    • View Profile
Re: Resolving hostname
« Reply #2 on: November 03, 2020, 07:28:13 pm »
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.
« Last Edit: November 03, 2020, 07:30:03 pm by Anael »
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2052
  • Karma: 94
    • View Profile
Re: Resolving hostname
« Reply #3 on: November 03, 2020, 07:48:57 pm »
If you use Services -> Unbound DNS you have the option to tick

Code: [Select]
DHCP Registration
which has the following info text:

Quote
If 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?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

Anael

  • Newbie
  • *
  • Posts: 19
  • Karma: 3
    • View Profile
Re: Resolving hostname
« Reply #4 on: November 04, 2020, 12:53:59 pm »
Will try. I didn't use unbound
Logged

sy

  • Sr. Member
  • ****
  • Posts: 337
  • Karma: 28
    • View Profile
Re: Resolving hostname
« Reply #5 on: November 04, 2020, 06:49:56 pm »
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.
Logged

Anael

  • Newbie
  • *
  • Posts: 19
  • Karma: 3
    • View Profile
Re: Resolving hostname
« Reply #6 on: November 06, 2020, 02:37:04 pm »
Will do it when i'll be back at home. Thanks !
Logged

Anael

  • Newbie
  • *
  • Posts: 19
  • Karma: 3
    • View Profile
Re: Resolving hostname
« Reply #7 on: November 13, 2020, 02:58:54 pm »
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..  ;)
Logged

amichel

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 3
    • View Profile
Re: SOLVED Resolving hostname
« Reply #8 on: November 17, 2020, 06:28:56 pm »
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
Logged

Anael

  • Newbie
  • *
  • Posts: 19
  • Karma: 3
    • View Profile
Re: SOLVED Resolving hostname
« Reply #9 on: November 18, 2020, 03:10:00 pm »
in System: Settings: Administration
try to tick  DNS Rebind Check
Logged

amichel

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 3
    • View Profile
Re: SOLVED Resolving hostname
« Reply #10 on: November 18, 2020, 05:05:07 pm »
That worked !
Thank you
amichel
Logged

IanJSaul

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: SOLVED Resolving hostname
« Reply #11 on: September 27, 2021, 04:29:36 am »
Same here - fully updated system in Sept. 2021 - Thanks!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Zenarmor (Sensei) »
  • SOLVED Resolving hostname
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2