Return to site

Bonjour Service For Mac

broken image


Bonjour is a networking technology that allows devices to automatically discover each other without any configuration. In the first release, Bonjour operated on the local network to provide ad-hoc discovery for applications and devices. Starting in Mac OS X v10.4 Tiger and Bonjour for Windows, a network administrator can set up a Bonjour name server to enable wide-area capable devices and applications to discover services anywhere in the world. This document will explain how to set up a machine running Mac OS X to act as a Bonjour name server to facilitate wide-area discovery on your network. You can also use Linux, Solaris, or any other Unix-style operating system that can run the BIND name server. If you want clients to be able to browse to discover specific services of your choosing, but you don't want to allow individual machines to dynamically register their services, you can also manually add Bonjour service discovery records to your existing name server.

Introduction

Wide-Area Bonjour uses DNS Service Discovery [DNS-SD] along with DNS Update [RFC 2136] and TSIG security [RFC 2845]. Like most Linux distributions, Mac OS X includes the standard BIND DNS Server (named), which supports DNS Update. It's also recommended that you run the dnsextd daemon (also included in Mac OS X). The dnsextd daemon implements two DNS extensions that enhance service discovery:

  1. DNS Long-Lived Queries [DNS-LLQ] allow clients to be immediately notified when new services are added or removed from the server. Without Long-Lived Queries, clients would have to poll periodically (e.g., once an hour) to find out when services become available.
  2. DNS Update Leases [DNS-UL] impose a time limit on record updates, so that service registrations are automatically deleted if the client crashes or goes away unexpectedly. Using standard DNS Update without Update Leases, records remain on the server forever, until deleted manually by the server operator.

Bonjour makes it easy to discover, publish, and resolve network services with a sophisticated, easy-to-use programming interface that is accessible from Cocoa, Ruby, Python, and other languages. Bonjour for macOS and iOS Bonjour Network Discovery and Connectivity. To view Bonjour discoverable devices through Safari, go to: Safari Preferences Advanced 'Include Bonjour in The Bookmarks Menu.' I've never set up a WD MyBook 'NAS', but here's an example of how Bonjour works through Safari. The printer on my local network (S-2) is discoverable: I'm able to manipulate its settings via my. In order to use remote cameras in Livestream Studio, you must make sure you have Bonjour service installed and activated on your Windows computer. Remote cameras will not work without Bonjour running. Bonjour is pre-installed on Studio hardware units (e.g. HD31, HD51, HD550, etc.) and is always running on Mac systems.

You can use wide-area Bonjour without running dnsextd, and it will still work, but with the two limitations above.

The instructions below should be enough for someone experienced with DNS to set up a DNS server configured for Wide Area Bonjour, but if you've never set up a DNS server at all before and you find it a little confusing, DNS and BIND, Fourth Edition is a great guide that tells you everything you need to know about setting up and configuring named, the Berkeley Internet Name Daemon (BIND).

Service Registration Zone for Wide-Area Bonjour

First, you need to pick a name for your wide-area Bonjour zone, the domain in which clients will browse and register. This should be a subdomain of your organization's domain. For example, if your organization's domain is 'apple.com', your service registration zone could be 'bonjour.apple.com'.

Shared Secrets

Without a shared secret, anyone who has access to your Bonjour name server can make registrations. This may be acceptable in some situations, like behind a firewall when you trust all the people who have access to your server. You may also want to run this way if you're just experimenting with the technology to get a feel for how it works, but normally when running an operational Wide-Area Bonjour service you'll want to set up your name server to accept updates only from authorized clients. The way a client proves it's authorized is by using a DNS TSIG record to sign its update packets using the proper shared secret for that domain [RFC 2845].
You can use the dnssec-keygen command-line tool to generate a random shared secret. This command creates two files. We'll pull the shared secret from the .key file. After we copy and paste this key into our BIND configuration file, delete the files generated by the tool so that you don't accidentally leave them lying around for someone to find. Execute the command with the following arguments, substituting your own zone name: The following shows how to generate a shared secret for the 'bonjour.example.com' domain.

