0

how do i remove unwanted "listen" in the config?

listen none
listen 127.0.0.1:53
listen 127.0.0.1:5555
listen localhost:53

i accidentally put in none and the 5555 port into the config using the cli tool but i want to remove them? how do i do that? also i tried to do the path to creating a config file to use and that didn't work.

i did try

sudo nextdns config set -config-file /users/mynamehere/nextdns.conf

and took a copy of the config with "sudo nextdns log" and copied it into the conf without the above lines that i wanted to remove but that didn't work. any ideas?

3 replies

null
    • NextDNs
    • 2 yrs ago
    • Reported - view

    Which platform are you on?

      • Phil_Campbell
      • 2 yrs ago
      • Reported - view

      NextDNS sorry, yes i'm using the latest CLI on m1 mac, apple universal binary.

      • NextDNs
      • 2 yrs ago
      • Reported - view

      Phil Campbell you can manually edit /etc/nextdns.conf.

Content aside

  • 2 yrs agoLast active
  • 3Replies
  • 212Views
  • 2 Following