[Server-devel] [PATCH] named: Fix syntax errors

Martin Langhoff martin at laptop.org
Tue Jul 29 01:32:57 EDT 2008


Fix stupid named zone file syntax errors. Comments
start with semicolons, and CNAMEs are CNAME, not C,
even if 'address' is A.

My score in BIND administration 101 course: F
---
 fsroot.olpc.img/var/named/school.internal.zone.db |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/fsroot.olpc.img/var/named/school.internal.zone.db b/fsroot.olpc.img/var/named/school.internal.zone.db
index 6aec6d3..1979f6b 100644
--- a/fsroot.olpc.img/var/named/school.internal.zone.db
+++ b/fsroot.olpc.img/var/named/school.internal.zone.db
@@ -22,12 +22,12 @@ library		IN	A	172.18.0.1
 conference.schoolserver	IN	A	172.18.0.1
 
 
-# translations of school - in plain latin script
-# or un punycode of the utf-8 representation
+; translations of school - in plain latin script
+; or un punycode of the utf-8 representation
 
-# es - escuela
-escuela         IN      C       school
+; es - escuela
+escuela         IN      CNAME       school
 
-# de - schule
-schule          IN      C       school
+; de - schule
+schule          IN      CNAME       school
 
-- 
1.5.5.1



More information about the Server-devel mailing list