Disabling Apple's mDNSResponder (Rendezvous)

Disabling Apple's mDNSResponder (Rendezvous)

Post by Gnarlodiou » Mon, 24 May 2004 22:28:45



The OSX user is offered no mechanism to disable Rendezvous, which is on by
default from installation.

I want to modify the script to to disable startup and write a system.log
entry "Rendezvous is disabled".
Here is the actual startup script as of 10.3.x:

http://www.Gnarlodious.com/Mac/mDNSResponder

Any help greatly appreciated, as I can barely understand what is going on
here!

--  Gnarlie
Currently broadcasting from
N35:40:06/W105:57:51

 
 
 

Disabling Apple's mDNSResponder (Rendezvous)

Post by Kevin Rodger » Wed, 26 May 2004 05:52:17


 > The OSX user is offered no mechanism to disable Rendezvous, which is on by
 > default from installation.
 >
 > I want to modify the script to to disable startup and write a system.log
 > entry "Rendezvous is disabled".
 > Here is the actual startup script as of 10.3.x:
 >
 > http://www.Gnarlodious.com/Mac/mDNSResponder
 >
 > Any help greatly appreciated, as I can barely understand what is going on
 > here!

I would start by changing this line

  if [ -f /usr/sbin/mDNSResponder ]; then

to

  if [ -x /usr/sbin/mDNSResponder ]; then

so then you could disable it by just turning off its executable bits:
chmod -x /usr/sbin/mDNSResponder

As for your logging requirement, I guess you'd just need to add an else
clause before the terminating fi:

   else
       ConsoleMessage "Apple Multicast DNS Responder disabled"

--
Kevin Rodgers