From 3ef19cbe93f6dbd32cb03fa501199cf1ae95ac32 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 28 Jun 2022 14:44:14 +0800 Subject: [PATCH] nixbld: m-labs.hk DNS zone --- nixbld-etc-nixos/configuration.nix | 9 +++-- nixbld-etc-nixos/named/m-labs.hk | 47 +++++++++++++++++++++++++ nixbld-etc-nixos/named/m-labs.zone | 55 ------------------------------ 3 files changed, 53 insertions(+), 58 deletions(-) create mode 100644 nixbld-etc-nixos/named/m-labs.hk delete mode 100644 nixbld-etc-nixos/named/m-labs.zone diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index d540969..18c3ad0 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -155,11 +155,14 @@ in extraOptions = "listen-on-v6 port 5354 { ::1; };"; cacheNetworks = [ "::1/128" ]; zones = { - "XN--WBTZ5WPQAJ35CFXC.XN--J6W193G" = { - name = "XN--WBTZ5WPQAJ35CFXC.XN--J6W193G"; + "m-labs.hk" = { + name = "m-labs.hk"; master = true; - file = "/etc/nixos/named/m-labs.zone"; + file = "/etc/nixos/named/m-labs.hk"; extraConfig = ''dnssec-policy "default";''; + slaves = [ + "213.239.220.50" "2a01:4f8:a0:7041::1" # qnetp + ]; }; }; }; diff --git a/nixbld-etc-nixos/named/m-labs.hk b/nixbld-etc-nixos/named/m-labs.hk new file mode 100644 index 0000000..ce47046 --- /dev/null +++ b/nixbld-etc-nixos/named/m-labs.hk @@ -0,0 +1,47 @@ +$TTL 7200 + +@ SOA 42-200-147-171.static.imsbiz.com. sb.m-labs.hk. ( + 2022062801 + 7200 + 3600 + 86400 + 600) + + + NS 42-200-147-171.static.imsbiz.com. + NS ns1.qnetp.net. + + A 42.200.147.171 + AAAA 2001:470:18:629::2 + MX 10 ssl.serverraum.org. + TXT "v=spf1 mx -all" + TXT "google-site-verification=Tf_TEGZLG7-2BE70hMjLnzjDZ1qUeUZ6vxzbl1sagT8" + + +mail CNAME @ +lab CNAME @ +www CNAME @ +nixbld CNAME @ +call CNAME @ +conda CNAME @ +git CNAME @ +chat CNAME @ +hooks CNAME @ +forum CNAME @ +perso CNAME @ +rt CNAME @ + +rpi-1 AAAA 2001:470:f821:1:dea6:32ff:fe8a:6a93 +rpi-2 AAAA 2001:470:f821:1:ba27:ebff:fef0:e9e6 +rpi-3 AAAA 2001:470:f821:1:dea6:32ff:fe14:fd67 +rpi-4 AAAA 2001:470:f821:1:dea6:32ff:fe14:fce9 +rpi-ext AAAA 2001:470:f821:1:dea6:32ff:fe95:2fcf +juno AAAA 2001:470:f821:1:2fcb:b47b:1b5f:eac4 +cnc AAAA 2001:470:f821:1:021e:c9ff:fe75:b6d3 +zeus AAAA 2001:470:f821:1:9a72:a418:5466:0b9a +hera AAAA 2001:470:f821:1:8406:1390:2110:5825 +chiron AAAA 2001:470:f821:1:addc:01ca:febc:a468 +hestia AAAA 2001:470:f821:1:ef18:fbec:2162:2c4c +vulcan AAAA 2001:470:f821:1:a9aa:5da6:d8ee:84db +old-nixbld AAAA 2001:470:f821:1:021f:bcff:fe12:9170 +franz AAAA 2001:470:f821:1:39a9:9221:da3d:f6e2 diff --git a/nixbld-etc-nixos/named/m-labs.zone b/nixbld-etc-nixos/named/m-labs.zone deleted file mode 100644 index e0fcf6a..0000000 --- a/nixbld-etc-nixos/named/m-labs.zone +++ /dev/null @@ -1,55 +0,0 @@ -$ORIGIN XN--WBTZ5WPQAJ35CFXC.XN--J6W193G. -$TTL 86400 -XN--WBTZ5WPQAJ35CFXC.XN--J6W193G. IN SOA 42-200-147-171.static.imsbiz.com. sb.m-labs.hk. ( - 2022050801 - 10800 - 3600 - 604800 - 86400 ) - - - NS 42-200-147-171.static.imsbiz.com. - NS m-labs.science. - - A 42.200.147.171 - AAAA 2001:470:18:629::2 - -$ORIGIN XN--WBTZ5WPQAJ35CFXC.XN--J6W193G. -$TTL 10800 -lab A 42.200.147.171 -lab AAAA 2001:470:18:629::2 -www A 42.200.147.171 -www AAAA 2001:470:18:629::2 -nixbld A 42.200.147.171 -nixbld AAAA 2001:470:18:629::2 -call A 42.200.147.171 -call AAAA 2001:470:18:629::2 -conda A 42.200.147.171 -conda AAAA 2001:470:18:629::2 -git A 42.200.147.171 -git AAAA 2001:470:18:629::2 -chat A 42.200.147.171 -chat AAAA 2001:470:18:629::2 -hooks A 42.200.147.171 -hooks AAAA 2001:470:18:629::2 -forum A 42.200.147.171 -forum AAAA 2001:470:18:629::2 -perso A 42.200.147.171 -perso AAAA 2001:470:18:629::2 -rt A 42.200.147.171 -rt AAAA 2001:470:18:629::2 - -rpi-1 AAAA 2001:470:f821:1:dea6:32ff:fe8a:6a93 -rpi-2 AAAA 2001:470:f821:1:ba27:ebff:fef0:e9e6 -rpi-3 AAAA 2001:470:f821:1:dea6:32ff:fe14:fd67 -rpi-4 AAAA 2001:470:f821:1:dea6:32ff:fe14:fce9 -rpi-ext AAAA 2001:470:f821:1:dea6:32ff:fe95:2fcf -juno AAAA 2001:470:f821:1:2fcb:b47b:1b5f:eac4 -cnc AAAA 2001:470:f821:1:021e:c9ff:fe75:b6d3 -zeus AAAA 2001:470:f821:1:9a72:a418:5466:0b9a -hera AAAA 2001:470:f821:1:8406:1390:2110:5825 -chiron AAAA 2001:470:f821:1:addc:01ca:febc:a468 -hestia AAAA 2001:470:f821:1:ef18:fbec:2162:2c4c -vulcan AAAA 2001:470:f821:1:a9aa:5da6:d8ee:84db -old-nixbld AAAA 2001:470:f821:1:021f:bcff:fe12:9170 -franz AAAA 2001:470:f821:1:39a9:9221:da3d:f6e2