dnsmasq setup with NextDNS
Hi all,
I found this guide : https://github.com/nextdns/nextdns/wiki/DNSMasq-Integration but I think it may require some clarifications, it is a little raw right now.
I'm using NextDNS cli on my Macbook and I need to use also dsnmasq. Whenever I issue
nextdns activate
I loose internet connectivity.
Help would be appreciated.
Thanks
13 replies
-
When changing NextDNS port, I get :
sh-3.2# nextdns activate Error: activate: 127.0.0.1:5555: non 53 port not supported
This is not even consistent with this doc: https://github.com/nextdns/nextdns/wiki/Configuration-File-Format
# Example configuration for NextDNS. listen :5353 setup-router yes report-client-info yes
(empty)
-
Found this ticket, digging into it right now:
-
I made it work for a while: dnsmasq was properly resolving local lookups and forwarding to nextdns on port 5555. Even my.nextdns.io was showing "You are using nextdns".
But this is unstable: I connected to a distant VPN for a while. When I logged out, I could not resolv external lookups (internal lookups were still working fine).
sh-3.2# telnet localhost 53 Trying ::1... Connected to localhost. Escape character is '^]'.
sh-3.2# telnet localhost 5555 Trying ::1... Connected to localhost. Escape character is '^]'.
sh-3.2# nslookup hello.test Server: 127.0.0.1 Address: 127.0.0.1#53 Name: hello.test Address: 127.0.0.1
sh-3.2# nslookup google.com Server: 127.0.0.1 Address: 127.0.0.1#53 ** server can't find google.com: REFUSED
A nextdns restart did not fix.
Any help would be appreciated.
Thanks
-
If you are leveraging the VPN from your Mac you might want to check out Viscosity. You can configure it to reset the network when you close you VPN and I suspect that will sort you out.
Content aside
- 1 yr agoLast active
- 13Replies
- 1337Views
-
3
Following