dyndns

package
v0.0.0-...-7a54e0b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2019 License: MIT Imports: 9 Imported by: 1

Documentation

Overview

Package dyndns provides a tool for running a dynamic dns updating service.

Index

Constants

This section is empty.

Variables

View Source
var (
	Urls = []string{"https://ip.darkcloud.ca"}
)

Urls contains a set of mirrors in which a raw IP string can be retreived. It is exported for the intent of modification.

Functions

func GetExternalIP

func GetExternalIP() (string, error)

GetExternalIP retrieves the external facing IP Address. If multiple mirrors are provided in Urls, it will try each one (in order), should preceding mirrors fail.

func Run

func Run(configs []api.Config, daemon bool)

Run will process each configuration in configs. If daemon is true, then Run will run forever, processing each configuration at its specified interval.

Each configuration represents a domain with multiple hostnames.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL