mario-campos / dyndnsd

Dynamic DNS Daemon for OpenBSD

Home Page:https://mario-campos.github.io/software/dyndnsd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dyndnsd C/C++ CI

dyndnsd is a Dynamic-DNS daemon for OpenBSD. It is minimal, lightweight, intuitive, and generic/extensible enough to support any Dynamic-DNS provider.

Example

First, create the configuration file, /etc/dyndnsd.conf:

run "curl https://www.duckdns.org/update?domains=${DYNDNSD_FQDN}&token=sometoken&ip=${DYNDNSD_IPADDR}"

interface em0 {
	domain www.example.com
}

interface em1 {
	domain ftp.example.com
}

Test the configuration file:

$ dyndnsd -n
$

Then, start the daemon:

$ dyndnsd
$

Build

dyndnsd has no external dependencies—it's only dependency is libevent, but that's included in OpenBSD base—on so compiling dyndnsd is straightforward:

make

TODO

Features

  • route(4)
  • kqueue(2)
  • pledge(2)
  • drop privilege

Code Quality

  • Fuzz Testing
  • Valgrind
  • cppcheck

About

Dynamic DNS Daemon for OpenBSD

https://mario-campos.github.io/software/dyndnsd

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 80.4%Language:Roff 18.8%Language:Makefile 0.8%