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

Added static IP management and init.d scripts #1

Merged
merged 6 commits into from May 6, 2014

Conversation

ilario
Copy link
Member

@ilario ilario commented May 4, 2014

Hi, I added the possibility to specify an explicit IP in the request to dyndns server, so that I can set an IP different from mine. Added also init.d scripts for Debian.

@ilario
Copy link
Member Author

ilario commented May 5, 2014

now the dnsninuxserver.py supports both dnsninuxclient.sh (no IP parameter) and dnsninuxclient-static.sh (mandatory IP parameter) so IP parameter is not needed and the server script has backward compatibility to the old version of dnsninuxclient.sh.

@fabys77
Copy link

fabys77 commented May 5, 2014

hi Ilario,
as to me is more usefull have an hotplug script than init.d one; it's invoked when the connection hangs up and not only on router reboot.
If you have time/want, could you implement the push the AAAA record for static and dynamic ipv6?

Thanks
Fabio

@cl4u2
Copy link
Member

cl4u2 commented May 6, 2014

Great! Merging!

cl4u2 added a commit that referenced this pull request May 6, 2014
Added static IP management and init.d scripts
@cl4u2 cl4u2 merged commit 0ba15a0 into ninuxorg:master May 6, 2014
@ilario
Copy link
Member Author

ilario commented May 8, 2014

@fabys77 you're right, making the script run every time the IP changes should be simple: try putting the client script in /etc/dhcp/dhclient-exit-hooks.d/ (but for me it doesn't run, don't know why).

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