dns: add nix01.builders.rz.ens.wtf
This commit is contained in:
parent
6b7f3d32ff
commit
821b1cdc31
2 changed files with 8 additions and 2 deletions
|
@ -21,7 +21,7 @@ in
|
||||||
interfaces = my.ipv6.standard;
|
interfaces = my.ipv6.standard;
|
||||||
zones = {
|
zones = {
|
||||||
${my.subZone} = {
|
${my.subZone} = {
|
||||||
data = dns.lib.toString my.subZone (import ./subZone.nix { inherit dns config; });
|
data = dns.lib.toString my.subZone (import ./subZone.nix { inherit dns config lib; });
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
{ config, dns, ... }:
|
{ config, lib, dns, ... }:
|
||||||
|
|
||||||
with dns.lib.combinators;
|
with dns.lib.combinators;
|
||||||
|
|
||||||
let
|
let
|
||||||
my = config.my;
|
my = config.my;
|
||||||
delegateACMEDNSChallenge = acme: { _acme-challenge.CNAME = [ acme ]; };
|
delegateACMEDNSChallenge = acme: { _acme-challenge.CNAME = [ acme ]; };
|
||||||
|
|
||||||
|
remoteBuilders = {
|
||||||
|
nix01 = [ "2001:470:1f13:187:1e07:c670:3958:f8f1" ];
|
||||||
|
};
|
||||||
in
|
in
|
||||||
with my.ipv6; # contains { standard, acme }
|
with my.ipv6; # contains { standard, acme }
|
||||||
{
|
{
|
||||||
|
@ -31,6 +35,8 @@ with my.ipv6; # contains { standard, acme }
|
||||||
push.AAAA = standard;
|
push.AAAA = standard;
|
||||||
ns1.AAAA = standard;
|
ns1.AAAA = standard;
|
||||||
|
|
||||||
|
builders.subdomains = lib.mapAttrs (n: AAAA: { inherit AAAA; }) remoteBuilders;
|
||||||
|
|
||||||
# Délégation de sous zone à he.gdd pour la certification HE.
|
# Délégation de sous zone à he.gdd pour la certification HE.
|
||||||
gdd.subdomains.he = {
|
gdd.subdomains.he = {
|
||||||
NS = [ "ns1.he.gdd.${my.subZone}." ];
|
NS = [ "ns1.he.gdd.${my.subZone}." ];
|
||||||
|
|
Loading…
Add table
Reference in a new issue