You may receive error “dns_rdata_fromtext: extra input text” when you run named_checkzone after updating comments. This usually happens when your comments are more than two words. The fix is to reduce and limit your comments to just two words.
Example:
gunnalag@master:/etc/named> /etc/named_checkzone /etc/named/177.99.105.rev /etc/named/TESTSITE.Testdom.com
zone 160.77.149.in-addr.arpa/IN: loaded serial 90700
OK
dns_rdata_fromtext: /etc/named/TESTSITE.Testdom.com:649: near ‘servers’: extra input text
zone TESTSITE.Testdom.com/IN: loading from master file /etc/named/TESTSITE.Testdom.com failed: extra input text
gunnalag@master:/etc/named> sudoedit /etc/named/TESTSITE.Testdom.com
gunnalag@master:/etc/named> rcsdiff -u TESTSITE.Testdom.com
===================================================================
RCS file: RCS/TESTSITE.Testdom.com,v
retrieving revision 1.150
diff -u -r1.150346 TESTSITE.Testdom.com
— TESTSITE.Testdom.com 2009/07/30 11:33:34 1.150346
+++ TESTSITE.Testdom.com 2009/07/31 07:06:15
@@ -2,7 +2,7 @@
; — TESTSITE.Testdom.com ———————————————————-
@ IN SOA master.TESTSITE.Testdom.com. Sys.Testdom.com. (
– 09073 10400 3600 36200 300)
+ 90700 10400 3600 36200 300)
; Serial Refresh Retry Expire Minimum
; yymmddxxxx 3h 1h 42d 1h
@@ -644,9 +644,9 @@
sepmgr IN A 177.99.105.127
IN A 177.99.105.128
IN HINFO SEPM servers
-sepqa1 IN A 177.99.105.129
-sepqamgr IN A 177.99.105.129
– IN HINFO SEPM QA servers <= Issue: comments more than two words is incorrect/limitation with current setup
+sepqa1 IN A 177.99.105.126
+sepqamgr IN A 177.99.105.126
+ IN HINFO SEPM_QA servers <= Fix: comments shouldn’t be more than two words
dbdev1 IN A 177.99.105.161
IN HINFO Windows-2003-x64
dbdev2 IN A 149.77.164.210
gunnalag@master:/etc/named>