lib/dns: add records for http
This commit is contained in:
parent
1fb1d9b38c
commit
8fe58d2816
|
@ -9,6 +9,8 @@ rec {
|
||||||
# public servers (slaves)
|
# public servers (slaves)
|
||||||
publicNS = [ "ns.c3d2.de" "ns.spaceboyz.net" ];
|
publicNS = [ "ns.c3d2.de" "ns.spaceboyz.net" ];
|
||||||
|
|
||||||
|
publicIPv4 = config.site.hosts.upstream4.interfaces.up4-pppoe.upstream.staticIpv4Address;
|
||||||
|
|
||||||
dynamicReverseZones = [
|
dynamicReverseZones = [
|
||||||
"73.20.172.in-addr.arpa"
|
"73.20.172.in-addr.arpa"
|
||||||
"74.20.172.in-addr.arpa"
|
"74.20.172.in-addr.arpa"
|
||||||
|
@ -166,7 +168,23 @@ rec {
|
||||||
in [ {
|
in [ {
|
||||||
name = "zentralwerk.org";
|
name = "zentralwerk.org";
|
||||||
ns = publicNS;
|
ns = publicNS;
|
||||||
records = [];
|
records = [ {
|
||||||
|
name = ".";
|
||||||
|
type = "A";
|
||||||
|
data = publicIPv4;
|
||||||
|
} {
|
||||||
|
name = "www";
|
||||||
|
type = "A";
|
||||||
|
data = publicIPv4;
|
||||||
|
} {
|
||||||
|
name = ".";
|
||||||
|
type = "AAAA";
|
||||||
|
data = config.site.net.serv.hosts6.up4.network-homepage;
|
||||||
|
} {
|
||||||
|
name = "www";
|
||||||
|
type = "AAAA";
|
||||||
|
data = config.site.net.serv.hosts6.up4.network-homepage;
|
||||||
|
} ];
|
||||||
} {
|
} {
|
||||||
name = "zentralwerk.dn42";
|
name = "zentralwerk.dn42";
|
||||||
ns = internalNS;
|
ns = internalNS;
|
||||||
|
@ -181,7 +199,7 @@ rec {
|
||||||
records = [ {
|
records = [ {
|
||||||
name = "upstream4";
|
name = "upstream4";
|
||||||
type = "A";
|
type = "A";
|
||||||
data = "81.201.149.152";
|
data = publicIPv4;
|
||||||
} ];
|
} ];
|
||||||
} ]
|
} ]
|
||||||
++
|
++
|
||||||
|
|
Loading…
Reference in New Issue