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 services: unattended-upgrade: Add 'operating-system-expression' field. 2023-01-10 11:49:14 +01:00
audio.scm services: mpd: Fix serialization procedure for list-of-string. 2023-02-05 18:25:10 +01:00
auditd.scm
authentication.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
avahi.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00
base.scm services: base: Deprecate 'rngd-service' procedure. 2023-03-03 17:55:33 +01:00
certbot.scm services: certbot: Fix broken link. 2023-01-03 16:34:44 -05:00
cgit.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
ci.scm
configuration.scm services: configuration: Format a list of packages by their names. 2023-02-08 22:40:39 -05:00
cuirass.scm records: 'match-record' checks fields at macro-expansion time. 2022-12-08 13:21:23 +01:00
cups.scm
databases.scm services: mysql: Run mariadb-install-db instead of hard coding schemas. 2022-11-20 17:54:05 +01:00
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 services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00
dns.scm services: knot: Default zone-file-refresh to 12h. 2023-03-06 16:10:27 +08:00
docker.scm services: docker: Fix race condition. 2022-07-13 21:36:41 -04:00
file-sharing.scm services: Use the new maybe/unset API. 2022-08-25 00:10:32 -04:00
games.scm gnu: services: Add joycond-service. 2023-01-14 07:53:21 -05:00
ganeti.scm services: ganeti: Label mcron jobs. 2022-12-25 14:15:59 +01:00
getmail.scm records: 'match-record' checks fields at macro-expansion time. 2022-12-08 13:21:23 +01:00
guix.scm services: nar-herder: Add cached compression support. 2023-02-03 15:18:44 +01:00
herd.scm services: herd: Add 'wait-for-service'. 2022-05-28 23:23:36 +02:00
hurd.scm
kerberos.scm services: Use the new maybe/unset API. 2022-08-25 00:10:32 -04:00
ldap.scm gnu: slapd-configuration: Update default for run-dir. 2022-12-14 22:56:00 +01:00
lightdm.scm services: lightdm: Sync documentation with source. 2023-02-08 22:40:40 -05:00
linux.scm system: Align zram priority with swap-space spec to clarify. 2022-06-11 00:57:13 -04:00
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 Revert "services: configuration: Revert to a working ‘guix home’." 2022-11-17 06:49:51 -05:00
messaging.scm services: configuration: Change the value of the unset marker. 2022-08-25 00:10:42 -04:00
monitoring.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
networking.scm services: Add block-facebook-hosts-service-type. 2023-02-09 01:07:54 +01:00
nfs.scm
nix.scm services: nix: Fix nix-shepherd-service. 2022-12-15 10:13:24 +00:00
pam-mount.scm gnu: base: Add greetd-service-type. 2022-06-17 10:30:41 +02:00
pm.scm services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
rsync.scm
samba.scm services: samba: Remove unused variables and modules. 2022-09-28 09:57:30 -04:00
science.scm
sddm.scm
security-token.scm
security.scm gnu: services: Fix fail2ban configuration serialization. 2023-01-10 10:47:27 -05:00
shepherd.scm services: shepherd: Define 'shepherd-configuration-action' helper. 2022-11-18 15:44:39 +01:00
sound.scm services: pulseaudio: Fix /etc/pulse/default.pa not being used. 2022-12-28 16:58:03 -05:00
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 gnu: libjami: Move jamid daemon to a "bin" output. 2023-02-08 09:36:26 -05:00
version-control.scm services: git-daemon: Deprecate 'git-daemon-service' procedure. 2023-01-10 11:49:13 +01:00
virtualization.scm gnu: Fix copyright line. 2022-11-20 12:00:04 +00:00
vnc.scm Revert "Revert "services: Add xvnc-service-type."" 2022-10-07 15:07:48 -04:00
vpn.scm services: vpn: Deprecate 'openvpn-client-service' & 'openvpn-server-service' procedures. 2023-03-03 17:55:34 +01:00
web.scm services: hpcguix-web: Provide default values. 2023-01-22 18:12:09 +01:00
xorg.scm services: Add Shepherd 'configuration' action to various services. 2022-11-18 15:44:39 +01:00