Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Avahi vs mDNSResponder

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Ahri
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 126
Joined: Sun Apr 04, 2004 5:33 pm
Location: Manchester/UK
Contact:
Contact Ahri
Website

Avahi vs mDNSResponder

  • Quote

Post by Ahri » Mon Jul 17, 2006 8:53 am

Hi this is an info-seeking post, I have been reading up on these two apps but would like more insight.

From what I've read it seems like Avahi isn't deemed 'ready' yet, which is why KDE's networking reccomends mDNSResponder. However on the Avahi website they've recently posted about how Avahi is fully compliant with Apple's Bonjour test suite... So is Avahi now 'ready' to be a replacement for mDNSResponder?

I also notice in Avahi's USE flags that howl-compat and mdnsresponder-compat are off by default, but there suggest to me that Avahi is now a superset of the available features, but one that provides backwards compatibility to the subsets that are Howl and mDNSResponder.

Am I correct? If I am then I'd like to remove mDNSResponder and compile Avahi with both compatibility flags on. Is this is a feasable replacement in the eyes of KDE?

Also; what are the different Avahi init scripts for? I have both avahi-daemon and avahi-dnsconfd.

Thanks in advance for clarification!
Top
lefou
Apprentice
Apprentice
Posts: 207
Joined: Wed Feb 18, 2004 10:11 pm
Location: Germany, Lusatia
Contact:
Contact lefou
Website

  • Quote

Post by lefou » Mon Jul 24, 2006 9:53 am

I'm interested in a good explanation too. Some packages only have support for avahi, so I would like to know, if I lose anything, when I switch from mDNSResponder to avahi.
Top
1ino1eum_4the_win
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Sun May 07, 2006 10:05 pm

  • Quote

Post by 1ino1eum_4the_win » Mon Jul 31, 2006 12:18 am

In the The GNOME Configuration HOWTO, at http://www.gentoo.org/doc/en/gnome-config.xml , it is writed that it could be a good idea to use howl as a DNS-detection to GNOME similar to rendez-vous apple.
but few weeks ago, with a emerge --depclean, emerge automaticaly removed howl ... so I went to the website : http://www.porchdogsoft.com/products/howl/ and they say that howl is dead , and advice linux users to use avahi instead ...
so I guess the gnome config howto should be uptodate and we should remove howl and /etc/init.d/mDNSResponder frow rc-update, then use avahii...
Top
kastorff
Apprentice
Apprentice
User avatar
Posts: 183
Joined: Wed May 19, 2004 4:32 pm
Location: Atlanta, GA USA

  • Quote

Post by kastorff » Mon Jul 31, 2006 1:29 am

Anyone got a definitive answer on this? I'm interested in the Avahi/mDNSResponder relationship as well.
Keith Kastorff
Top
rzZzn
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 96
Joined: Tue Aug 24, 2004 7:21 am
Location: Sweden
Contact:
Contact rzZzn
Website

  • Quote

Post by rzZzn » Sun May 06, 2007 4:09 pm

I just want to *bump* this....

I would like an explanation... mDNSresponder or Avahi??? What to use???

Thanks rZn
Top
dete
n00b
n00b
Posts: 10
Joined: Tue Dec 07, 2004 4:46 pm

  • Quote

Post by dete » Thu May 24, 2007 5:14 pm

I'm no expert, but since no-one else seems to know anything better, here's what I've been able to glean so far.

mDNSresponder was released by Apple under an open-source license with the hope that it would speed the adoption of Zeroconf/Bonjour (nee Rendezvous). It was intended to be a small but working implementation of Zeroconf for service announcement only; I don't believe that it included code for browsing or doing mDNS lookups. The goal was to make it trivial for networked device manufacturers to make their devices (printers, routers, etc.) discoverable via Bonjour. This code ran as-is on Linux and so was immediately used for service annoucement for that platform.

Howl was a library that added some abstractions atop of mDNSresponder, but used Apple's mDNSresponder code at its core. This was mostly syntactic sugar. Work on Howl has been suspended in lieu of Avahi.

libnss-mdns was written as a plugin for glibc to support Bonjour name resolution in any process using glibc for lookups (it's worth noting at this point that the host and dig commands DON'T use glibc's lookup mechanism, and so won't automatically do Bonjour name resolution even with libnss-mdns installed). libnss-mdns implemented the core functionality of doing local name lookups, but didn't include service browsing, nor did it have support for wide-area Bonjour (which is reportedly coming from Apple in Leopard). Recent versions of libnss-mdns depend on Avahi since it is more complete, although the code can still be built stand-alone if you don't need the extra functionality. (The gentoo ebuild doesn't actually allow this, you'd need to build from source to disable the Avahi dependancy.)

Avahi was the project that ended up with all the momentum. It's goal is a complete implemenation of the entire Zeroconf spec, and it already implements 100% of the required functionality, with only a few optional portions outstanding. While Avahi may have borrowed some code from mDNSresponder, it is much more than a convenience library built on that code. It appears to include optional compatibility APIs so that applications written for Howl or the original mDNSresponder can link to Avahi and work correctly. At this point, for a non-imbedded Linux installation, there's is no point to look at anything other than Avahi.

Hope this helps!
Top
rmh3093
Advocate
Advocate
User avatar
Posts: 2138
Joined: Wed Aug 06, 2003 10:36 pm
Location: Albany, NY

  • Quote

Post by rmh3093 » Thu May 24, 2007 5:18 pm

I have been using avahi with my system for some time now and it works wonderfully.
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Top
rzZzn
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 96
Joined: Tue Aug 24, 2004 7:21 am
Location: Sweden
Contact:
Contact rzZzn
Website

  • Quote

Post by rzZzn » Sat Jun 16, 2007 6:17 am

dete wrote:Hope this helps!
Thank you :) It clear things up.

//rZn
Top
jcat
Veteran
Veteran
User avatar
Posts: 1337
Joined: Fri May 26, 2006 10:47 am

  • Quote

Post by jcat » Fri Jun 29, 2007 10:07 am

Thanks for the info, just swithced to avahi myself. All good.



Cheers,
jcat
Top
Kasumi_Ninja
Veteran
Veteran
User avatar
Posts: 1825
Joined: Sat Feb 18, 2006 7:22 am
Location: The Netherlands

  • Quote

Post by Kasumi_Ninja » Sat Nov 24, 2007 12:44 pm

Thanks for the info! Very insightful.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Top
Post Reply

10 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic