Using a DynDNS hostname in master-statement for a bind slave?

Doug Barton dougb at dougbarton.us
Fri Jun 27 17:56:33 UTC 2014


On 06/27/2014 08:27 AM, Johannes Kastl wrote:
> The slave server (HOST B) is reachable from the internet via a dynDNS
> hostname.
>
> Now I want to setup another bind as slave on a server hosted at my
> provider. It should use HOST B as its master, to transfer the zone and
> act as a slave.
>
> BUT I found nothing in the documentation on how to deal with a master
> server that has no fixed IP and is reachable via a dynamic hostname.

That's because it cannot be done. You need a master with a fixed address.

If your zone content and IP address don't change often you could set a 
very long expire time on the zone, and fix the master definition on your 
provider's slave whenever it breaks, but that's pretty fragile.

Good luck,

Doug



More information about the bind-users mailing list