Currently I am using two DNS server, one as a master, one as a slave. Both of them are working nice. Both of them are RedHat5, the master is running the version of named: BIND 9.3.4-P1, the slave is running: BIND 9.3.3rc2.
Now I have enabled a freshly installed server, CentOS7, running the version: BIND 9.9.4-RedHat-9.9.4-51.el7 (Extended Support Version)
I have configured it as a slave, and all the time it tried to update the zonefile, it failed with syntax error:
named: zone gab.bi/IN: refresh: retry limit for master 192.168.1.236#53 exceeded (source 0.0.0.0#0) named: zone gab.bi/IN: Transfer started. named: transfer of 'gab.bi/IN' from 192.168.1.236#53: connected using 192.168.1.30#42875 named: transfer of 'gab.bi/IN' from 192.168.1.236#53: failed while receiving responses: syntax error named: transfer of 'gab.bi/IN' from 192.168.1.236#53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.005 secs (0 bytes/sec)`
I have decided to only keep one record, and check it with the zonechecker, to see what is going on. The one-record db file looks like the one below:
$ORIGIN gab.bi. 000200b3009ge A 22.214.171.124 TXT "1509653923" NAPTR 0 0 "GAB-62110" "v0 19275379 2.28 126.96.36.199" "4:7:18:30.36" 1509653923.
Running the named-checkzone resulted the following, so there is a problem with the NAPTR record.
-# named-checkzone gab.bi /etc/named/db.gab dns_rdata_fromtext: /etc/named/db.gab:15: syntax error zone gab.bi/IN: loading from master file /etc/named/db.gab failed: syntax error zone gab.bi/IN: not loaded due to errors.
It is quite strange, that it is running fine on the master, the "old" slave was able to update his dbfile using the format described above, but it fails using a newer version of named.
Your help is highly appreciated.