For the domain 'bonjour.example.com', our shared secret is 'CnMMp/xdDomQZ4TelKIHeQ'. For more information about the dnssec-keygen command, please see the manual page.

Configuring BIND

To set up a Bonjour name server in Mac OS X, you'll need to edit the BIND configuration file (/etc/named.conf). If you're not already running a name server on your machine, start with a blank file and add the contents below. Otherwise, add the following to your existing configuration file (typically /etc/named.conf):

Writing the Zone File

Next you'll need to create a zone file named db., for example, 'db.bonjour.example.com' and copy it into /var/named. The only change that you need to make is to replace the two instances of 'wab.example.com.' with the hostname of your server (don't forget the dot on the end).

Discovering Your Server

If you have access to the parent zone's DNS server, you can delegate the new zone to the new server by adding an entry in the example.com. zone file: Your network administrator may be able to do this for you. If you do not have access to the parent zone's DNS server, a temporary alternative while testing is to simply add the IP address of the new server to the 'DNS Servers' field of the Networking Preference Pane in each client computer. However, manually entering the IP address on the clients is a short-term solution, not really suitable for long-term use. The whole point of DNS is that clients learn the DNS server for a given domain, not by manual configuration, but by following the chain of delegation (NS records) from the root. Likewise, for reliable operation, your subdomain should be properly delegated from its parent.

Discovering Domains

Computers running Mac OS X Tiger or later and computers running Bonjour for Windows will issue domain enumeration queries to automatically discover browse and registration domains on the network. The easiest way for clients to discover your domain is by creating PTR records pointing from the DHCP domain name to your new zone. This requires administrative control of that domain. For example, if the DHCP 'Domain Name' option (option code 15 [RFC 2132]) that the DHCP server sends to its clients is 'example.com', then you need to create the following entries in the 'example.com' zone file to tell those DHCP clients about your new 'bonjour.example.com' domain: If you don't have administrative control of that domain, as a last resort, you can manually force a client to 'discover' your new 'bonjour.example.com' domain by adding it to the 'Search Domains' field in the Network Preference Pane on each client. This will only work if you have the domain enumeration PTR records in the bonjour.example.com zone as shown in the 'db.bonjour.example.com' zone file above.

Starting named

You should create a backup of the zone file before running named for the first time. Adobe after effects cs2 free for windows 7. Once you run your server with DNS Update turned on, you cannot edit the zone files by hand. If you need to reset your zone for any reason, simply revert to the saved copy, delete any .jnl files, and restart named and dnsextd.
named normally runs with no arguments:

Check the syslog (/var/log/system.log) for errors. You can ignore any errors that say '/private/etc/rndc.key: file not found' or 'couldn't add command channel'. If any other errors occur, make sure that you put periods in exactly the right places in all files. See examples for correct usage of trailing dots. For debugging, you may wish to run it in the foreground, with enhanced logging:

Starting dnsextd

The dnsextd daemon configuration file is /etc/dnsextd.conf. Typically the only thing you need to edit in this file is the name of the zone you want dnsextd to handle:

You can run dnsextd with no arguments:

To run in the foreground with verbose logging for debugging, add '-vf'.

Bonjour Service For Mac

Run with a single argument, '-h', for help and a full list of options.

Starting named and dnsextd automatically on boot

Once you have verified that your configuration files are correct, you can set named and dnsextd to start automatically on boot. Fist stop named and dnsextd if they are already running, and then execute the following commands:

The 'launchctl load' command tells the system to start that daemon; the '-w' option tells the system to make the change permanent so the daemon will be automatically started on boot too.

Configuration Clients

Now that your server is up and running, the next step is to configure each client on the network to use your new server.
http://www.dns-sd.org

Overview:

For people who use MacBooks, it is common that Bonjour is working on Mac. But you have no idea what it is used for on your MacBook. While, for Windows users, it seems more confusing that there should be an Apple application on Windows 10, 8, 7, etc. In this sense, you would better to know what Bonjour is and whether you really need it on Mac and Windows systems.

What is Bonjour?

