diff --git a/systems/orangepihole/configuration.nix b/systems/orangepihole/configuration.nix index 58225cc..eaf7ba4 100644 --- a/systems/orangepihole/configuration.nix +++ b/systems/orangepihole/configuration.nix @@ -47,7 +47,7 @@ interface = [ "end0" ]; access-control = [ "10.0.0.0/8 allow" "fc::/7 allow" ]; }; - include = [ "/etc/unbound/ads.conf" "/etc/unbound/local.conf" ]; + include = [ "/etc/unbound/ads.conf" "${./unbound-local.conf}" ]; }; }; diff --git a/systems/orangepihole/unbound-local.conf b/systems/orangepihole/unbound-local.conf new file mode 100644 index 0000000..1691f54 --- /dev/null +++ b/systems/orangepihole/unbound-local.conf @@ -0,0 +1,20 @@ +private-address: 10.42.69.0/24 +local-zone: "icanttype.org." static +local-data: "zeus.icanttype.org. IN A 10.42.69.100" +local-data: "zeus.icanttype.org. IN AAAA fd72:3dd5:21ae:3c97:101b:87ff:fe86:5f01" +local-data: "orangepihole.icanttype.org. IN A 10.42.69.2" +local-data-ptr: "10.42.69.100 zeus.icanttype.org" +local-data-ptr: "10.42.69.2 orangepihole.icanttype.org" +local-data: "git.icanttype.org. IN A 10.42.69.100" +local-data: "sonarr.icanttype.org. IN A 10.42.69.100" +local-data: "homeassistant.icanttype.org. IN A 10.42.69.100" +local-data: "www.icanttype.org. IN A 10.42.69.100" +local-data: "radarr.icanttype.org. IN A 10.42.69.100" +local-data: "jellyfin.icanttype.org. IN A 10.42.69.100" +local-data: "zwave.icanttype.org. IN A 10.42.69.100" +local-data: "dashboard.icanttype.org. IN A 10.42.69.100" +local-data: "prowlarr.icanttype.org. IN A 10.42.69.100" +local-data: "readarr.icanttype.org. IN A 10.42.69.100" +local-data: "qbittorrent.icanttype.org. IN A 10.42.69.100" +local-data: "calibre.icanttype.org. IN A 10.42.69.100" +local-data: "calibre-web.icanttype.org. IN A 10.42.69.100"