avahi-recorder

Dynamic Zero Config DNS Server powered by Avahi.


Keywords
avahi, dns, beer
License
Other
Install
pip install avahi-recorder==0.1.0

Documentation

Build Status

Avahi Recorder

Dynamic Zero Config DNS Server powered by Avahi.

Listen to Avahi and write DNS record for each discovered host on the lan. It allow Avahi to bind addresses for outsider subnetwork.

Install

sudo pip install avahi-recorder
sudo yum install python-dbus
avahi-recorder.py
# It will create  a DNS zone file in /etc/named/avahi-discover
# yum install bind dnsutils
# configure your dsn server
# enjoy :)

Develop

# use sys packages for dbus
virtualenv env -p python2 --system-site-packages
env/bin/pip install -e .[dev]
env/bin/flake8 *.py
env/bin/avahi-recorder.py

TODOs

  • Configurable PARENT_DOMAIN, ZONE_FILE
  • Example of working DNS config
  • command line arguments
    • domain
    • service-type
    • --permanent

If you want some todos done, just tweet me :)

Licence

THE BEER-WARE LICENSE (Revision 42):

Jonathan Sanchez wrote this software. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.