[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: hydra: dns: Fix bogus MNAME.
From: |
Tobias Geerinckx-Rice |
Subject: |
branch master updated: hydra: dns: Fix bogus MNAME. |
Date: |
Thu, 27 Feb 2020 21:05:24 -0500 |
This is an automated email from the git hooks/post-receive script.
nckx pushed a commit to branch master
in repository maintenance.
The following commit(s) were added to refs/heads/master by this push:
new e371ef6 hydra: dns: Fix bogus MNAME.
e371ef6 is described below
commit e371ef6a95a0530c1f23f7d4df07da44983ccef9
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Fri Feb 28 03:02:36 2020 +0100
hydra: dns: Fix bogus MNAME.
* hydra/modules/sysadmin/dns.scm (primary-ns): New variable.
(guix.gnu.org.zone, guix.gnu.org-zone): Use it. Bump the serial number.
---
hydra/modules/sysadmin/dns.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/hydra/modules/sysadmin/dns.scm b/hydra/modules/sysadmin/dns.scm
index ded46ec..73089cb 100644
--- a/hydra/modules/sysadmin/dns.scm
+++ b/hydra/modules/sysadmin/dns.scm
@@ -1,6 +1,7 @@
;;; GNU Guix system administration tools.
;;;
;;; Copyright © 2019 Julien Lepiller <address@hidden>
+;;; Copyright © 2020 Tobias Geerinckx-Rice <address@hidden>
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
@@ -49,10 +50,13 @@
(define berlin-ip4 "141.80.181.40")
(define milano-guix-1-ip4 "159.149.133.203")
+;; The SOA MNAME and one NS record must always be consistent.
+(define primary-ns "ns1.gnu.org.")
+
(define-zone-entries guix.gnu.org.zone
;; Name TTL Class Type Data
("@" "" "IN" "A" berlin-ip4)
- ("@" "" "IN" "NS" "ns1.gnu.org.")
+ ("@" "" "IN" "NS" primary-ns)
("@" "" "IN" "NS" "ns2.gnu.org.")
("@" "" "IN" "NS" "ns3.gnu.org.")
("@" "" "IN" "NS" "ns4.gnu.org.")
@@ -103,5 +107,6 @@
(domain "guix.gnu.org")
(zone (zone-file
(origin "guix.gnu.org")
+ (ns primary-ns)
(entries guix.gnu.org.zone)
- (serial 2019121601)))))
+ (serial 2020022800)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: hydra: dns: Fix bogus MNAME.,
Tobias Geerinckx-Rice <=