CLI does not identify devices
Hi there,
I have nextdns setup in a raspberry pi with the following conf:
timeout 5s
discovery-dns 192.168.1.1
listen 192.168.1.1:53
log-queries false
cache-size 10MB
cache-max-age 0s
report-client-info true
setup-router true
config 9ace77
hardened-privacy false
bogus-priv true
max-inflight-requests 256
discovery-dns 192.168.1.1
detect-captive-portals false
auto-activate true
control /var/run/nextdns.sock
max-ttl 5s
mdns all
use-hosts true
Both bold lines have been an attempt to use this https://help.nextdns.io/t/35hzytw/nextdns-cli-not-reporting-hostname potencial fix however I still cannot get this to work.
Can you help me please?
5 replies
-
When you use setup-router=true, NextDNS CLI ignores any listen settings, see
nextdns config set -help
You also have discovery-dns listed twice, but I don't think that is related to your issue.
The discovery-dns should be the IP of the device handing out DHCP reservations, typically your router. When you specify a "listen" IP, it refers to the host running NextDNS CLI.
What is the IP of your PI? What is the IP of your DHCP server?
Update your config and restart your router and PI. See how that goes.
-
Hi Jon,
Thanks for helping, I've done as you suggested and kept it like this:
hardened-privacy false
bogus-priv true
use-hosts true
timeout 5s
setup-router true
log-queries false
cache-max-age 0s
cache-size 10MB
max-inflight-requests 256
auto-activate true
listen 192.168.1.201:53
control /var/run/nextdns.sock
max-ttl 5s
mdns all
report-client-info true
discovery-dns 192.168.1.1
detect-captive-portals false
config 9ace77
My router IP is 192.168.1.1 and the pi is running on 192.168.1.201. Does this look right?
I'm still getting device name # as you can see in the attached picture. What else can I try?
-
First thing: when router-setup = true any configured listen is ignored; so set that to false, restart nextdns. (this probably doesn't matter though)
Secondly, your graphic implies you have a LAN IP of 148.xx.xx.xx. 148.0.0.0/24 is a public IP space which should be behind a NAT router. So this is probably a cell phone on cell network? Then look to your nextDNS profile or the NextDNS app on the device. You should be able to configure the device name in the app.
Content aside
- 7 mths agoLast active
- 5Replies
- 1495Views
-
2
Following