Перезапишите истечение SOA в bind9 ведомом сервере имен

и попытайтесь использовать "sudo-E шеф-повар-клиент"...

2
задан 28 April 2015 в 10:07
2 ответа

Я не думаю, что вы можете изменить время истечения срока. Однако, если рассинхронизация в течение одной недели допустима, можно настроить его как ведущее и периодически синхронизировать с dig -t AXFR> db.zone и rndc reload .

]
1
ответ дан 3 December 2019 в 09:05

After reading the code, I found a solution that seems to work. bind stores the time of what he think he last refreshed the zone as the modification time of the zone file. So

$ touch /var/cache/bind/domain.tld.db
$ rndc reload

will make it think it has just refreshed the domain. This trick works even in hindsight, i.e. after the link to the master servers are lost and the domain has already expired and the slave server has stopped to answer requests.

6
ответ дан 3 December 2019 в 09:05

Теги

Похожие вопросы