Bonjour duplicates on macOS — remove stale entries & reset cache
Joe B.
Reviewed for technical accuracy
Specialities: macOS (Sonoma/Ventura/Monterey), AirPrint/Bonjour (DNS‑SD), Printers, Networking, CUPS
AirPrint duplicates, multiple printers in Printers & Scanners, stale Bonjour entries — macOS Sonoma/Ventura
Quick answer: the accepted fix
Accepted fix when you have Bonjour duplicates on macOS or AirPrint duplicate printers: keep a single Secure AirPrint (IPPS) queue, delete stale Bonjour entries, then run sudo killall -HUP mDNSResponder to reset the mDNS cache. If duplicates persist, reset the printing system and re‑add only the standardized queue.
Duplicates reappear after reboot or network change
That’s often a DNS‑SD caching issue or a device advertising from both Wi‑Fi and Ethernet. Flush Bonjour with sudo killall -HUP mDNSResponder, then ensure the printer broadcasts a single AirPrint/IPPS service. If you joined a different VLAN/SSID, use a Bonjour gateway so only one service crosses subnets.
How to verify only one AirPrint service is active
Use Terminal to browse services: dns-sd -B _ipp._tcp local. (AirPrint) and dns-sd -B _ipps._tcp local. (Secure AirPrint). You should see a single matching service/hostname. Then print a PDF test page to confirm the macOS default printer matches the kept queue.
Bonjour/AirPrint cleanup — troubleshooting tips
Most duplicates come from multiple advertised protocols or stale mDNS cache.
Quick path: choose one protocol (prefer Secure AirPrint) → remove the other queues → reset mDNSResponder cache → optionally reset printing system → standardize hostname and disable legacy protocols. For HP/Epson/Canon/Brother, keep firmware current and advertise only IPP/IPPS.
Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.
Getting Started Is Easy
Ask for help, 24/7
Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.
Expert will respond in minutes
We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.
Save time & money
No scheduling hassles or expensive consults. Membership can save you significant time and money each month.
FAQ
Why do I see multiple AirPrint or Bonjour entries for the same printer?
Your device advertises several DNS‑SD services (IPP, IPPS, LPR/RAW). macOS discovers each, creating duplicates. Keep one protocol (prefer Secure AirPrint/IPPS) and remove the others.
How do I reset the mDNS/Bonjour cache on macOS?
Open Terminal and run sudo killall -HUP mDNSResponder. Then verify live services with dns-sd -B _ipps._tcp local. and re-add only the desired queue.
Duplicates come back after I delete them — what now?
Perform a Reset printing system… from Printers & Scanners, standardize the printer’s hostname, and ensure it only advertises one protocol. Consider MDM‑deployed queues to lock configuration.
Should I use AirPrint, IPP Everywhere, or a vendor driver?
Use Secure AirPrint (IPPS) on modern Macs. Switch to a vendor driver only when you need device‑specific finishing features AirPrint doesn’t expose.
Will fixing Bonjour duplicates on macOS also fix iPhone AirPrint duplicates?
Yes. iOS uses the same DNS‑SD discovery. After you advertise a single IPPS service and flush caches, iPhones/iPads will show just one printer.
| Symptom | Likely cause | Quick fix |
|---|---|---|
| Same printer listed 2–3 times | Multiple advertised protocols (IPP/IPPS/LPR) | Keep Secure AirPrint; delete others |
| One queue offline, others work | Stale mDNSResponder cache; dual interfaces | Flush mDNS (sudo killall -HUP mDNSResponder); standardize hostname |
| Duplicates return after reboot | Auto‑discovery re‑adds services | Reset printing system; re‑add a single IPPS queue |
| iOS shows extra printers | Multiple Bonjour services across VLANs | Use a Bonjour gateway; advertise one service |
Step‑by‑step (macOS cleanup)
- Decide on one protocol: prefer Secure AirPrint (IPPS).
- In System Settings → Printers & Scanners, delete duplicate Bonjour entries and set the remaining queue as Default.
- Open Terminal → run
sudo killall -HUP mDNSResponderto reset the cache. - (Optional) Reset printing system… to wipe stale queues; re‑add only the selected IPPS queue.
- Verify with
dns-sd -B _ipps._tcp local.and print a test page.
Advanced tips (networks & VLANs)
- If the printer uses both Wi‑Fi and Ethernet, disable one or match hostnames to avoid duplicate DNS‑SD records.
- On managed networks, enable a Bonjour gateway so clients only see the intended VLAN service.
- Disable legacy LPR/RAW 9100 and advertise only IPP/IPPS on the device.
Sources
- Apple — Reset the printing system (macOS)
- Apple — Add or remove a printer on Mac
- Apple — How to reset DNS cache in macOS
- Apple Developer — Bonjour Overview (DNS‑SD/mDNS)
Filed under: Network security / VPN / office policies (advanced)
Related articles
- Printer won’t print prescriptions or medical reports — it’s urgent and nothing comes out
- Chrome managed profile watermark prints wrong — policy override checks you can do safely
- Ricoh “Hold Print” enabled by AD — disable policy
- Ricoh SMB scan works but print fails — AES signing mismatch
- Android VPN blocks printer discovery — split tunnel rule (work profile)
- Android “Secure print only” — enterprise toggle: setup, policy, fixes
- Android corporate work profile can’t print — MDM policy exemption
- macOS Kerberos printing fails on SMB shares — ticket renew fix