AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
25.43k stars 1.83k forks source link

DNS rewrites don't generate corresponding PTR record for IP addresses #4873

Open anaander opened 2 years ago

anaander commented 2 years ago

Prerequisites

Operating system type

Linux, Other (please mention the version in the description)

CPU architecture

AMD64

Installation

Docker

Setup

On one machine

AdGuard Home version

v0.107.11

Description

What did you do?

Created a DNS rewrite for a local IP address and hostname

Expected result

In addition to an A record, a PTR record would be created to allow reverse lookups.

Actual result

No PTR record is created, lookups only work in one direction (lookup of hostname works, lookup of IP fails)

Screenshots (if applicable)

Additional information

PTR records are a vital part of network infrastructure validation and should be a part of any modern DNS configuration.

ainar-g commented 2 years ago

Hello. It is currently recommended to use the dnsrewrite rules instead of the rewrites on the Filters → DNS rewrites page. You can add PTR records with these as well.

The DNS rewrites feature should have a massive redo in the v0.108 cycle, and we'll include this when planning it. Thanks.

inventorematto commented 2 years ago

Hello Guys! Same need here! Since i've moved all my local DNS entries from /etc/hosts (mapped file on docker container) to the "dns rewrite" page im not able to lookup anymore.

Query LOG ptr1

DNS Rewrite Rule ptr2

NSLookup made by name (working) ptr3

NSLookup made by IP address (not-working) ptr4

Thanks in advance!

ainar-g commented 2 years ago

@inventorematto, please file a separate issue or discussion about your problem, as it doesn't concern the DNS rewrites page functionality. Thanks.

mikev1963 commented 2 months ago

I guess its back to pihole. Who would create a DNS server and not include PTR records?

lordlightman commented 3 weeks ago

Wow, so 2 years have passed and still no progress regarding this issue?