LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 86
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
Code:
...
[server]
#host-name=foo
#domain-name=local
#browse-domains=0pointer.de, zeroconf.org
use-ipv4=yes
use-ipv6=yes
...
to use some other value for the domain-name key. The man page for avahi-daemon.conf says:
Code:
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
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-15 with Cinnamon & KDE
Posts: 1,271
Blog Entries: 3

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

From
Code:
domain-name=local
To
Code:
domain-name=elbonia
Following the edit, I used:
Code:
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.

Follow=up
According to Wikipedia:
Quote:
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.

Thanks,
~~~ 0;-Dan

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 01:02 AM.

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