Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Systemd Service file for no-ip.com dynamic ip updater
# Simple No-ip.com Dynamic DNS Updater
#
# By Nathan Giesbrecht (http://nathangiesbrecht.com)
#
# 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin)
# 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file
# 3) Copy this file noip2.service to /etc/systemd/system/
# 4) Execute `sudo systemctl enable noip2`
# 5) Execute `sudo systemctl start noip2`
#
# systemd supports lots of fancy features, look here (and linked docs) for a full list:
# http://www.freedesktop.org/software/systemd/man/systemd.exec.html
[Unit]
Description=No-ip.com dynamic IP address updater
After=network.target
After=syslog.target
[Install]
WantedBy=multi-user.target
Alias=noip.service
[Service]
# Start main service
ExecStart=/usr/local/bin/noip2
Restart=always
Type=forking
@boomshadow

This comment has been minimized.

Show comment Hide comment
@boomshadow

boomshadow Mar 2, 2017

Thanks, this is exactly what I needed!

Thanks, this is exactly what I needed!

@1nternetz

This comment has been minimized.

Show comment Hide comment
@1nternetz

1nternetz Mar 16, 2017

Thank you!

Thank you!

@audip

This comment has been minimized.

Show comment Hide comment
@audip

audip Apr 28, 2017

Thanks

audip commented Apr 28, 2017

Thanks

@jorgejch

This comment has been minimized.

Show comment Hide comment
@jorgejch

jorgejch Jun 10, 2017

Thx!

Thx!

@bhundven

This comment has been minimized.

Show comment Hide comment
@bhundven

bhundven Jul 2, 2017

๐Ÿ‘

bhundven commented Jul 2, 2017

๐Ÿ‘

@saulodebaco

This comment has been minimized.

Show comment Hide comment
@saulodebaco

saulodebaco Jul 12, 2017

Tks a lot!

Tks a lot!

@aprobinda

This comment has been minimized.

Show comment Hide comment
@aprobinda

aprobinda Jul 21, 2017

Thank you!

Thank you!

@aaugusto-ies

This comment has been minimized.

Show comment Hide comment
@aaugusto-ies

aaugusto-ies Aug 29, 2017

Thank you! It's perfect: short, concise and to the target!
It worked flawlessly in a Raspeberry Pi 3 with opensuse Leap 43.2

aaugusto-ies commented Aug 29, 2017

Thank you! It's perfect: short, concise and to the target!
It worked flawlessly in a Raspeberry Pi 3 with opensuse Leap 43.2

@poppycocker

This comment has been minimized.

Show comment Hide comment
@poppycocker

poppycocker Sep 8, 2017

Great work ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

Great work ๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

@janhar

This comment has been minimized.

Show comment Hide comment
@janhar

janhar Sep 16, 2017

Thanks

janhar commented Sep 16, 2017

Thanks

@baldruus

This comment has been minimized.

Show comment Hide comment
@baldruus

baldruus Oct 2, 2017

Many thanks!

baldruus commented Oct 2, 2017

Many thanks!

@olihey

This comment has been minimized.

Show comment Hide comment
@olihey

olihey Nov 25, 2017

Thanks

olihey commented Nov 25, 2017

Thanks

@skjnldsv

This comment has been minimized.

Show comment Hide comment
@skjnldsv

skjnldsv Dec 26, 2017

Thank you! :)
Works perfectly on rpi B+ under Raspbian!

Thank you! :)
Works perfectly on rpi B+ under Raspbian!

@bobfourie

This comment has been minimized.

Show comment Hide comment
@bobfourie

bobfourie Feb 2, 2018

https://bugzilla.redhat.com/show_bug.cgi?id=1431368
Can't gethostbyname for dynupdate.no-ip.com
Can't get our visible IP address from ip1.dynupdate.no-ip.com

for those that have this error on boot, just change replace:
[Unit]
Description=No-ip.com dynamic IP address updater
Wants=network-online.target
After=network-online.target

Thank you for snippets :)

https://bugzilla.redhat.com/show_bug.cgi?id=1431368
Can't gethostbyname for dynupdate.no-ip.com
Can't get our visible IP address from ip1.dynupdate.no-ip.com

for those that have this error on boot, just change replace:
[Unit]
Description=No-ip.com dynamic IP address updater
Wants=network-online.target
After=network-online.target

Thank you for snippets :)

@lptrickmccarty

This comment has been minimized.

Show comment Hide comment
@lptrickmccarty

lptrickmccarty Mar 12, 2018

Very awesome!!!! Thank you!!!!

Very awesome!!!! Thank you!!!!

@stantonfinley

This comment has been minimized.

Show comment Hide comment
@stantonfinley

stantonfinley May 12, 2018

Don't forget to do a "sudo systemctl enable noip2.service" to enable this and create the proper symlinks. Then it will run on reboot.

Don't forget to do a "sudo systemctl enable noip2.service" to enable this and create the proper symlinks. Then it will run on reboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment