avahi-aliases
avahi-aliases copied to clipboard
Announce multiple avahi cname aliases across your local network. supports Ubuntu 12.04+
Avahi Aliases
Copyright 2013 Zenobius Jiricek
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit: http://creativecommons.org/licenses/by-sa/3.0/.
Basically:
- You can use this for commerical and personal projects.
- You must give me credit in your product.
- If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
But you should really read the full liscense :
http://creativecommons.org/licenses/by-sa/3.0/
Install
sudo apt-get install python-avahi
sudo pip install git+git://github.com/airtonix/avahi-aliases.git
Uninstall
sudo pip uninstall avahi-aliases
Usage
Daemon Control:
sudo service avahi-alias start
sudo service avahi-alias restart
sudo service avahi-alias stop
Creating Aliases
-
sudo nano /etc/avahi/aliases.d/default
- insert something.local on a new line
- save
- ???
- profit
Notes:
* aliases must end in .local
* One alias per line
* blank lines are ignored
* lines prefixed with #
are ignored
* you must manually restart the daemon after modifying alias files
Todo
- implement
sudo avahi-alias add/remove aliasname
- implement
sudo avahi-alias list