问题原文
原帖链接 · geohei · CC BY-SA 3.0
I'd like to configure bind9 as DNS slave server doing axfr from a DNS master server (PowerDNS) which is behind a dynamic IP.
The usual configuartion is:
zone "example.com" {
type slave;
masters { 198.199.120.1; };
file "/var/lib/bind/db.example.com";
};
I can't simply change the IPv4 (198.199.120.1) into a FQDN (mydynaddr.home.net).
How can I do this?
已采纳解答
原帖链接 · Calle Dybedahl · CC BY-SA 3.0
I don't think you can get BIND to do that. DNS isn't really designed with dynamic IP addresses in mind, so solving this entirely on the DNS level is likely to be quite tricky. I suspect your easiest option is to rsync the zone files over to the BIND host and then use ssh to do an rndc reload.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
