Default config may be :
Code: Select all
hosts: files dns
If you install the avahi daemon, the config is updated to :
Code: Select all
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
Avahi proposes an API to register services, which is available in C, D-BUS, etc.
For example, it could be used in python (with the python-dbus packages or even the python-avahi package) and be integrated into nmcontrol.
I don't know enough about avahi to know if is would be possible to register nmcontrol as a dns service for .bit, but it can be an interesting way for a better integration under linux.
Anybody knows more about avahi and its possibilities ?
Edit: some avahi usages, to broadcast services :
- http://stackoverflow.com/questions/3430 ... ent-server
- http://stackp.online.fr/?p=35
Edit2: avahi is used under linux to broadcast your local hostname on the network, so, people can contact you with the hostname <computer-name>.local on your network by using multi-cast dns.
Edit3 : avahi-daemon.conf
Code: Select all
#publish-dns-servers=192.168.50.1, 192.168.50.2
#publish-resolv-conf-dns-servers=yes
Edit4 : avahi-dnsconfd :
Code: Select all
This tool listens on the network for announced DNS servers and passes them
to resolvconf so it can use them. This is very useful on autoconfigured
IPv6 networks.
Edit5 : avahi seems mainly targeted on hostnames and not on networks/zones. I still search a bit.
Edit6 : this python script register another alias (CNAME) for your computer.
Would it be possible to register the "bit" domain with a NS record set to 127.0.0.2 (default nmcontrol dns server ip) ?