Developed by Apple, Bonjour, also named mDNSResponder.exe process, is the zero-configuration networking which is a group of technologies including address assessment, service discovery, and hostname resolution. Simply put, it is used to make network connecting easier to use.

And by default, Bonjour is preinstalled on macOS and iOS systems, but it is said that Bonjour software can also be installed on Windows systems like Windows 10. But unlike normal applications such as Microsoft Word, Google Chrome, etc.

Bonjour won't run in the foreground, so it is unlikely that you see it simply from on the Desktop. But it detects the presence the connected device easily and connects programs on your computer to the local network. What's more, it is worth noting that Bonjour is usually embedded in Apple applications such as Safari and iTunes.

More often than not, Bonjour works in the background for apps. For instance, on Safari, the embedded browser for iOS and macOS, Bonjour is employed to locate webpages that advertise on the browser on the local network; on Bonjour Printer wizard, it is used to recommend you which printer is more compatible for connecting.

Related: What is Microsoft AU Daemon? How Can I Disable it?

Do I Really Need Bonjour on my computers?

Either you need this application depends on the operating system and your needs.

If you are using macOS or iOS system, Bonjour is said to have been inbuilt on your Mac. That is to say, Bonjour is an essential part on your MacBook on macOS or iOS.

It enables applications and services on Mac systems to communicate with other devices connecting to the same local network. In such apps like iTunes and Safari, Bonjour is a necessary component for them to run for device on macOS or iOS. In a word, you do need Bonjour software for your Mac devices.

If your PC is on Microsoft Windows and you do not have any other Mac device, normally there is no need to download Bonjour on Windows 10, 8, 8.1, 7. However, if you are using iPhone or any other Apple products on iOS or macOS systems, there is also a need to install Bonjour on PC with Windows systems to access the 'shard music libraries'.

Related: What is Hxtsr.exe? Should I Remove it on Windows 10?

How Do I Remove Bonjour from Windows 10, 8, 7?

Provided that you have any Apple product or software, you are not supposed to delete Bonjour software from Windows systems. But if you do want to say goodbye to Bonjour, it is also feasible to get rid of completely. Normally, there are two options available for you. If option one fails to uninstall Bonjour completely, just go on to option 2.

Option 1: Uninstall Bonjour for Windows 10 in Control Panel

Just like uninstalling Windows apps, you can also remove Bonjour software in Control Panel.

1. Open Control Panel.

2. In Control Panel, find out Programs >Uninstall a program. Here you would better View by Categories to locate the items you need easily.

3. In Programs and Features, scroll down to pinpoint Bonjour and right click it to Uninstall it.

4. Restart Windows system to take effect.

At this moment, Bonjour application will be removed from Windows 10. To some degree, high CPU by it will be fixed as well.

Option 2: Uninstall Bonjour by deleting Bonjour services and folders

As said before, Bonjour will be installed on Windows systems so long as you have downloaded and installed applications such as iTunes. And if it can't be deleted completely via Control Panel, you are advised to delete all the Bonjour services and files on Windows 10, 8, 7.

Specifically, the corresponding service or process of Bonjour software should be mDNSResponder.exe and the file is mdnsNSP.dll.

Remove mDNSResponder.exe in Command Prompt:

1. Search Command Prompt in the search box and then right click the best-matched result to Run as administrator.

Bonjour Service For Mac Catalina

2. In Command Prompt, copy and paste the following command and then hit Enter key to remove Bonjour process.

Bonjour Printer Mac

'%PROGRAMFILES%BonjourmDNSResponder.exe' –remove

You can also deactivate Bonjour file to completely uninstall this software.

1. In Command Prompt, run the command below to remove the file.

regsvr32 /u '%PROGRAMFILES%BonjourmdnsNSP.dll'

2. Latest version of mojave os. Reboot Windows system to take effect.

It is natural that without the required services and files, Bonjour will have also been uninstalled from Windows systems.

To summarize, Bonjour can be of great use for some apps to run on both Mac and Windows system. But if you show no interest in it and fear that it may bring troubles, you can remove it from Windows 10, 8, 7.





broken image