67

Official API

Would be great to have an official API to; 

  • Access Stats / Analytics
  • Retrieve Settings
  • Set Settings / Options
  • Add / Remove (bulk, etc) to the Allowlist/Denylist
  • Access / Query / Download Logs
  • Create / Revoke API Tokens
  • etc...

20 replies

null
    • iOS Developer
    • Rob
    • 3 yrs ago
    • Reported - view

    I would also like to directly make the `https://<random-identifier>.test.nextdns.io` request that is currently contained in a HTML page.

     

    (because of the random identifier I don't know how to do that)

      • olivier
      • 3 yrs ago
      • Reported - view
      • iOS Developer
      • Rob
      • 3 yrs ago
      • Reported - view

      I want to do this on iOS, in a rest client, for example HTTPBot.

      How can I mimic the `-L` behavior?

      Because now I get this response, when performing a GET request on https://test.nextdns.io/:

      <body>
        <pre><script>
      var xhr = new XMLHttpRequest();
      xhr.open('GET', 'https://<random-identifier>.test.nextdns.io/', false);
      xhr.send();
      document.write(xhr.responseText);
      </script></pre>
      </body>
       
      • olivier
      • 3 yrs ago
      • Reported - view

      Rob set the user-agent header to “curl”

      • iOS Developer
      • Rob
      • 3 yrs ago
      • Reported - view

      Olivier Poitrey Thanks! Works in Paw on macOS, but not in HTTPBot on iOS.

      Will follow-up with the HTTPBot author (I expect it to be a bug in that App; the response status is 200, but there's no text, while the App is configured to follow redirects).

      • dmio
      • 2 yrs ago
      • Reported - view

      Olivier Poitrey Curious if you could respond to the parent request - which is a customer facing API?  As NextDNS adds more functionality there's a lot of room for API use cases.  Especially with regard to things like allow and block lists.  Also, it's a great "premium" upgrade.  As a paying customer I would really like to see more programmatic controls around the product.

    • Daniel.1
    • 3 yrs ago
    • Reported - view

    Would add the ability to update destination IPs of rewrites to this wishlist

    • sean_mccully
    • 3 yrs ago
    • Reported - view

    Found this thread while googling around. I would love a way to modify rewrites from the API.

    • Leo.1
    • 2 yrs ago
    • Reported - view

    I would like to add some statistics to my home-dashboard so this feature would be very handy.

    • Chris_R
    • 2 yrs ago
    • Reported - view

    I've been test driving NextDNS for a little bit and there are some feature gaps causing me to roll back to running Pihole on my LAN.  Some of these gaps I could address with some API functionality.  Namely:

    • Ability to enable/disable all filtering (bonus points if it can be for "X" seconds or minutes)
    • Lacking that, the ability to add/remove block lists via the API would allow me to emulate the above

    Other things that I've gotta figure out would be things like better individual client identification, adding clients to groups, and applying filtering rules by groups. For example IoT devices get locked way down, and my wife's work computer virtually not at all (causes a bit of havoc on the work computer). If any of those features get added, the ability to interact with them via the API would be a big plus.

    • Zodiak
    • 2 yrs ago
    • Reported - view

    I love the API idea. Specifically, I want to be able to download my logs to a local SIEM and parse/alert from there.

    • NextDNs
    • 2 yrs ago
    • Reported - view

    Our API is in close beta available on demande for business/school plans. The doc is available here: https://nextdns.io/api.

      • IT_Manager
      • 2 yrs ago
      • Reported - view

      NextDNS, how or where do we request an API key?

      • NextDNs
      • 2 yrs ago
      • Reported - view

      IT Manager send a request to business or education support depending on your plan type.

      • IT_Manager
      • 2 yrs ago
      • Reported - view

      NextDNS Got it, thank you.

      • Zodiak
      • 2 yrs ago
      • Reported - view

      NextDNS This is awesome! Thanks for working on these features. Do you have an estimated timeline on when this will be available to pro users? If you need pro level beta testers, I'd love to get in line for that.

      • Francis_Baker
      • 2 yrs ago
      • Reported - view

      NextDNS Any ETA for pro-users? I am considering upgrading and was curious if this is available yet or not for pro. If not wondering what the timeline might be as if its months/years out might consider other options.

      • IT_Manager
      • 2 yrs ago
      • Reported - view

      NextDNS  I have emailed business support multiple times over the past few weeks and have not received a response.

      • PeterDaveHello
      • 2 yrs ago
      • Reported - view

      NextDNS oliver I got the same situation here like @it_manager, sent email to business support, billing contact, private message to you ... Though I know as a startup company that you might not have enough bandwidth to handle all the requests at a high speed, but please at lease give business clients basic support, thanks ;)

    • 🤖
    • MarkToon
    • 2 yrs ago
    • Reported - view

    Another nice idea, like this.

Content aside

  • Status Completed
  • 67 Likes
  • 2 yrs agoLast active
  • 20Replies
  • 1596Views
  • 20 Following