Browse Source

rc3.world.zone: add ascii art

master
Milan 3 months ago
parent
commit
b757b8b35c
No known key found for this signature in database GPG Key ID: 37E30BD2FBE7746A
2 changed files with 17 additions and 1 deletions
  1. +8
    -0
      configuration/dns/ascii_art.txt
  2. +9
    -1
      configuration/dns/rc3.world.zone.nix

+ 8
- 0
configuration/dns/ascii_art.txt View File

@ -0,0 +1,8 @@
mmmm ''# #
m mm mmm ' '# m m mmm m mm # mmm#
#' ' #' ' mmm' 'm m m' #' '# #' ' # #' '#
# # '# #m#m# # # # # # #
# '#mm' 'mmm#' # # # '#m#' # 'mm '#m##

+ 9
- 1
configuration/dns/rc3.world.zone.nix View File

@ -20,7 +20,7 @@ with pkgs.lib;
nameServer = primaryFqdn;
adminEmail = "dnsmaster@${primaryFqdn}"; # Email address with a real `@`!
serial = 2020111301;
serial = 2020111307;
};
NS = mapAttrsToList (
@ -31,6 +31,14 @@ with pkgs.lib;
) hosts
);
TXT = imap (
i: line: "${fixedWidthNumber 3 i} ${line}"
) (
splitString "\n" (
fileContents ./ascii_art.txt
)
);
subdomains = let
getAddresses = host: type: concatLists (
mapAttrsToList (


Loading…
Cancel
Save