Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Auto-resolve mDNS Hosts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
PirahnaBreaks
n00b
n00b


Joined: 04 Mar 2006
Posts: 21

PostPosted: Mon Sep 25, 2006 5:51 am    Post subject: Auto-resolve mDNS Hosts Reply with quote

Hi - I'm trying to get avahi mDNS going on my network, and I have a quick question. What is the best way to get "ping HOSTNAME.local" to resolve to the appropriate place short of manually filling /etc/hosts? Is there some way to hook up /etc/resolv.conf and mDNS? Do I need to run a local DNS server?

It would seem that using "mdns on" in /etc/host.conf is no longer valid, so what's the current way?
Back to top
View user's profile Send private message
Ox-
Guru
Guru


Joined: 19 Jun 2003
Posts: 305

PostPosted: Wed Oct 11, 2006 8:47 pm    Post subject: Reply with quote

Code:
emerge -v nss-mdns

Then change your hosts line in /etc/nsswitch.conf to something like:
Code:
hosts:       files mdns4_minimal [NOTFOUND=return] dns mdns4
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum