dstapp / docker-ddns

Easy-to-deploy dynamic DNS with Docker, Go and Bind9
MIT License
654 stars 156 forks source link

Suggestion: add A record in zone #40

Open jb-alvarado opened 5 years ago

jb-alvarado commented 5 years ago

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?

dstapp commented 5 years ago

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.