1

NextDNS CLI: DoH route based on source IP

It would be nice to add an ability to set an endpoint for the client based on the source IP.

The NextDNS CLI already have an ability to set whole profile based on source IP but it looks overhead when I need to know only the client name.

I.e.:

Requests from 10.1.1.1 routes to the https://nextdns/<profileid>/device1

Requests from 10.1.1.2 routes to the https://nextdns/<profileid>/device2

and so on..

4 replies

null
    • NextDNs
    • 1 yr ago
    • Reported - view
      • SimWhite
      • 1 yr ago
      • Reported - view

      NextDNS 

      The NextDNS CLI already have an ability to set whole profile based on source IP but it looks overhead when I need to know only the client name.

      • NextDNs
      • 1 yr ago
      • Reported - view

      SimWhite sorry I don’t understand what you mean

      • R_P_M
      • 1 yr ago
      • Reported - view

      SimWhite To add device names to unnamed items in the logs, you add friendly names to the hosts file on the device the CLI is running on. 

      Taking your example, you would add to hosts the lines:

      10.1.1.1  device1
      10.1.1.2  device2

      The CLI should, after a restart, pick up the names you’ve set up and appear on your logs. 

Content aside

  • 1 Likes
  • 1 yr agoLast active
  • 4Replies
  • 126Views
  • 3 Following