Coder Social home page Coder Social logo

avahi-aliases's Introduction

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:
 1. You can use this for commerical and personal projects.
 2. You must give me credit in your product.
 3. 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
-----------------
1. `sudo nano /etc/avahi/aliases.d/default`
2. insert something.local on a new line
3. save
4. ???
5. 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
=====

1. implement `sudo avahi-alias add/remove aliasname`
2. implement `sudo avahi-alias list`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.