Skip to content

stanislavb/loopia-dyndns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loopia DynDNS

Updates DNS records hosted at Loopia, a swedish hosting provider with its own implementation of DynDNS.

Requirements

  • Python 3
  • Requests library for python 3

Config file

Defaults under [DEFAULT] tag are inherited unless overridden. The "check" value makes the script check for the public IP of the machine it is run on using Loopia's IP checker. If it run behind NAT, it will get the public IP of the router.

[DEFAULT]
username = example.com
password = britneyspears
ip = check

[example.com]
ip = check

[www.example.com]
ip = check

[other.example.com]
ip = 1.2.3.4

Usage

The loopiadns.py script contains one config line. By default it points to accounts.cfg file in the same directory as the script.

configfile="accounts.cfg"

Run the script with a correctly written config file in the right location and you will get an output telling you what happened. Take care not to run it too often or face restrictions from Loopia's DynDNS service. When output is "abuse", wait for an hour or so before trying again.

License

Public domain. Please see LICENSE file.

About

Update DNS records hosted at Loopia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages