docker-ddns-server icon indicating copy to clipboard operation
docker-ddns-server copied to clipboard

Zone Transfer possible?

Open DuckY1987 opened this issue 2 years ago • 3 comments

Good day,

i would like to use Zone-Transfer and this docker-instance as primary dyndns zone, is that possible or could you implement it?

Would be neat that you could simply add a zone-transfer option with a list of allowed server ips over the GUI ;).

Following planed setup: Plesk as secondary dns server for the subdomain, your docker instance as primary with zone-transfer.

Thanks a lot.

Best Regards

DuckY1987 avatar Oct 25 '23 07:10 DuckY1987

Had a look into the code, probably you could implement that into your code already, if i didn't do a mistake:

./deployment/setup.sh:[ -z "$DDNS_TRANSFER" ] && echo "DDNS_TRANSFER not set" && exit 1; ./deployment/setup.sh: allow-transfer { ${DDNS_TRANSFER}; }; ./deployment/envfile:DDNS_TRANSFER=none ./deployment/docker-compose.yml: DDNS_TRANSFER: 'none'

docker run ..... Env-Option: -e DDNS_TRANSFER=8.8.8.8 \

Then it is already possible to use it when you deploy the container. ;)

DuckY1987 avatar Oct 25 '23 08:10 DuckY1987

Was easier than i thought:

https://github.com/benjaminbear/docker-ddns-server/pull/37

DuckY1987 avatar Oct 25 '23 09:10 DuckY1987

i just verified. my secondary server updates its records and can transfer the zone, with a delay.

DuckY1987 avatar Oct 25 '23 13:10 DuckY1987