services.smartdns.settings
NixOS option
A set that will be generated into configuration file, see the SmartDNS README for details of configuration parameters. You could override the options here like services.smartdns.bindPort by writing settings.bind = ":5353 -no-rule -group example";.
type: attribute set of ((list of (string or signed integer or boolean)) or (string or signed integer or boolean) convertible to it)Default
{ }Example
declared in: nixos/modules/services/networking/smartdns.nixView source on NixOS/nixpkgs →{
bind = ":5353 -no-rule -group example";
cache-size = 4096;
server-tls = [ "8.8.8.8:853" "1.1.1.1:853" ];
server-https = "https://cloudflare-dns.com/dns-query -exclude-default-group";
prefetch-domain = true;
speed-check-mode = "ping,tcp:80";
};