Replace ddclient with Inadyn

This commit is contained in:
2025-04-07 14:28:00 +02:00
parent e82ab26d23
commit 40838848c3
6 changed files with 38 additions and 16 deletions

View File

@@ -34,13 +34,21 @@ in
};
# Dynamic DNS configuration
services.ddclient = {
services.inadyn = {
enable = true;
quiet = true;
interval = "30min";
protocol = "duckdns";
domains = [ "coolneng.duckdns.org" ];
passwordFile = config.age.secrets.ddclient.path;
interval = "*:0/30";
settings = {
provider."duckdns" = {
hostname = "coolneng.duckdns.org";
include = config.age.secrets.inadyn-duckdns.path;
};
custom."porkbun.com" = {
ddns-server = "dynamicdns.park-your-domain.com";
ddns-path = "/update?domain=%u&password=%p&host=%h";
hostname = "psydnd.org";
include = config.age.secrets.inadyn-porkbun.path;
};
};
};
# Firewall configuration