AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

nslookup returns DNS request timed out after set `NXDOMAIN` or empty record custom filter

Open toorich opened this issue 1 year ago • 1 comments

Prerequisites

Platform (OS and CPU architecture)

Windows, AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.59

Action

Set Custom filtering rule like ||wikipedia.org^$dnsrewrite=NXDOMAIN then run the following command in Command Prompt:

nslookup -debug zh.wikipedia.org 192.168.1.100

Expected result

Returns Non-existent domain

Actual result

Returns DNS request timed out

>nslookup -debug zh.wikipedia.org 192.168.1.100
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 1, rcode = NXDOMAIN
        header flags:  response, want recursion, recursion avail.
        questions = 1,  answers = 0,  authority records = 1,  additional = 0

    QUESTIONS:
        100.1.168.192.in-addr.arpa, type = PTR, class = IN
    AUTHORITY RECORDS:
    ->  100.1.168.192.in-addr.arpa
        ttl = 10 (10 secs)
        primary name server = fake-for-negative-caching.adguard.com
        responsible mail addr = hostmaster.100.1.168.192.in-addr.arpa
        serial  = 100500
        refresh = 1800 (30 mins)
        retry   = 900 (15 mins)
        expire  = 604800 (7 days)
        default TTL = 86400 (1 day)

------------
服务器:  UnKnown
Address:  192.168.1.100

DNS request timed out.
    timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
    timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
    timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
    timeout was 2 seconds.
timeout (2 secs)
*** 请求 UnKnown 超时

Image

Additional information and/or screenshots

The request is LOGGED in the query log: Image

toorich avatar Apr 12 '25 20:04 toorich

Hello. Can't reproduce. You are receiving the “DNS request timed out” error not because of the rule you set, but for one of the following reasons:

  1. Network or router issues
  2. Traffic blocking (Port 53)
  3. Incorrect DNS server address
  4. Routing issues
  5. Issues with your ISP I think you’re experiencing one of the problems listed above.

sofvaskina avatar Aug 31 '26 10:08 sofvaskina