diff options
Diffstat (limited to 'hosts/ahmed/local-dns/dns-resolver.nix')
-rw-r--r-- | hosts/ahmed/local-dns/dns-resolver.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/ahmed/local-dns/dns-resolver.nix b/hosts/ahmed/local-dns/dns-resolver.nix index 1954a52..7d966ee 100644 --- a/hosts/ahmed/local-dns/dns-resolver.nix +++ b/hosts/ahmed/local-dns/dns-resolver.nix @@ -32,7 +32,7 @@ # Here we publish all the services we want. data = let - subdomainToARecord = subdomain: "=${subdomain}.${config.linus.local-dns.domain}:${metadata.hosts.ahmed.ipAddress}"; + subdomainToARecord = subdomain: "=${subdomain}.${config.linus.local-dns.domain}:${metadata.hosts.ahmed.ipv4Address}"; ARecords = lib.concatMapStringsSep "\n" subdomainToARecord config.linus.local-dns.subdomains; in '' # We are authoritative over ${config.linus.local-dns.domain}. |