AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

OPNsense installation rDNS / ARP for client mapping not working

Open werkkrew opened this issue 3 years ago • 4 comments

Prerequisites

  • [X] I have checked the Wiki and Discussions and found no answer

  • [X] I have searched other issues and found no duplicates

  • [X] I want to report a bug and not ask a question

Operating system type

OpenBSD

CPU architecture

AMD64

Installation

Custom port

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.16

Description

What did you do?

  • Configured opnsense DHCP with several static leases and associated hostnames
  • Configured unbound to register DHCP static lease names
  • Verified using dig and nslookup that these names do indeed exist, e.g. 192.168.1.50 might resolve to test_host
  • Verified this hostname is also visible in the opnsense ARP table
  • Configured AGH to use unbound (127.0.0.1:5353) as reverse lookup DNS server for private reverse name resolution

Expected result

  • AGH reports IP's such as 192.168.1.50 as test_host in the logs and client table without the need for a manual persistent client definition

Actual result

Runtime clients list is essentially blank, I have to enter all clients by hand in the persistent clients fields to get useful logs and reporting info.

Screenshots (if applicable)

https://i.imgur.com/x9N2yQX.png

https://i.imgur.com/HUpGiEX.png

https://i.imgur.com/6SmAmvy.png

Additional information

werkkrew avatar Oct 25 '22 02:10 werkkrew

Just to be clear, something like dig +short -x 192.168.1.184 @localhost -p 5353 returns a correct result?

agneevX avatar Oct 25 '22 16:10 agneevX

Yes, my opnsense box doesnt have dig on it so I ran it from another box substituting @localhost for the unbound ip:

https://i.imgur.com/pPWHp4L.png

werkkrew avatar Oct 25 '22 17:10 werkkrew

Is there anything in query log?

agneevX avatar Oct 25 '22 20:10 agneevX

Sure, the query log appears to work fine, but I have mapped most of the clients persistently. Nothing related to the reverse dns shows up in the query log.

On Tue, Oct 25, 2022 at 4:24 PM Agneev Mukherjee @.***> wrote:

Is there anything in query log?

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/5070#issuecomment-1291094638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMZNMDMOJTAH5RSN5ZXQDWFA6W7ANCNFSM6AAAAAARNRGVXM . You are receiving this because you authored the thread.Message ID: @.***>

werkkrew avatar Oct 25 '22 21:10 werkkrew

Hi there!

Are you still experiencing this?

ghost avatar Mar 26 '24 08:03 ghost

No, it seems to have become resolved at some point.

Thank you.

On Tue, Mar 26, 2024, 4:55 AM jslawler-gh @.***> wrote:

Hi there!

Are you still experiencing this?

— Reply to this email directly, view it on GitHub https://github.com/AdguardTeam/AdGuardHome/issues/5070#issuecomment-2019857545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGMZNO522GJAL3HJV2775LY2EZYRAVCNFSM6AAAAAARNRGVXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJZHA2TONJUGU . You are receiving this because you authored the thread.Message ID: @.***>

werkkrew avatar Mar 26 '24 11:03 werkkrew