dstapp / docker-ddns

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

Multiple domains #74

Open sanctimon opened 2 years ago

sanctimon commented 2 years ago

Hello, this is perhaps less of an issue and more a question of me not understanding the instructions correctly.

I have three domains:

domain.aaa domain.bbb domain.ccc

they are all sitting on servers behind the same router. The router is on a dynamic IP.

I have set up a Cloud VM that will serve as the dynamic DNS server with a static IP.

I have deployed your docker image there.

My env file looked like this before deployment:

SHARED_SECRET=something ZONE=domain.aaa,domain.bbb,domain.ccc RECORD_TTL=3600

On my Domain Registrar, I have set up a subdomain to domain.aaa called dyndns.domain.aaa I have pointed an A record to the IP Address of the VM.

Now, say I want to manually update the IP Address that the registrar is pointing to for all three domains.

I send request http://dyndns.domain.aaa:8080/update?secret=something&domain=domain.aaa&addr=current.IP

The response is: {"Success":false,"Message":"exit status 1: check-names failed: bad owner 'domain.aaa.domain.aaa,domain.bbb'\nsyntax error\n","Domain":"domain.aaa","Domains":["domain.aaa"],"Address":"current.IP","AddrType":"A"}

What have I understood wrong?

sanctimon commented 2 years ago

Bump.

gamemodeop commented 1 year ago

Unfortunately I have the same problem but with just one domain. Any updates here?