What's new

DNS Director only partially redirecting hardcoded DNS (Pi-hole setup) – mixed Google/Cloudflare results

S

SocratesBackup

Guest
I’m running into what looks like inconsistent DNS Director behavior on Merlin and I’m hoping someone can sanity-check my setup. Basically, I believe I have a set up DNS Director correctly, but for some reason, it seems to be sending DNS queries to both my Pihole and to the hardcoded DNS at the same time. Which basically means that ads still get shown, and that DNS director is not doing its job.

### 🔧 Router Info

* Router: **GT-AX11000**
* Firmware: **3004.388.9_2_rog**
* IPv6: **Disabled (Connection Type: Disable)**
* Pi-hole upstream DNS: **1.1.1.1 (Cloudflare)**

Under WAN Settings:
* Prevent client auto DoH : **Yes**

Under Administration:
*Enable JFFS custom scripts and configs: **No**

Unique to my Setup:
*Home Assistant Integration: **Yes** (Works like a charm, but I honestly would not know if it has anything to do with this)
---

## 🧱 Setup

### LAN → DHCP Server

* DNS Server 1 = Pi-hole IP 1 = 192.168.1.61
* DNS Server 2 = Pi-hole IP 2 = 192.168.1.8
* Advertise router’s IP in addition to user-specified DNS = **No**
1771303695913-png.70319



### LAN → DNS Director

* DNS Director = Enabled
* User Defined 1 = Pi-hole IP
* Global Redirection = **User Defined 1**
* Pi-hole device 1 = **No Redirection**
* Pi-hole device 2 = **No Redirection**

1771303889461-png.70320

---

## 🧪 Testing Scenarios

### Scenario 1 – Windows using DHCP (gets Pi-hole DNS)

When Windows is set to automatic DNS:

DNS leak test shows only **Cloudflare**. And this makes sense:
Client → Pi-hole → Cloudflare

Ads are properly blocked and here is the output for What is My DNS Server: https://www.top10vpn.com/tools/what-is-my-dns-server.

```
Windows Settings And DNS web Result for DHCP:
1771305673089.png

```



---

### Scenario 2 – Windows manually set to 8.8.8.8

DNS Director = No Redirection

Leak test shows only **Google**.

Expected and correct. No ads are blocked because Pihole is not being assigned and DNS is not being redirected.

```
Windows Settings And DNS Leak Result for hardcoded DNS:
1771305184697.png

```


---

### Scenario 3 – Windows manually set to 8.8.8.8

DNS Director = Global Redirection → User Defined 1 (Pi-hole)

Now leak test shows a **mix of Google and Cloudflare**.

This is the confusing part.

If DNS Director is properly redirecting 8.8.8.8 → Pi-hole, I would expect results identical to Scenario 1 (all Cloudflare).

Instead, it appears some queries are still reaching Google. This explains why I continue to see ads. See the results below:


```
Windows Settings And DNS Result for hardcoded DNS with Redirection to Pihole
1771306732433.png

```



---

## 🧪 Additional Testing

IPv6 is disabled on the router:

```
IPv6
Connection type: Disable
```

Windows test:

```
nslookup google.com 8.8.8.8
→ Works

nslookup google.com 2001:4860:4860::8888
→ No response
```

So IPv6 does not appear active on the client side.

DoH is disabled in Windows.

---

## ❓ What I’m Trying to Understand

1. Is DNS Director supposed to fully prevent hardcoded DNS usage?
2. Does DNS Director only redirect queries but not fully rewrite responses?
3. Is mixed DNS leak output expected behavior in this setup?
4. Is this a known limitation/bug in 3004.388.x?

If anyone running Merlin + Pi-hole + DNS Director can confirm expected behavior, I’d really appreciate it.
 

Attachments

  • 1771303695913.png
    1771303695913.png
    434 KB · Views: 83
  • 1771303889461.png
    1771303889461.png
    341.6 KB · Views: 75
As a troubleshooting step, have you tried setting the DNS Director Global Redirection to User Defined DNS 2 (the Raspberry Pi-Hole) to see if the issue persists?

Does the Windows device used for the testing have more than one network adapter active?
Have you tried experimenting with a different or second device to see if the behavior is replicated on your network?

Not sure I've seen such behavior with the Asus-Merlin 3006.102.x firmware with DNS Director + Pi-Hole (on a Raspeberry Pi device) + Unbound. The Pi-Hole diagnostics log shows the requests from hard coded DNS entries on the client device as coming from the router (which it should per the DNS Director settings). But then again I do block Google's DNS's (8.8.8.8 and 8.8.4.4) using the LAN > Route page:
Route.jpg

Generally how I have my Pi-Hole, RT-AX86U Pro router, Guest Network Pro, and DNS Director configured is detailed at the following post:
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top