nixos-module/container/dhcp-server: set dhcp6 dns info
This commit is contained in:
parent
aa81a890f3
commit
a138bc2d98
|
@ -52,7 +52,7 @@ in
|
||||||
space = "dhcp4";
|
space = "dhcp4";
|
||||||
name = "domain-name-servers";
|
name = "domain-name-servers";
|
||||||
code = 6;
|
code = 6;
|
||||||
data = "172.20.73.8, 9.9.9.9";
|
data = "${config.site.net.serv.hosts4.dnscache}, 9.9.9.9";
|
||||||
} ];
|
} ];
|
||||||
ddns-qualifying-suffix = domainName;
|
ddns-qualifying-suffix = domainName;
|
||||||
reservations = lib.pipe dhcp.fixed-hosts [
|
reservations = lib.pipe dhcp.fixed-hosts [
|
||||||
|
@ -200,17 +200,17 @@ in
|
||||||
} ];
|
} ];
|
||||||
valid-lifetime = dhcp.time;
|
valid-lifetime = dhcp.time;
|
||||||
max-valid-lifetime = dhcp.max-time;
|
max-valid-lifetime = dhcp.max-time;
|
||||||
#option-data = [ {
|
option-data = [ {
|
||||||
# space = "dhcp6";
|
space = "dhcp6";
|
||||||
# name = "domain-search";
|
name = "domain-search";
|
||||||
# code = 24;
|
code = 24;
|
||||||
# data = domainName;
|
data = domainName;
|
||||||
#} {
|
} {
|
||||||
# space = "dhcp6";
|
space = "dhcp6";
|
||||||
# name = "dns-servers";
|
name = "dns-servers";
|
||||||
# code = 23;
|
code = 23;
|
||||||
# data = "172.20.73.8, 9.9.9.9";
|
data = "${config.site.net.serv.hosts6.dn42.dnscache}, 2620:fe::9";
|
||||||
#} ];
|
} ];
|
||||||
ddns-generated-prefix = "d";
|
ddns-generated-prefix = "d";
|
||||||
ddns-qualifying-suffix = domainName;
|
ddns-qualifying-suffix = domainName;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue