Conditional configuration and renaming

My router doesn't support DoH or DoT, and i can't install openWRT. But if it is possible to set up the system I have described below, I would like to use my windows pc as a "smart" DNS server (or NextDNS client, idk what to call it) in my own network. If it works, then I might get a Raspberry Pi for this job and keep it on all the time.

Basically, it routes the dns requests based on client IP addresses and MAC addresses.

if client has IP address of
-> use https://dns.nextdns.io/<ConfigID1>/MyTvBox

if client has MAC address of 12:34:56:78:9A:BC
-> use https://dns.nextdns.io/<ConfigID1>/MyTablet

if it doesn't match any rule (default case)
-> use https://dns.nextdns.io/<ConfigID2>/<WifiDeviceName>--<MacAddress>

For example when a Xiaomi/Redmi phone sends a dns request, it can be resolved with this url:
So that it will use different configuration than my other devices and i will be able see the device name in the logs.

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 7 mths agoLast active
  • 2Replies
  • 225Views
  • 2 Following