Skip to content

Instantly share code, notes, and snippets.

Embed
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.

Copy link

boomshadow commented Mar 2, 2017

Thanks, this is exactly what I needed!

@1nternetz

This comment has been minimized.

Copy link

1nternetz commented Mar 16, 2017

Thank you!

@audip

This comment has been minimized.

Copy link

audip commented Apr 28, 2017

Thanks

@jorgejch

This comment has been minimized.

Copy link

jorgejch commented Jun 10, 2017

Thx!

@bhundven

This comment has been minimized.

Copy link

bhundven commented Jul 2, 2017

👍

@saulodebaco

This comment has been minimized.

Copy link

saulodebaco commented Jul 12, 2017

Tks a lot!

@aprobinda

This comment has been minimized.

Copy link

aprobinda commented Jul 21, 2017

Thank you!

@aaugusto-ies

This comment has been minimized.

Copy link

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.

Copy link

poppycocker commented Sep 8, 2017

Great work 👍 👍 👍

@janhar

This comment has been minimized.

Copy link

janhar commented Sep 16, 2017

Thanks

@Marenostrum81

This comment has been minimized.

Copy link

Marenostrum81 commented Oct 2, 2017

Many thanks!

@olihey

This comment has been minimized.

Copy link

olihey commented Nov 25, 2017

Thanks

@skjnldsv

This comment has been minimized.

Copy link

skjnldsv commented Dec 26, 2017

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

@bobfourie

This comment has been minimized.

Copy link

bobfourie commented 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 :)

@lptrickmccarty

This comment has been minimized.

Copy link

lptrickmccarty commented Mar 12, 2018

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

@stantonfinley

This comment has been minimized.

Copy link

stantonfinley commented 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.

@krystof1119

This comment has been minimized.

Copy link

krystof1119 commented Jul 11, 2018

Thanks! Wrote this myself WAY too many times... but this one is more reliable, somehow.

@nemet

This comment has been minimized.

Copy link

nemet commented Jul 26, 2018

Thanks!

@robinastedt

This comment has been minimized.

Copy link

robinastedt commented Aug 6, 2018

Thanks! Couldn't get mine to work...

@OdeToSpot

This comment has been minimized.

Copy link

OdeToSpot commented Sep 5, 2018

Thanks! Works like a charm :)

@jwmarcus

This comment has been minimized.

Copy link

jwmarcus commented Oct 2, 2018

Perfect! Worked right out of the box for Ubuntu 18.04 LTS. Thanks for sharing!

@BurhanKhan1

This comment has been minimized.

Copy link

BurhanKhan1 commented Oct 19, 2018

Awesome

@Odel

This comment has been minimized.

Copy link

Odel commented Nov 22, 2018

Thanks!

@oldfellla

This comment has been minimized.

Copy link

oldfellla commented Dec 4, 2018

Thanks dude, that's great for a lazy ass like me :-)
Awesome!

@fabricioitajuba

This comment has been minimized.

Copy link

fabricioitajuba commented Dec 25, 2018

Thank you!

@jonopare

This comment has been minimized.

Copy link

jonopare commented Jan 23, 2019

👍 👍

@hanhha

This comment has been minimized.

Copy link

hanhha commented Feb 11, 2019

Thank you very much. It saved me several hours as I've ever remember them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.