Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-29-2012, 12:56 PM   #1
Senior Member
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.3 with Cinnamon & KDE
Posts: 1,558
Blog Entries: 3

Rep: Reputation: 105Reputation: 105
how to use something not dot-local for AVAHI workstation names?

I would like to configure my own name string, eg -- "elbonia", instead of "local" that is built-in AVAHI (zeroconf) networking. I don't find
documentation that tells me what that will break. More precisely, I don't find documentation that tells me all of the other things to configure in addition to that name.

I can easily edit the file /etc/avahi/avahi-daemon.conf
to use some other value for the domain-name key. The man page for avahi-daemon.conf says:
domain-name= Set the default domain name avahi-daemon tries to register its hostname and services on the LAN in. If omitted defaults to ".local".
Nowhere do I find any mention of dependencies or lack thereof on this setting.

Thanks in advance,
~~~ 0;-Dan
Old 02-29-2012, 01:08 PM   #2
Senior Member
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.3 with Cinnamon & KDE
Posts: 1,558
Blog Entries: 3

Original Poster
Rep: Reputation: 105Reputation: 105
I made the simple edit:

Following the edit, I used:
prompt$  sudo  restart  avahi-daemon
avahi-daemon start/running, process 32193

prompt$  sudo  avahi-browse --all
service_type_browser failed: DNS failure: NXDOMAIN
Clearly, something expects the "local" domain to exist and "elbonia" does not exist.

According to Wikipedia:
Name resolution

In 2000, Bill Manning and Bill Woodcock described the Multicast Domain Name Service[2] which spawned the implementations by Apple and Microsoft. Both implementations are very similar. Apple's Multicast DNS (mDNS) is an open specification, while Microsoft's Link-local Multicast Name Resolution (LLMNR) is little used and the specification is not an IETF standards track publication. The latter was published as informational RFC 4795.

The two protocols have minor differences in their approach to name resolution. mDNS allows a network device to choose a domain name in the local namespace and announce it using a special multicast IP address. This introduces special semantics for the local domain,[3] which is considered a problem by some members of the IETF.[4] The current LLMNR draft allows a network device to choose any domain name, which is considered a security risk by some members of the IETF.[5] mDNS is compatible with DNS-SD as described in the next section, while LLMNR is not.[6]
So the name "local" is, in fact, a magic word, and use of something else likely demands extensive configuration.

Yes, my desire is to operate Avahi/Zeroconf among my hosts regardless of whatever else might be happening on the same private LAN. There is a convention for private network IP address assignment. It appears that there is no similar convention for private network domain names. For example, reserve the top-level domain dot-lan or similar so that "anystring.lan" can be the domain name for a private network.

Without running a full scale DNS on each workstation, how do I alter the name of the default "localdomain"? Is that simply an entry in /etc/networks? But
that requires I know the network address in use rather than discovery based on whatever I get from DHCP.

~~~ 0;-Dan

Last edited by SaintDanBert; 02-29-2012 at 01:22 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get avahi to install (trying to get Netatalk and Avahi running) MarcusWebb1966 Gentoo 4 07-28-2011 03:55 AM
Apache2/Worpress rewriting url to avahi's .local mpapet Linux - Server 1 12-18-2010 02:54 AM
LXer: eWEEK Names VMware Workstation a Top Product of 2005 LXer Syndicated Linux News 0 01-09-2006 02:16 PM
User names with a dot? tplessers Linux - Newbie 20 08-29-2004 07:31 AM
useradd not accepting dot so i am not able to use dot in mail id hanu_raob Linux - General 5 05-13-2004 07:04 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration