5f3c90057c
Ubuntu Jammy installs the named-checkzone tool to /usr/bin/named-checkzone, but old ubuntu installed to /usr/sbin/named-checkzone. Rather than try and keep track of the different locations we update the task to run under the shell module so that we can rely on $PATH to do the heavy lifting for us. To help ensure this doesn't break the old path and to catch problems earlier I have also added testing across the debuntu set of platforms. The role doesn't currently support other platforms as it relies on the bind9utils package. Change-Id: I1650b605cb6f25fa7585524b427d65d2fc291338
19 lines
530 B
Plaintext
19 lines
530 B
Plaintext
; -*- mode: zone -*-
|
|
$ORIGIN testing.test.
|
|
$TTL 1h
|
|
@ IN SOA adns1.testing.test. hostmaster.testing.test. (
|
|
1667422838 ; serial number unixtime
|
|
1h ; refresh (secondary checks for updates)
|
|
10m ; retry (secondary retries failed axfr)
|
|
10d ; expire (secondary ends serving old data)
|
|
5m ) ; min ttl (cache time for failed lookups)
|
|
@ IN NS ns1.testing.test.
|
|
@ IN A 127.0.0.1
|
|
@ IN AAAA ::1
|
|
|
|
adns1 IN A 127.0.0.1
|
|
adns1 IN AAAA ::1
|
|
|
|
ns1 IN A 127.0.0.1
|
|
ns1 IN AAAA ::1
|