Score:0

rndc Zone transfer completed but where is the hosts file?

in flag

Good day

When I run the following command from slave

 rndc retransfer example.com 

(or rndc addzone example.com '{ type slave; masters { masterip; }; };') before it was created

the log returns:

 received control channel command 'retransfer example.com'
 zone example.com/IN: Transfer started.
 transfer of 'example.com/IN' from masterip#53: connected using myslaveip #55162
 zone example.com/IN: transferred serial 2023021400: TSIG 'rndc-key'
 transfer of 'example.com/IN' from masterip#53: Transfer completed: 1 messages, 7 records, 303 bytes, 0.114 secs (2657 bytes/sec)
 zone example.com/IN: sending notifies (serial 2023021400)`

however example.com.hosts is not created /var/named/slaves nor is the zone entry created in /etc/named.conf

if i delete all files in /var/named/slaves and restart named server it does download all the files from the master. but only if they are specified in /etc/named.conf

I did read Bind, force zone update on slave

same problem here but no anwer https://github.com/webmin/webmin/issues/640

thank you in advance

Zareh Kasparian avatar
us flag
you need to add the name of your domain name into the secondary named.conf file. then the contents will be transferred
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.