NextDNS is compatible
What worked?
I was able to successfully configure NextDNS within the Portmaster using the DNS Servers setting, the DNS Configuration Guide and a test account from NextDNS.
🚨🚨🚨 You will need to adjust the DNS Server configuration according to your account. 🚨🚨🚨
Take the IP address from the right, and your custom domain name (for verify=) from the left.
With the test account, I used:
dot://45.90.28.144?verify=43ab19.dns.nextdns.io&name=NextDNS&blockedif=zeroip
The test account page:

Block detection also works:

What did not work?
I did not test using NextDNS with their own client software - I also don't recommend using such a technically similar software alongside the Portmaster as they will get in each others way.
added the report to the docs, hence this can be closed
One unpleasant thing is that in the control panel NextDNS all requests from Portmaster are signed "Unidentified devices", that is, the name of the device is not transmitted in any form, as a result it is impossible to watch the DNS logs of the computer with Portmaster separately from other devices.
Another unpleasant side effect of using the IP is that it needs to be linked to the account on NextDNS, which is usually your home IP so it doesn't work when you go out of your home network. It would be a lot better if Portmaster used bootstrap DNS like Pi-hole and AdGuard-Home do so that we can setup the custom DoT hostname in Portmaster (and not only identify the device but also work everywhere without IP binding needed).
@ThomasDalla commented on Jan 17, 2022, 11:44 AM UTC:
Another unpleasant side effect of using the IP is that it needs to be linked to the account on NextDNS, which is usually your home IP so it doesn't work when you go out of your home network.
It would be a lot better if Portmaster used bootstrap DNS like Pi-hole and AdGuard-Home do so that we can setup the custom DoT hostname in Portmaster (and not only identify the device but also work everywhere without IP binding needed).
It can actually be done.
As described on the ¨Identify your devices¨ on NextDNS configuration website.
DNS-over-TLS Prepend the name to the provided domain (the name should only contain a-z, A-Z, 0-9 and -). Use -- for spaces. For "John Router", you would use John--Router-f1528d.dns.nextdns.io as your DNS-over-TLS endpoint.
So, in the OP example, it would be :
dot://45.90.28.144?verify=portmasterhome-43ab19.dns.nextdns.io&name=NextDNS&blockedif=zeroip
I was under the impression that it was only the hostname to verify the IP but if that works, it's great.
It still requires IP binding though, so when on the move on a laptop for example, it doesn't work anymore if your home network is registering the IP (standard use case).
Thank you, it's working for me.
Thank you so much 🕺🏽
It works. Thanks!
ipv6 ??
With the release of v0.9, Portmaster supports DoT and DoH end-to-end.
| DoH | DoT |
|---|---|
| https://dns.nextdns.io/12ab34 | dot://12ab34.dns.nextdns.io |
| https://dns.nextdns.io/12ab34/CustomName | dot://CustomName-12ab34.dns.nextdns.io |
So when it is configured within Portmaster there is no need to use the NextDNS software itself since Portmaster will take care of everything?
@bjorneyz you are correct.
Can Someone show me an example how the doh (DNS over HTTPS) should look?
@H1ghSyst3m
You will need a DNS with an ip address in there, so your URL from Next DNS can be resolved.
This is why there is the Cloudflare backup quick setting
So add you custom url in the first line and then click the QS and CF fallback.
Hello Portmaster Community! In the first line should I add my NextDNS DNS-over-TLS/QUIC or DNS-over-HTTPS or both in separate lines and as fallback DNS can be NextDNS IP also be added? IPv6 is not indicated to be used? Sorry for too many questions. Thanks!
@katastrophe92 I like dot more, so I would start with that and bellow doh
as a fallback we recommend going with something reliable like cloudflare, but you can add multiple, Portmaster will always use the top one and if that fails it goes down the list in order.
@katastrophe92 I like dot more, so I would start with that and bellow doh
as a fallback we recommend going with something reliable like cloudflare, but you can add multiple, Portmaster will always use the top one and if that fails it goes down the list in order.
Nice. Thanks for the reply