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

Specify IP to set for zoneedit #3261

Merged
merged 1 commit into from
Dec 8, 2016
Merged

Specify IP to set for zoneedit #3261

merged 1 commit into from
Dec 8, 2016

Conversation

phil-davis
Copy link
Contributor

Documentation of the zoneedit dynamic DNS change API:
https://support.zoneedit.com/Knowledgebase/Article/View/4/1/changes-to-dynamic-dns

Format is:
https://dynamic.zoneedit.com/auth/dynamic.html?host=<your_hostname>&dnsto=<your_ip>

The dyndns.class code for "zoneedit" does not specify "dnsto" at all. So I guess Zoneedit will be assuming the IP address that the request came from, which will be whatever is the current default gateway of pfSense - which probably works OK for ordinary failover of a primary to secondary, but not when the user wants the dynamic DNS name to point to something else.

This is a possible fix for Redmine 6992. It needs testing by someone with the relevant configuration and Zoneedit account, e.g. the OP of the issue.
https://redmine.pfsense.org/issues/6992

@netgate-git-updates netgate-git-updates merged commit 176d24e into pfsense:master Dec 8, 2016
@phil-davis
Copy link
Contributor Author

@rbgarga Did you manage to test it?
I actually do not know if it really works, I just followed the Zoneedit FAQ doc.

@rbgarga
Copy link
Member

rbgarga commented Dec 8, 2016

No, I don't have an account to validate it, what is a common situation when we deal to dyndns. But I've checked recommended clients source code and they all use this parameter.

https://sourceforge.net/projects/zoneclient/files/
https://github.com/egiles/dns-zoneedit/blob/master/lib/DNS/ZoneEdit.pm#L71

Now I've updated the ticket and submitter will be able to help us testing it

@phil-davis phil-davis deleted the zoneedit branch December 27, 2016 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants