View previous topic :: View next topic |
Author |
Message |
PirahnaBreaks n00b
Joined: 04 Mar 2006 Posts: 21
|
Posted: Mon Sep 25, 2006 5:51 am Post subject: Auto-resolve mDNS Hosts |
|
|
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 |
|
|
Ox- Guru
Joined: 19 Jun 2003 Posts: 305
|
Posted: Wed Oct 11, 2006 8:47 pm Post subject: |
|
|
Then change your hosts line in /etc/nsswitch.conf to something like:
Code: | hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 |
|
|
Back to top |
|
|
|