I am trying to setup dynamic dns service (for personal usage). Something similar to dynds.org.
Things done so far: - delegated example.org to external dns server in ovh (my box) - setup bind to accept example.org - added subdomain home.example.org to bind config file with ttl 60
The goal is: - home.example.org should be updated frequently (every minute just like dyndns service) with destination IP address of my home network (dynamic IP address) - I will catch ping from my home network, save it to zone file and execute rndc reload example.org on my dns server - it should be propagated across world (just like dyndns)
The question is: how should "proper" zone file look like to be sure it will not be cached for more than one minute and that all world dns servers will ask my server for current ip.
The problem is that when I do dig flies.dyndns-home.com any
I can see that TTL drops:
flies.dyndns-home.com. 19 IN A X.X.X.X
flies.dyndns-home.com. 3 IN A X.X.X.X
but it's not the case with my domain:
home.example.org. 60 IN A X.X.X.X
home.example.org. 60 IN A X.X.X.X
It's always 60.
Any help would be appreciated.