add nft rules for dns
This commit is contained in:
parent
8c6cf419bf
commit
e1987a3080
|
@ -91,4 +91,12 @@ class dns::knotdns(
|
||||||
owner => 'knot_rest',
|
owner => 'knot_rest',
|
||||||
group => 'knot_rest',
|
group => 'knot_rest',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# NFT rules
|
||||||
|
sunet::nftables::rule { 'dns-udp':
|
||||||
|
rule => "add rule inet filter input udp dport 53 counter accept comment \"allow-dns-udp\""
|
||||||
|
}
|
||||||
|
sunet::nftables::rule { 'dns-tcp':
|
||||||
|
rule => "add rule inet filter input tcp dport 53 counter accept comment \"allow-dns-tcp\""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue