Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter for domains that use the fqdn (Zone) in the submit #63

Open
gmkey opened this issue Jan 14, 2021 · 0 comments
Open

filter for domains that use the fqdn (Zone) in the submit #63

gmkey opened this issue Jan 14, 2021 · 0 comments

Comments

@gmkey
Copy link

gmkey commented Jan 14, 2021

The newer versions of the AVM fritz!box routers, now require the DDNS domain to be a FQDN, including the zone. This leads to entries in the zone file that are like this:

ZONE=example.com

request url:
https://ddns.example.com/v3/update?hostname=hostname.example.com&myip=<ipaddr>&password=<passwd>

Resulting entry in the zone file:
hostname.example.com.example.com

The obvious solution of not using the FQDN but only the hostname results in tons of error messages.

Request: would it be possible to add a filter to the go scripts that checks if the hostname string contains a substring that is equal to the zone string and remove .zone from the hostname? (or any other solution that would yield the same result).

PS: this seems like a little patch, but unfortunately I have very limited go skills.

gmkey added a commit to gmkey/docker-ddns-old that referenced this issue Feb 16, 2021
This pull requests removes the  "ZONE" string from the "hostname" or "domain" fields of the request, as this is used by AVM fritz!box routers to check if the update is actually executed, but would recursively lead to updates in the form of:

ZONE=example.com
request url:
https://ddns.example.com/v3/update?hostname=hostname.example.com&myip=<ipaddr>&password=<passwd>
Resulting entry in the zone file: hostname.example.com.example.com

Solves dstapp#63
christophknuth pushed a commit to christophknuth/docker-ddns that referenced this issue Sep 2, 2022
This pull requests removes the  "ZONE" string from the "hostname" or "domain" fields of the request, as this is used by AVM fritz!box routers to check if the update is actually executed, but would recursively lead to updates in the form of:

ZONE=example.com
request url:
https://ddns.example.com/v3/update?hostname=hostname.example.com&myip=<ipaddr>&password=<passwd>
Resulting entry in the zone file: hostname.example.com.example.com

Solves dstapp#63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant