Jun 03, 2010 Use Windows Update to make sure you have the latest Service Pack installed for your computer. Printer requirements Bonjour Print Services works with either:. network printers over Wi-Fi or Ethernet. USB printers shared via a Mac or an AirPort base station Firewall requirements. Discovery (formerly Bonjour Browser) Mac App Store. Discovery is a utility that displays all the Bonjour services on your local network or on Wide-Area Bonjour domains. Previously called Bonjour Browser, it's now distributed on the Mac App Store. Discovery requires macOS 10.12 or higher.
Bonjour
Apple provides developers the opportunity to license and use Apple software, technologies and Apple trademarks to build successful products. Developers are free to use the Apple mDNSResponder source code under the terms of the Apache 2.0 license. Use of the Bonjour name or logo requires a separate license from Apple. Apple’s Software Licensing Department works with developers, user groups, and others to ensure they are properly licensed for Apple trademarks.
Bonjour is Apple’s multi-platform, industry-standard, Zero-Configuration Networking solution. Bonjour lets you create an instant network of computers and smart devices just by getting them connected to each other. This page contains agreements allowing you to:
- Use the Bonjour logo with your application (on macOS and non-Windows platforms).
- Redistribute the Bonjour for Windows installer as part of your Windows application.
- Download and use the Bonjour for Windows SDK to develop Bonjour-enabled applications on Windows.
- Download and run the Bonjour Conformance Test.
If you have questions regarding the conformance test or SDK, you can post your questions to the Bonjour-dev mailing list or the Apple Developer Forums which are designed to provide a collaborative environment for open discussions with other developers and Apple engineers.
For questions about licensing, contact Software Licensing.
Bonjour Logo Agreement
- Download and review the Bonjour Logo License Agreement (PDF).
- Download and review the Bonjour Logo Guidelines (PDF).
- On the Mac, if your product(s) are not yet licensed for use of the Mac Logo, you must first download and submit the Mac Logo Trademark License Agreement (PDF) as well.
- If not using the Apple-provided Bonjour libraries on macOS or Windows, download and pass the Bonjour Conformance Test. Use of this application is subject to the terms of the Bonjour Conformance Test License (RTF) presented upon launch.
- Complete and mail (post) all originally-signed agreement(s) (and Conformance Test results, if applicable) to the address referenced on the form (faxes not accepted).
- Download the Bonjour Logo artwork files (ZIP). Note: By downloading the artwork from the link above, you agree that you will use this trademark only in conjunction and compliance with a Bonjour Logo License Agreement approved by Apple, Inc.
- Once your submission has been approved by Apple, you may begin displaying the logo according to the Bonjour Logo License Agreement and Bonjour Logo Guidelines.
Bonjour for Windows Bundling Agreement
With Bonjour for Windows, you can enable Windows applications to discover Bonjour-enabled services on the network, such as web servers and network printers. To do this, you need to:
- Download and install the Bonjour SDK for Windows. Use this to add Bonjour functionality to your Windows application.
- Download and review the Bonjour for Windows Bundling Agreement (PDF) (which incorporates terms from the Bonjour Logo Agreement, above).
- Download the Bonjour for Windows installer, which contains Bonjour libraries which you can distribute with your application under the above terms. Note: The fields within these PDFs are modifiable, but you must print, sign and submit two originally signed hard copies to the Austin, Texas address on the form.
- The Bonjour for Windows installer also contains the following, which at your option, you can can also distribute by agreeing to appropriate terms in the above agreement:
- the Bonjour plug-in for Internet Explorer, which gives Internet Explorer users the ability to discover Bonjour-advertised web servers found in networked printers, databases, and other hardware devices,
- the Bonjour Printer Wizard, which greatly simplifies setup of Bonjour-enabled printers.
- Download and review the Bonjour Logo Guidelines (PDF).
- Complete and mail (post) two originally-signed copies of the agreement to the address referenced on the form (faxes not accepted.)
- Download the Bonjour Logo artwork files (ZIP). Note: By downloading the artwork from the link above, you agree that you will use this trademark only in conjunction and compliance with a Bonjour Logo License Agreement approved by Apple, Inc.
- Once your submission has been approved by Apple, you may distribute Bonjour for Windows as part of your application. Note that you are required to display the Bonjour logo in accordance with the Bonjour for Windows License Agreement and Bonjour Logo Guidelines.
If you have questions regarding the conformance test or SDK, you can post your questions to the Bonjour-dev mailing list or the Apple Developer Forums which are designed to provide a collaborative environment for open discussions with other developers and Apple engineers.
For questions about licensing, contact Software Licensing.
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:
- 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.
- 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.
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![Mac Mac](/uploads/1/2/7/7/127749892/217044962.png)
/etc/named.conf
): Writing the Zone File
Next you'll need to create a zone file named db.<your zone>, 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).Apple Bonjour Service Windows 10
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
Bonjour Browser Mac
You should create a backup of the zone file before running named for the first time. 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:
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'.
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