1

Config questions

Everything is working fine for me, but I was looking at my config and saw a few that I didn't understand.

  • auto-activate
  • bogus-priv 
  • mdns: 
  • cache-max-age

What exactly do these do, and are there any related settings to be aware of? I don't see them covered in the Wiki though maybe I just missed them. 

4 replies

null
    • Michael_Bierman
    • 5 mths ago
    • Reported - view

    Two more... 

    • detect-captive-portals
    • use-hosts

      • R_P_M
      • 5 mths ago
      • Reported - view

       Just run “nextdns config set help” it will list all the available options and a short explanation for each. 
      If not explained enough just post back the ones you need more info on. 

    • Michael_Bierman
    • 5 mths ago
    • Reported - view

    Thanks @r_p_m. 

    -auto-activate    Run activate at startup and deactivate on exit.

    Default value? 

      -cache-max-age duration If set to greater than 0, a cached entry will be considered stale after

        this duration, even if the record's TTL is higher.

    It looks like this needs to be in the form of, " 5s" is that correct?  Some parameters seem to use 

    -parameter=Value and some are just 

    -parameter value

    For example is it

    -mdns=disabled

    or 

    -mdns disabled 

     -detect-captive-portals Automatic detection of captive portals and fallback on system DNS to allow the connection to establish.

    How does this work? 

      -forwarder value  A DNS server to use for a specified domain.

    Can this be a local domain? 

      • R_P_M
      • 5 mths ago
      • Reported - view

       For auto activate there is no default. If it’s working correctly then there’s no reason to change it.

      Cache max age will take a number as seconds or minutes as *m. Just try it out and see for yourself.

      Detect captive portals, I’m not entirely sure how it works but I had to switch it on to connect to our WiFi printer.

      And last question, yes you can use a local domain for that setting (multiple if you need to).

Content aside

  • 1 Likes
  • 5 mths agoLast active
  • 4Replies
  • 157Views
  • 2 Following