<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>We had a strange behaviour with our old master running bind version: 9.3.6 release: 20.P1.el5.</div><div><br></div><div>We modify NSC m4 data files when adding one or more A records and use the make command to build the full environment on the master itself. At the end of the build, an HUP signal is sent to the named process. After the signal is sent, if a new change comes in, the process occurs again, thus modifying the files (that are supposed to be already loaded by named).<br></div><div>After a bunch of years and under heavy load on the master, we lost almost 4K records because the domain file seems to have been loaded while being generated.</div><div><br></div><div>My questions are:</div><div>- is 'rndc reload' returning when all zone files have been reloaded or is it returning while the loading process is ongoing ?<br></div><div><div>- same question with sending a HUP signal ? does it behave like 'rndc reload' ?<br></div><div>- how to ensure that named has loaded the files before modifying them again since they are at the same location ?<br></div><div><br></div><div>The log message reports 'loading configuration', but why not 'configuration files loaded' ?<br></div><div><br></div><div><div>Below is the event timeline, I hope it is clear enough for everyone:</div><div> 1. Oct 16 17:24:18 SLAVE1 named[29671]: [ID 873579 <a href="http://daemon.info">daemon.info</a>] transfer of '<a href="http://our.domain.com/IN">our.domain.com/IN</a>' from 192.168.122.100#53: Transfer completed: 10 messages, <b>14890</b> records, 413507 bytes, 0.249 secs (1660670 bytes/sec)<br> 2. (10/16/2018 17:28:57.202:1683726) : user pid=7501 uid=root auid=unknown(65030) msg='cmd=/sbin/service named reload (terminal=? res=success)'<br> 3. Oct 16 17:28:57 MASTER named[3292]: loading configuration from '/etc/named.conf' -> 2018101639<br> 4. AUTOMATION TOOL:16-10 17:28:57 newhostname 1045 Add DNS START<br> 5. 2018-10-16 17:29:00 +0200 (Tue, 16 Oct 2018) | 1 line IDXXX: Add DNS entry newhostname with 10.10.10.10 | r20907 |<br> 6. Oct 16 17:29:02 MASTER named[3292]: zone/<a href="http://our.domain.com:11473">our.domain.com:11473</a>: file does not end with newline    <- NSC make is running, generating new files because newhostname is added to a m4 file.<br> 7. Oct 16 17:29:02 MASTER named[3292]: zone <a href="http://our.domain.com/IN">our.domain.com/IN</a>: loaded serial 2018101640<br> 8. Oct 16 17:29:02 MASTER named[3292]: zone <a href="http://our.domain.com/IN">our.domain.com/IN</a>: sending notifies (serial 2018101640)<br> 9. Oct 16 17:29:19 SLAVE1 named[29671]: [ID 873579 <a href="http://daemon.info">daemon.info</a>] transfer of '<a href="http://our.domain.com/IN">our.domain.com/IN</a>' from 192.168.122.100#53: Transfer completed: 7 messages, <b>10806</b> records, 302763 bytes, 0.192 secs (1576890 bytes/sec)<br>10. (10/16/2018 17:34:27.798:1683828) : user pid=12079 uid=root auid=unknown(65030) msg='cmd=/sbin/service named reload (terminal=? res=success)' <br>11. Oct 16 17:34:27 MASTER named[3292]: loading configuration from '/etc/named.conf' -> 2018101640<br>12. AUTOMATION TOOL:16-10 17:34:28 newhostname 1045    Add DNS    SUCCESS<br>13. Oct 16 17:34:33 MASTER named[3292]: zone <a href="http://our.domain.com/IN">our.domain.com/IN</a>: zone serial unchanged<br>14. Oct 16 17:34:33 MASTER named[3292]: zone <a href="http://our.domain.com/IN">our.domain.com/IN</a>: loaded serial 2018101640<br>15. Oct 16 17:34:33 MASTER named[3292]: zone <a href="http://our.domain.com/IN">our.domain.com/IN</a>: sending notifies (serial 2018101640)<br>16. (10/16/2018 17:39:59.934:1683878) : user pid=15753 uid=root auid=unknown(65030) msg='cmd=/sbin/service named reload (terminal=? res=success)' <br>17. Oct 16 17:40:52 SLAVE1 named[29671]: [ID 873579 <a href="http://daemon.info">daemon.info</a>] transfer of '<a href="http://our.domain.com/IN">our.domain.com/IN</a>' from 192.168.122.100#53: Transfer completed: 10 messages, <b>14893</b> records, 413605 bytes, 0.255 secs (1621980 bytes/sec)<b><br></b><br></div><div><br></div><div>Thank you for you help and sorry to bother you with that.<br></div></div></div><div><br></div></div></div></div></div></div>