services.godns.settings
NixOS option
Configuration for GoDNS. Refer to the configuration section in the GoDNS GitHub repository for details.
type: open submodule of (YAML 1.1 value)Example
declared in: nixos/modules/services/networking/godns.nixView source on NixOS/nixpkgs →{
domains = [
{
domain_name = "example.com";
sub_domains = [
"foo"
];
}
];
interval = 300;
ip_type = "IPv6";
ipv6_urls = [
"https://api6.ipify.org"
"https://ip2location.io/ip"
"https://v6.ipinfo.io/ip"
];
login_token_file = "$CREDENTIALS_DIRECTORY/login_token";
provider = "Cloudflare";
}