dstapp/docker-ddns

Suggestion: add A record in zone

jb-alvarado opened this issue · 1 comments

Hello,
thanks for your project! I have adapt it to a kvm VM and it works smoothly there. In your example the zone was example.org but for me it had to be dyndns.example.org - that is a bit confusing.

Anyway now it works but I could still not ping dyndns.example.org, for this I had to add a A record in my zone file, like:

$ORIGIN .
$TTL 86400      ; 1 day
dyndns.example.org         IN SOA  localhost. root.localhost. (
                                76         ; serial
                                3600       ; refresh (1 hour)
                                900        ; retry (15 minutes)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                                )
                        NS      localhost.
                        A       1.2.3.4 
...

1.2.3.4 should be the world IP, not from the container.

Maybe you want to add this to your setup?

Hey, thanks for your feedback. Yeah, this seems to make it clearer, my documentation is lacking that explicit bit, so i could be confusing. I'll add it. Thanks.