Last active
October 11, 2023 22:21
-
-
Save mauvehed/506173c4bd1c0e39d9883d4f1f0765a5 to your computer and use it in GitHub Desktop.
Revisions
-
mauvehed revised this gist
Oct 11, 2023 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -44,9 +44,11 @@ sh -c 'DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"' Source: https://github.com/nextdns/nextdns/wiki/Conditional-Profile ``` nextdns config set \ -profile 10.0.4.0/24=12345 \ -profile 00:1c:42:2e:60:4a=67890 \ -profile abcdef nextdns config set -max-ttl=5s nextdns restart nextdns config ``` -
mauvehed revised this gist
May 7, 2023 . 1 changed file with 28 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,28 +1,52 @@ # NextDNS on UnifiOS Source https://github.com/nextdns/nextdns/wiki/UnifiOS ## To upgrade/uninstall, run this command again and select the approriate option ``` sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"' ``` ## You can use the nextdns command to control the daemon. ### Here is a few important commands to know: #### Start, stop, restart the daemon: ``` nextdns start nextdns stop nextdns restart ``` #### Configure the local host to point to NextDNS or not: ``` nextdns activate nextdns deactivate ``` #### Explore daemon logs: ``` nextdns log ``` #### For more commands, use: ``` nextdns help ``` ### Generate DEBUG logs ``` sh -c 'DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"' ``` ## Advanced ### Conditional profiling (by subnet/VLAN) Source: https://github.com/nextdns/nextdns/wiki/Conditional-Profile ``` sudo nextdns config set \ -profile 10.0.4.0/24=12345 \ -profile 00:1c:42:2e:60:4a=67890 \ -profile abcdef sudo nextdns restart ``` -
mauvehed created this gist
May 7, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ # NextDNS on UnifiOS Sourced from https://github.com/nextdns/nextdns/wiki/UnifiOS ## To upgrade/uninstall, run this command again and select the approriate option `sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'` ## You can use the nextdns command to control the daemon. ### Here is a few important commands to know: #### Start, stop, restart the daemon: nextdns start nextdns stop nextdns restart #### Configure the local host to point to NextDNS or not: nextdns activate nextdns deactivate #### Explore daemon logs: nextdns log #### For more commands, use: nextdns help ### Generate DEBUG logs `sh -c 'DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"'`