AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

PTR queries for DHCP clients aren't being affected by filtering rules

Open agneevX opened this issue 2 years ago • 4 comments

Prerequisites

  • [x] I am running the latest version
  • [x] I checked the documentation and found no answer
  • [ ] I checked to make sure that this issue has not already been filed

Issue Details

  • Version of AdGuard Home server:
    • 0.106.3
  • How did you install AdGuard Home:
    • Docker
  • How did you setup DNS configuration:
  • If it's a router or IoT, please write device model:
  • CPU architecture:
    • arm64
  • Operating system and version:
    • Ubuntu 20.04

Issue Details

I've created a rule that blocks PTR queries for my local network range.

Screen Shot 2021-10-16 at 4 53 40 PM

However, some queries are still being answered:

Screen Shot 2021-10-16 at 4 54 50 PM

Additional Information

Seems like it replies to queries when AGH is used as DHCP.

agneevX avatar Oct 16 '21 11:10 agneevX

Hm. If I recall correctly, PTR queries for IPs within locally served networks are processed before most of the filtering takes place. @EugeneOne1, please confirm.

@ameshkov, do we need an ability to filter out certain PTR requests within the locally served network?

ainar-g avatar Oct 18 '21 09:10 ainar-g

@ainar-g, yeah, all the PTR requests for private/local IPs (including DHCP leased) aren't filtered at all.

EugeneOne1 avatar Oct 18 '21 10:10 EugeneOne1

@ameshkov, ping?

ainar-g avatar Sep 07 '22 14:09 ainar-g

Probably, but with a very low priority IMO

ameshkov avatar Oct 10 '22 13:10 ameshkov