How can I unregister a service with dns-sd?

Posted by Roman on Server Fault See other posts from Server Fault or by Roman
Published on 2010-03-09T11:47:13Z Indexed on 2010/03/09 11:51 UTC
Read the original article Hit count: 350

Filed under:
|
|
|

I am trying to use "dns-sd" command line tool on my Windows 7 machine.

I can already do something. For example I can register a service using "dns-sd -R ...". I also can browser (see) registered services using "dns-sd -B ...". What I still miss, is how to unregister a service.

At the moment when I type "dns-sd -R ..." the dns-sd does not return me to the command prompt. To return to the command prompt I need to press Ctrl-C. And the service stays registered till I press Ctrl-C.

What I want is to run "dns-sd -R ..." in the background regime and then I would like to have a possibility to unregister a service from the command line.

One more thing which I do not understand yet is what "to look up a service" means. In my picture it should be sufficient to register a service, to see it and then to unregister it. But apparently I need to look up a service. What does it mean and why I need to do it?

© Server Fault or respective owner

Related posts about Windows

Related posts about dns