guix/gnu/services
Felix Lechner 882112b581
services: knot: Default zone-file-refresh to 12h.
The Knot DNS service in Guix uses two days, or 48 hours, for the SOA
refresh interval but that is outside the range of RFC 1912, which is
entitled "Common DNS Operational and Configuration Errors." [1]

Section 2.2 of RFC 1912 recommends a maximum of 12 hours for the SOA
refresh rate: "You can keep it short (20 mins to 2 hours) if you
aren't worried about a small increase in bandwidth used, or longer
(2-12 hours) if your Internet connection is slow or is started on
demand."

This commit sets the default refresh interval at the nearest value
recommended by the standard, which is 12 hours.

Due to the widespread adoption of NOTIFY messages between primary and
secondary DNS servers, the SOA refresh interval has arguably lost some
importance, but the Guix default should still be in line with the
standards.

Values outside the recommended range can provoke warning messages from
services commonly used to find bugs in DNS configurations, such as the
MX Toolbox Super Tool. [2]

[1] https://datatracker.ietf.org/doc/rfc1912/
[2] https://mxtoolbox.com/SuperTool.aspx

* gnu/services/dns.scm (<zone-file>)[refresh]: Default to (* 12 3600).

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-06 16:10:27 +08:00
..
admin.scm
audio.scm
auditd.scm
authentication.scm
avahi.scm
base.scm services: base: Deprecate 'rngd-service' procedure. 2023-03-03 17:55:33 +01:00
certbot.scm
cgit.scm
ci.scm
configuration.scm
cuirass.scm
cups.scm
databases.scm
dbus.scm services: dbus: Deprecate 'dbus-service' procedure. 2023-03-03 17:55:35 +01:00
desktop.scm services: dbus: Deprecate 'dbus-service' procedure. 2023-03-03 17:55:35 +01:00
dict.scm
dns.scm services: knot: Default zone-file-refresh to 12h. 2023-03-06 16:10:27 +08:00
docker.scm
file-sharing.scm
games.scm
ganeti.scm
getmail.scm
guix.scm
herd.scm
hurd.scm
kerberos.scm
ldap.scm
lightdm.scm
linux.scm
lirc.scm services: lirc: Deprecate 'lirc-service' procedure. 2023-03-03 17:55:34 +01:00
mail.scm services: mail: Deprecate 'dovecot-service' procedure. 2023-03-03 17:55:34 +01:00
mcron.scm
messaging.scm
monitoring.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
networking.scm
nfs.scm
nix.scm
pam-mount.scm
pm.scm
rsync.scm
samba.scm
science.scm
sddm.scm
security-token.scm
security.scm
shepherd.scm
sound.scm
spice.scm services: spice: Deprecate 'spice-vdagent-service' procedure. 2023-03-03 17:55:35 +01:00
ssh.scm services: ssh: Deprecate 'dropbear-service' procedure. 2023-03-03 17:55:33 +01:00
syncthing.scm
sysctl.scm
telephony.scm
version-control.scm
virtualization.scm
vnc.scm
vpn.scm services: vpn: Deprecate 'openvpn-client-service' & 'openvpn-server-service' procedures. 2023-03-03 17:55:34 +01:00
web.scm
xorg.scm