Giter Club home page Giter Club logo

Comments (9)

rs avatar rs commented on May 23, 2024

What do you get for nextdns config?

from nextdns.

mrancier avatar mrancier commented on May 23, 2024

flag provided but not defined: -use-hosts
and help stuff

from nextdns.

mrancier avatar mrancier commented on May 23, 2024

log-queries false
report-client-info true
detect-captive-portals false
hardened-privacy false
bogus-priv true
listen localhost:5353
config ######
timeout 5s
auto-activate true
use-hosts true
setup-router true

from nextdns.

mrancier avatar mrancier commented on May 23, 2024

Except for the port, everything was script generated. And, it seems to me, the flag is defined. Even masking the option it starts trying to run on port 53. Now it say the same as setup-router.

from nextdns.

rs avatar rs commented on May 23, 2024

setup-router ignores listen.

from nextdns.

mrancier avatar mrancier commented on May 23, 2024

So masking both options the daemon starts in the right port and resolves. Something appears to be amiss with the parsing of args.

from nextdns.

mrancier avatar mrancier commented on May 23, 2024

Thanks for your help. Not sure why the use-host option bombs out, but the error on setup router is a bit unclear as it is defined, it simply overrides the Listen directive, which seems not possible (for good reason)

from nextdns.

rs avatar rs commented on May 23, 2024

The help explains it:

  -setup-router
    	Automatically configure NextDNS for a router setup.
    	Common types of router are detected to integrate gracefuly. Changes applies are
    	undone on daemon exit. The listen option is ignored when this option is used.

Basically setup-router is an automatic configuration for routers. If you want to do manual setup, don't use this option. We will make both options exclusive with a more explicit message.

About the use-hosts, if it says it's not implemented, it means you downgraded the nextdns binary to a previous version.

from nextdns.

rs avatar rs commented on May 23, 2024

Closing, please reopen if you have more questions or concerns.

from nextdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.