NextDNS: Difference between revisions

Klinger (talk | contribs)
First version of page
 
Klinger (talk | contribs)
m Category:DNS added
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://nextdns.io/ NextDNS] is a commercial DNS provider with a subscription model. The DNS resolution is highly configurable
[https://nextdns.io/ NextDNS] is a commercial DNS provider with a subscription model. The DNS resolution is highly configurable.
 


= Installation and configuration =
= Installation and configuration =
It is necessary to install the nextdns package in addition to enabling the service. Otherwise it is not possible to (de-)activate it.
It is necessary to install the nextdns package in addition to enabling the service. Otherwise it is not possible to (de-)activate it.
<syntaxhighlight lang="nixos">
environment.systemPackages = with pkgs; [ nextdns ];
</syntaxhighlight>


To install NextDNS its necessary to enable the service and supply the link to the subdomain of the configuration (abcdef will use abcdef.dns.nextdns.io). The cache-size is optional. Default for cache-size is not using a cache at all.
To install NextDNS it is also necessary to enable the service and supply the link to the subdomain of the configuration (abcdef will use abcdef.dns.nextdns.io). The cache-size is optional. Default for cache-size is not using a cache at all.
<syntaxhighlight lang="nixos">
<syntaxhighlight lang="nixos">
services.nextdns = {
services.nextdns = {
Line 22: Line 24:
</syntaxhighlight>
</syntaxhighlight>


== activation by configuration ==
== Activation by configuration ==
<syntaxhighlight lang="nixos">
<syntaxhighlight lang="nixos">
systemd.services.nextdns-activate = {
systemd.services.nextdns-activate = {
Line 34: Line 36:


[[Category:Networking]]
[[Category:Networking]]
[[Category:DNS]]