0

NextDNS CLI Router Setup

Hello. I have the cli working properly on  on a raspberry pi connected to my router. The router is using the DNS on the raspberry pi. It will work with a default profile. And it will work on a subnet profile. But it will not work on a MAC address profile. It seems to bypass it and go to the base profile. The MAC address is correct as I have checked it dozens of times thinking I might have a typo but to no avail.

Any assistance on this would be greatly appreciated or help pointing me somewhere to try something.. The router is an Orbi RBR750 if that helps.

 

thank you.

8 replies

null
    • R_P_M
    • 2 days ago
    • Reported - view

    The MAC address may not be being passed on to the pi, so the CLI won’t know and puts it on the default profile. 
    Is the DNS being setup under DHCP or via the router IP?

    Also does the MAC profile line appear before the default profile line, from the “nextdns config” file?  I believe it chooses the first match on the list. 

      • David.75
      • 2 days ago
      • Reported - view

      Under LAN Setup (Orbi Mesh rbr750), Use Router as DHCP Server is ticked and it assigns all the items attached to the wifi it's on ip address and name.

      Do I need to do more?

      I guess I'm not entirely sure how to pass that over - forgive me ignorance.

      • R_P_M
      • yesterday
      • Reported - view

       Ok, I’ll have to do a bit of research on the Orbi Mesh interface. Find out for you where exactly you should be setting the DNS IP for the pi with the CLI installed. 

      • David.75
      • yesterday
      • Reported - view

      Maybe these screenshots will be helpful.

      First image: Where the red arrow is pointing is what I have for the eth0 > inet in ifconfig on the raspberry pi.

       

      Second image: Router set to use DHCP Server with a range (2-254 for devices with 2 I served) of the base router IP.

       

      So it works on a base profile... it's just any MAC address is ignored (and the orbi is displaying the mac addresses properly ... on the second screenshot if I go to add an address reservation it will show connected devices with their appropriate MAC address.

       

      Not sure where the breakdown is happening. If it's in this router setting or if it's something on the rpi.

       

      Thanks again for looking and trying to help :)

      • R_P_M
      • 22 hrs ago
      • Reported - view

      After looking at the User Manual for the RBR750, it appears there is no option to add the RPi IP in the DHCP section for DNS. This means that devices connected will not be exposing their MAC address to the Pi (& CLI) because the requests are going through the router first (a security feature to not expose MAC to the internet).

      This means that MAC profile filtering will not work in your current setup. I would suggest you simply reserve IPs for your devices and use those IPs to filter for profiles.

      • David.75
      • 20 hrs ago
      • Reported - view

      How would I go about this? It appears you can only filter via subnet and mac addresses according to the docs on the nextdns CLI? Unless I'm missing something?

      • R_P_M
      • 18 hrs ago
      • Reported - view

       Ah, well, you can have a subnet of only one IP address. Just use /32 at the end of the IP. 

    • David.75
    • yesterday
    • Reported - view

    Does anyone else have any insight into this?

Content aside

  • 18 hrs agoLast active
  • 8Replies
  • 94Views
  • 2 Following