feat: dns fully modularised now

This commit is contained in:
silver 2023-05-24 16:12:48 +01:00
parent 34de735720
commit 920f6ab86e
3 changed files with 11 additions and 15 deletions

View file

@ -52,12 +52,6 @@ in {
};
};
# open the firewall for this
skynet_firewall.forward = [
"ip daddr ${ip_pub} tcp dport 53 counter packets 0 bytes 0 accept"
"ip daddr ${ip_pub} udp dport 53 counter packets 0 bytes 0 accept"
];
skynet_dns = {
enable = true;

View file

@ -21,8 +21,6 @@ let
ns = "ns2";
in {
imports = [
# applications for this particular server
../applications/firewall.nix
../applications/dns.nix
];
@ -34,12 +32,6 @@ in {
tags = [ "active" "dns" ];
};
# open the firewall for this
skynet_firewall.forward = [
"ip daddr ${ip_pub} tcp dport 53 counter packets 0 bytes 0 accept"
"ip daddr ${ip_pub} udp dport 53 counter packets 0 bytes 0 accept"
];
skynet_dns = {
enable = true;