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

DynDns #1

Open
Kraeutergarten opened this issue Oct 17, 2017 · 5 comments
Open

DynDns #1

Kraeutergarten opened this issue Oct 17, 2017 · 5 comments
Labels

Comments

@Kraeutergarten
Copy link

Does it support dyndns?

@McLive
Copy link
Owner

McLive commented Oct 17, 2017

It currently doesn‘t support dyndns.
How should a feature like that look like?

For now you can easily create dynamic DNS records with the REST-API.

@McLive McLive added the feature label Oct 17, 2017
@Kraeutergarten
Copy link
Author

For most routers you need to add username and password to the url like:

https://domain.de/api/v3/update?hostname={hostname}&myip={IPAddress}&user={user}&password={password}

Does this work with your rest api? Some API only support username and password via header.

@McLive
Copy link
Owner

McLive commented Oct 17, 2017

You have to use an apiKey like this:

http://127.0.0.1:8000/api/domain/1/record/?apiKey=1234567890

Then PUT a json string:
{ "id": 11, "content": "192.168.178.2" }

This will set the content of record 11 to 192.168.178.2

@Kraeutergarten
Copy link
Author

This won't work on the most routers. A lot of router hardware can't do json.

There need to be a extra API for dyndns.

Like:
https://domain.de/dyn/v1/update?hostname={hostname}&myip={IPAddress}&user={user}&password={password}

This API should only be able to update records.

Do you come from Germany? Maybe you know Fritz.box (Router)

@McLive
Copy link
Owner

McLive commented Oct 19, 2017

Yeah I know them but that's currently not supported.

I'll add an api endpoint for dyndns soon

aljaxus added a commit to aljaxus/DjangoPowerDNS that referenced this issue Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants