Skip to content

wamupd

wamupd is a wide-area Bonjour updating client for Linux. It’s meant to fill the gap until Avahi gains wide-area support (which is coming any day now, yup). For more information, you might check out posts on the blog tagged with wamupd.

Requirements

To run this software, you need the following:

  • ruby >= 1.8.7
  • Dnsruby 1.43 with two patches which have been accepted in to trunk/, but aren’t in any release yet
  • ruby-dbus
  • algorithms (it’s a gem)
  • A server set up to receive DNS UPDATEs. For more information, check out my blog posts Dynamic DNS and Dynamic DNS Part Two
  • (optional)Avahi (if you want to be able to publish
    .service

    records

Configuration

wamupd uses a fairly straightforward YAML configuration file. An example can be found in
test/data/config.yaml

. You can put it anywhere and just pass it into wamupd with the -c flag, or you can install it to
/etc/wamupd.yaml

.

Configuration options are detailed below:

hostname The hostname of this machine (if not what Socket.gethostname() returns)
zone The zone to update
dns_server The authoritative server for the above zone. Might be guessed if not specified. Will probably be wrong. I should do more SOA checks.
dns_port The port to talk to dns_server on. Defaults to 53
dnssec_key_name The key “name” for TSIG
dnssec_key_hmac The private key content for TSIG

Planned Features

  • Move configuration into XDG directory and use ruby-xdg to retrieve
  • Listen on Avahi D-BUS interface and actually replace Avahi for wide-area (partially done as of 0.1.0)
  • Make actual daemon option which double-forks and spits out a PID file

Downloading

The latest version can be downloaded from hhttps://github.com/Roguelazer/wamupd/tarball/master.

The repository is also on github: https://github.com/Roguelazer/wamupd

Feel free to e-mail me with questions if you have any.

Leave a Reply