0

Domains Blacklist and Whitelist --> can you create a 'import txt' button?

Hi to all my dear,

we all needed a new option to  IMPORT a text file  

with a list of domains (one domain per line) in both the blocklist and the whitelist sections.

Currently, you can only add one unique domain at a time and cannot add multiple domains at once.

For example:

if I have 50 domains to allow (in Whitelist),

and 50 domains to deny (in Blacklist),

please realize that fiddling with 100 unique entries isn't ideal. 

Actually need to insert 'one by one' = Copy 100 times + Paste 100 times + Press Enter 100 times.

If I had the option to import two domain list files, it would be much simpler.

6 replies

null
    • Sasa.1
    • 9 days ago
    • Reported - view

    My question is: would it be possible to implement a button to import a list of domains and not just one at a time? It's really frustrating.

      • jroks123
      • 8 days ago
      • Reported - view

       

      The web UI only supports single-domain entry right now, but the API already exists and can be used for bulk denylist/allowlist management and automation.

      https://nextdns.github.io/api/

      • jroks123
      • 8 days ago
      • Reported - view

      Also you could check out https://github.com/rhijjawi/NextDNS-API

      this is a tool written to solve this problem 

      • Sasa.1
      • yesterday
      • Reported - view

       

      Hi jroks123, and thank you so much for reading and writing for me. I really appreciate it.
      I didn't know there was a hidden API in the account section. I'm a very intuitive person, and in the end, as often happens, I did something all my own to manage the two lists I was interested in. So, let's just say I've solved the problem. Now I can import from a text file, delete multiple domains, etc. Obviously, as you can see, I developed it directly in Italian. :)

      So in just 15 seconds I upload 50 domains.

      • Sasa.1
      • yesterday
      • Reported - view
    • jroks123
    • 5 hrs ago
    • Reported - view

     That's fantastic work! 

    Does it ping the service each time to add or delete domains? Or are you sending in batch API calls? Either way works. But that's great work!

Content aside

  • 5 hrs agoLast active
  • 6Replies
  • 47Views
  • 2 Following