1
August
2025
Installing Network Printers on Linux - Part 3: DNS-SD (Bonjour)
15:18

Installing Network Printers on Linux - Part 3: DNS-SD (Bonjour)

1 August 2025 15:18

Continued. See part 1,part 2 and ending part 4.

3.1.4. Connecting printers that support discovery via DNS-SD (Bonjour)

DNSSD is a protocol for resolving names into IP addresses without using DNS servers. For it to work, the device must support network discovery in this way, and on the other hand must be Linux and CUPS. DNSSD protocol similar on mDNS (Multicast DNS) and is used to configure automatic configuration of devices within the Zero-configuration local network. At Apple, the DNSSD network printer discovery protocol is known as Bonjour.

Example of a device with dnssd support: Kyocera ECOSYS M2540dn multifunction device.

Benefits:

  • the network printer is installed as a local one, but with a pointer to the URL dnssd://printer_name, which specifies the name of the printer using the IPP protocol and a unique number - the UUID of the printer.
  • there are no problems with name resolution in the .local domain, which occur with “pure” IPP/IPPS
  • fast connection
  • minimum settings

Disadvantages:

  • only suitable for modern devices.

An example of a DNSSD connection string that is obtained after selecting a network printer for printing:
dnssd://Kyocera%20ECOSYS%20M2540dn._ipp._tcp.local/?uuid=4509a320-0056-0101-003e-0025074f9312

This string is obtained when adding a printer through the CUPS service web interface and selecting the DNSSD driver option.

How to connect a Kyocera printer using the DNS-SD protocol:

1) Launch a web browser and enter the address into the command line http://localhost:631/
2)Administration - Add Printer.
3) Enter username and password if required
4) Select a Kyocera printer with a mention in the name KPDL
kpdl
5) Click the button below "Continue".
6) Correct the printer name (no spaces, underscores are acceptable)
dns-sd-name
7) Click the button below "Continue".
8) In the add printer window, in the list, select the driver for this printer model with the characteristic KPDL
driver-kpdl
9) Press the button below "Add a printer"
10) Set up two-sided printing and press the button "Save settings" below to complete the setup.
printer-add-complete
_Please note that on the bookmark Banners you can add printable text at the top and bottom of pages (watermark), and "Politicians" you can set error handling - stop or constantly try to repeat printing.


The beginning - part 1
Continued - part 2
*The end - part 4