dns / mdns funny business on .local domain
Hi all, I've got a server running suse 10.0 that cannot ping anything or connect to anything in the .local domain by name, but all is fine by IP address. SOP is to check to see that /etc/resolv.conf is ok, and it is. Regular queries to outside servers, like google.com work fine. The funny thing is that 'dig hostname.domain.local' comes back immediately with the correct ip address. I fired up ethereal on that server, and instead of querying the servers designated in /etc/resolv.conf, the machine is trying to query 224.0.0.251 via protocol 'MDNS'. I've done a bit of googling, and I can see that mdns might be the cause of the problem. What I haven't been able to find is a clear set of steps to turn mdns off, and to reconfigure the machine to use regular dns, even for .local queries. Has anyone found a simple and concrete way of dealing with 'mdns'? Thanks. Regards, Rich Duzenbury
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2006-05-02 at 17:03 -0500, Duzenbury, Rich wrote:
What I haven't been able to find is a clear set of steps to turn mdns off,
rcmdnsd stop chkconfig mdnsd off # Description: mDNSresponder to handle Apple Rendezvous requests I wonder why the heck did I have that running, I don't have and never had an Apple in my premises, except of the eatable kind :-/ - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEWLqktTMYHG2NR9URAv9bAJwIb/pLLETDcQhk5nQ8dyhfrpYefQCbB1LF jbWTk66MA01mSBp7koD7Dks= =bJ+k -----END PGP SIGNATURE-----
On Wednesday 03 May 2006 10:13, Carlos E. R. wrote:
I wonder why the heck did I have that running, I don't have and never had an Apple in my premises, except of the eatable kind :-/
It must be on by default... linux:/home/carl # rcmdnsd status Checking for mdnsd running linux:/home/carl # rcmdnsd stop Shutting down mdnsd done linux:/home/carl # chkconfig mdnsd off linux:/home/carl # Thanks Carlos! Carl
On Wed, 2006-05-03 at 10:35 -0400, Carl Hartung wrote:
On Wednesday 03 May 2006 10:13, Carlos E. R. wrote:
I wonder why the heck did I have that running, I don't have and never had an Apple in my premises, except of the eatable kind :-/
Rather than just turning it off because you don't know what it is, I suggest you try and find out a bit about mdns because it can be very useful ! I run mdns (via avahi) on all my boxes here (a mix of SuSE 10.0 and Gentoo 2006.0) and have no need for either a local dns server or for fully populated /etc/hosts files. Peter
On Wednesday 03 May 2006 15:17, Peter Onion wrote:
Rather than just turning it off because you don't know what it is, I suggest you try and find out a bit about mdns because it can be very useful ! I run mdns (via avahi) on all my boxes here (a mix of SuSE 10.0 and Gentoo 2006.0) and have no need for either a local dns server or for fully populated /etc/hosts files.
Why don't you enlighten us? I have one Linux box and a couple of M$ boxes in my home office. What good does mdns do for me? Carl
On Wed, 2006-05-03 at 15:57 -0400, Carl Hartung wrote:
On Wednesday 03 May 2006 15:17, Peter Onion wrote:
Rather than just turning it off because you don't know what it is, I suggest you try and find out a bit about mdns because it can be very useful ! I run mdns (via avahi) on all my boxes here (a mix of SuSE 10.0 and Gentoo 2006.0) and have no need for either a local dns server or for fully populated /etc/hosts files.
Why don't you enlighten us?
As I said mdns removed the need for me to either run a dns server or to keep populated /etc/hosts files on all of my boxes. Each machine on my network replies to mdns queries for it's IP address. I also use it to provide service discovery for a set applications I'm developing. Have a look at www.avahi.org for info on avahi and http://0pointer.de/lennart/projects/nss-mdns/ for the mdns responder that I use (rather than the default one shipped with SuSE). Peter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-05-03 at 20:17 +0100, Peter Onion wrote:
On Wed, 2006-05-03 at 10:35 -0400, Carl Hartung wrote:
On Wednesday 03 May 2006 10:13, Carlos E. R. wrote:
I wonder why the heck did I have that running, I don't have and never had an Apple in my premises, except of the eatable kind :-/
Rather than just turning it off because you don't know what it is, I suggest you try and find out a bit about mdns because it can be very useful !
SuSE says it is a "mDNSresponder to handle Apple Rendezvous requests". As I don't have ane Apple, it is useless. Or is SuSE lying and it does some other things for non apple machines? - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEWUG5tTMYHG2NR9URAprVAJ9PrKn18a0+MEZKelxxTvwE1n5spgCfayyp J9IFrHiTuTlozf7nKdoKHuQ= =m8IW -----END PGP SIGNATURE-----
"Carlos E. R."
The Wednesday 2006-05-03 at 20:17 +0100, Peter Onion wrote:
On Wed, 2006-05-03 at 10:35 -0400, Carl Hartung wrote:
On Wednesday 03 May 2006 10:13, Carlos E. R. wrote:
I wonder why the heck did I have that running, I don't have and never had an Apple in my premises, except of the eatable kind :-/
Rather than just turning it off because you don't know what it is, I suggest you try and find out a bit about mdns because it can be very useful !
SuSE says it is a "mDNSresponder to handle Apple Rendezvous requests".
As I don't have ane Apple, it is useless. Or is SuSE lying and it does some other things for non apple machines?
SUSE is not lying ;-). Such requests can just be done by non-apple machines as well, the protocoll is just called "Apple Rendezvous" AFAIK. See: http://developer.apple.com/macosx/rendezvous/ You can safely turn it off if you don't know what it is, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj/ SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2006-05-04 at 01:55 +0200, Andreas Jaeger wrote:
Rather than just turning it off because you don't know what it is, I suggest you try and find out a bit about mdns because it can be very useful !
SuSE says it is a "mDNSresponder to handle Apple Rendezvous requests".
As I don't have ane Apple, it is useless. Or is SuSE lying and it does some other things for non apple machines?
SUSE is not lying ;-). Such requests can just be done by non-apple machines as well, the protocoll is just called "Apple Rendezvous" AFAIK.
I was trying to be sarcastic, but forgot to put a :-p somewhere. But the description in the init script is misleading, it doesn't match the daemon man page.
Another reading to my 'todo' list. So little time!
You can safely turn it off if you don't know what it is,
I did... as I run my local dns, I don't need dns discovery. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEWUZ0tTMYHG2NR9URAuwjAJ9VHNKZGAMpgdJsiU47MQyqU0MvQwCcCobV h7z7TZwrSSVGoGw1PjjL+FM= =YIzV -----END PGP SIGNATURE-----
participants (5)
-
Andreas Jaeger
-
Carl Hartung
-
Carlos E. R.
-
Duzenbury, Rich
-
Peter Onion