portmaster icon indicating copy to clipboard operation
portmaster copied to clipboard

NextDNS is compatible

Open dhaavi opened this issue 5 years ago • 17 comments

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:

Screenshot from 2021-04-14 14-11-25

Block detection also works:

Screenshot from 2021-04-14 14-12-55

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.

dhaavi avatar Apr 14 '21 12:04 dhaavi

added the report to the docs, hence this can be closed

davegson avatar May 03 '21 15:05 davegson

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.

DevilInMachine avatar Dec 08 '21 20:12 DevilInMachine

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 avatar Jan 17 '22 11:01 ThomasDalla

@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).

image 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

PoorPocketsMcNewHold avatar Jan 20 '22 16:01 PoorPocketsMcNewHold

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).

ThomasDalla avatar Jan 22 '22 08:01 ThomasDalla

Thank you, it's working for me.

Stofa14 avatar Aug 09 '22 21:08 Stofa14

Thank you so much 🕺🏽

Bastigonzales avatar Mar 03 '23 17:03 Bastigonzales

It works. Thanks!

rollecode avatar Mar 21 '23 18:03 rollecode

ipv6 ??

fnyaker avatar Apr 28 '23 11:04 fnyaker

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

pixincreate avatar May 24 '23 18:05 pixincreate

So when it is configured within Portmaster there is no need to use the NextDNS software itself since Portmaster will take care of everything?

0x8j0rn4r80r93 avatar Aug 21 '23 18:08 0x8j0rn4r80r93

@bjorneyz you are correct.

Raphty avatar Aug 22 '23 07:08 Raphty

Can Someone show me an example how the doh (DNS over HTTPS) should look?

H1ghSyst3m avatar Oct 21 '23 22:10 H1ghSyst3m

@H1ghSyst3m

image

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 image

So add you custom url in the first line and then click the QS and CF fallback.

Raphty avatar Oct 23 '23 08:10 Raphty

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 avatar May 09 '24 18:05 katastrophe92

@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.

Raphty avatar May 10 '24 08:05 Raphty

@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

katastrophe92 avatar May 10 '24 15:05 katastrophe92