Per Device DNS Setting


Occasional Visitor
My Setup is as follows : Asus RT-AX3000 running the latest Merlin firmware. I have Frontier internet and as their DNS is unstable I am using Google's DNS, (LAN - DHCP Server tab - DNS and Wins Server Setting)


I also have a pihole (DNS Server with adblocking features with static address

I only want my iphone to use the DNS, so in my iPhone's wifi settings, I set the DNS manually to and all's working well.

I'm wondering if I can do the same at the router level. My iPhone has a static IP address and I see a DNS Server (Optional) column (LAN - DHCP Server tab - Manually Assigned IP section), but setting that to doesn't do anything.



Part of the Furniture
Is the iPhone IP configured as a Manual IP in the WiFi settings? It would all have to be Automatic on the phone to get the reserved IP and DNS from the router DHCP settings.


Part of the Furniture
Sure, you can assign a specific DNS server using a manually assigned IP address.

But, you may be better off setting the DNS Server 1 and 2 in WAN. That way the router will use those DNS servers and the rest of your clients can use the router for DNS. Better yet set up DoT and DNSSEC in WAN to encrypt and verify DNS queries. Enable DNS Filtering to Router in LAN/DNS FIlter for added security. Then add the Pi-Hole IP address to LAN/DHCP Server/DNS Server 1 and leave DNS Server 2 blank so clients can fall back to the router if the Pi-Hole goes wonky.

Edit: Cloudflare Security (, is safer to use than Google


Occasional Visitor
Thanks guys, I tried the DNS Server (Optional) for my iPhone and it worked this time. Hope it stays that way.

@bbunge, I used to use Cloudflare Security, but my Weather Station stopped transmitting data so i switched to Google's DNS.


Part of the Furniture
As @bbunge mentioned you would be better off specifying and as your WAN DNS and leaving the LAN DNS fields empty. Otherwise you're not benefiting for the router's DNS caching and local name resolution.


Senior Member
Glad that's working.

FYI, another way to configure it is to have the clients point to pihole and pihole point to your router as the upstream DNS.


Occasional Visitor
@cptnoblivious Thank you.

I want to avoid too many points of failure, in your method, if pihole went down, my whole network would go down too. And I need adblocking only on my iPhone and a bunch of other devices, so I set their dns server to the pihole manually.

Latest threads

Sign Up For SNBForums Daily Digest

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