ArielGlenn has submitted this change and it was merged.

Change subject: add explicit comments for ranges, hoping to avoid off-by-one
......................................................................


add explicit comments for ranges, hoping to avoid off-by-one

Change-Id: Ibce02d1f3f499cd6b516768424d8ce52542f6ee2
---
M templates/10.in-addr.arpa
M templates/wmnet
2 files changed, 7 insertions(+), 3 deletions(-)

Approvals:
  ArielGlenn: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/templates/10.in-addr.arpa b/templates/10.in-addr.arpa
index 4a2e7cd..8bbaf85 100644
--- a/templates/10.in-addr.arpa
+++ b/templates/10.in-addr.arpa
@@ -115,7 +115,8 @@
 
 52     1H      IN PTR  searchidx2.pmtpa.wmnet.
 
-; Seach servers
+; Search servers
+; search13-50
 {% for i in range(13, 51) %}
 {{ i }}        1H      IN PTR  search{{ i }}.pmtpa.wmnet.
 {%- endfor %}
diff --git a/templates/wmnet b/templates/wmnet
index 3aee9fc..32421c4 100644
--- a/templates/wmnet
+++ b/templates/wmnet
@@ -242,12 +242,12 @@
 
 ; GENERATES
 
-; mw1-mw110
+; mw1-mw109
 {% for i in range(1, 110) %}
 mw{{ i }}      1H      IN A            10.0.11.{{ i }}
 {%- endfor %}
 
-; mw111-mw126
+; mw111-mw125
 {% for i in range(111, 126) %}
 mw{{ i }}       1H      IN A            10.0.11.{{ i }}
 {%- endfor %}
@@ -517,6 +517,7 @@
 payments4      1H      IN A            10.0.9.4
 
 ;search servers
+; search13-50
 {% for i in range(13, 51) %}
 search{{ i }}  1H      IN A            10.0.3.{{ i }}
 {%- endfor %}
@@ -878,12 +879,14 @@
 ; GENERATES FOR MANGEMENT
 
 ; Squid Mangement Range
+; sq37-86
 {% for i in range(37, 87) %}
 sq{{ i }}      1H      IN A            10.1.3.{{ i }}
 {%- endfor %}
 
 ; Apache Srv Mangement Range
 srv193                1H       IN A            10.1.2.193
+; srv235-250
 {% for i in range(235, 251) %}
 srv{{ i }}     1H      IN A            10.1.2.{{ i }}
 {%- endfor %}

-- 
To view, visit https://gerrit.wikimedia.org/r/92296
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibce02d1f3f499cd6b516768424d8ce52542f6ee2
Gerrit-PatchSet: 1
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: ArielGlenn <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to