Pi-Hole is forwarding local dns entries to upstream for AAAA entries

Hello,

i try to disable these forwarding. I already read this thread:

There is said, that a custom dnsmasq config should be set.

So i set:

root@dns01:~# cat /etc/dnsmasq.d/01-local.conf
local=/intern.my_url.com/

And set in pihole.toml: etc_dnsmasq_d = true

Expected Behaviour:

Requesting sub.intern.my_url.com is not sent upstream whether for A nor for AAAA records.

Actual Behaviour:

It's sent upstream.

Query received on:  2025-02-27 21:11:54.006
Client:  10.0.14.11
Query Status:  Forwarded to 10.0.13.1#53
Reply:  No reply received
Database ID:  

Debug Token:

[?] Would you like to upload the log? [y/N] y
    * Using curl for transmission.
    * curl failed, contact Pi-hole support for assistance.
    * Error message: curl: (22) The requested URL returned error: 400

[✗] There was an error uploading your debug log.
   * Please try again or contact the Pi-hole team for assistance.
   * A local copy of the debug log can be found at: /var/log/pihole/pihole_debug.log

What is the output of the following pcommand from the Pi-hole host OS terminal?

cat /etc/resolv.conf

That's the output:

domain intern.my_url.com
search intern.my_url.com
nameserver 10.0.13.111

10.0.13.111 is the PiHole IP.

Edit the file, change the contents to this (delete everything else)

nameserver 1.1.1.1

Close the file and try to upload a new debug log.

Hey, the debug token is: https://tricorder.pi-hole.net/mRMqYJqm/

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.