Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wyattjoh/ydns-updater

A DNS Updater client written in Go for yDNS
https://github.com/wyattjoh/ydns-updater

Last synced: about 2 months ago
JSON representation

A DNS Updater client written in Go for yDNS

Awesome Lists containing this project

README

        

# yDNS Updater

![Test](https://github.com/wyattjoh/ydns-updater/workflows/Test/badge.svg)

A lightweight appplication which updates a dns entry on [https://ydns.eu/](https://ydns.eu/) using a systemd unit provided in `systemd/ydns-updater.service`. This will take the servers current ip address and update the associated DNS entry. Perfect for connecting to your home network if it has a dynamic ip address.

## Getting started

### From source

```bash
# Get the code
go get github.com/wyattjoh/ydns-updater

# Install the systemd files
cp $GOPATH/src/github.com/wyattjoh/ydns-updater/systemd/ydns-updater.service /etc/systemd/system

# Edit the systemd file
#
# Adjust /root/go/bin to where your $GOPATH/bin directory is for your user
#
# --host ""
# --user "" Found https://ydns.eu/api/
# --pass "" Found https://ydns.eu/api/
vim /etc/systemd/system/ydns-updater.service

# Start and enable service
systemctl start ydns-updater.service
systemctl enable ydns-updater.service
```

### Installation Via Homebrew

```
brew install wyattjoh/stable/ydns-updater
```

### Precompiled

1. Download pre-compiled binary on the [Releases Page](https://github.com/wyattjoh/ydns-updater/releases/latest) for your Arch/OS
2. Download systemd unit file and install into `/etc/systemd/system`
3. Start service `systemctl start ydns-updater.service`
4. Enable service `systemctl enable ydns-updater.service`