use SUNETs resolver

This commit is contained in:
pettai 2024-06-13 09:31:52 +02:00
parent 21b6eae8d9
commit a54c86b584
No known key found for this signature in database
GPG key ID: CDF2C381E9A751BD
2 changed files with 8 additions and 0 deletions

View file

@ -9,6 +9,11 @@ class dns::knotdns(
ensure => 'stopped',
enable => false,
}
# Use SUNETs resolvers directly (no local cache)
file { "/etc/resolv.conf":
ensure => "file",
content => template("dns/knot/resolv.conf.erb")
}
# This is a control file used to skip these semi-heavy installation steps
$control_file="/var/cache/cosmos/knotdns_install_complete.txt"

View file

@ -0,0 +1,3 @@
search sunet.se
nameserver 89.32.32.32
nameserver 2001:6b0:89::32:32:32