From 510a3014391d056a26555a5be1320c3f1b94f796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 4 Nov 2021 18:33:21 +0100 Subject: Set up nsupdate. --- manifests/site.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifests/site.pp') diff --git a/manifests/site.pp b/manifests/site.pp index 1bf73f1..02dd417 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -48,6 +48,16 @@ node 'hornquist.se' { 'cowsay', ], { ensure => installed }) + nsupdate { 'hornquist.se': + ensure => present, + nameserver => 'ns2.adrift.space', + iface => 'eth0', + records => [ + { type => 'A', ttl => 3600, domain => 'hornquist.se' }, + { type => 'A', ttl => 3600, domain => '*.hornquist.se' }, + ], + } + $cgit_root = '/var/www/cgit' $blog_root = '/var/www/blog' -- cgit v1.2.3