What is mdns
Last updated: April 1, 2026
Key Facts
- Uses multicast IP address 224.0.0.251 on UDP port 5353 for local network communication
- Operates only on local network segments and does not require internet connectivity
- Implemented through mDNS-SD (Service Discovery) for automatic detection of services and devices
- Used by Apple's Bonjour, Linux's Avahi, and Windows 10's network discovery features
- Enables devices like printers, smart home devices, and media servers to be found automatically
What is mDNS?
Multicast DNS (mDNS) is a protocol that allows computers and other devices to discover and communicate with each other on local networks without requiring a traditional DNS (Domain Name System) server. Instead of relying on centralized DNS infrastructure, mDNS enables devices to advertise their services and resolve hostnames directly on the local network using multicast messages.
How mDNS Works
mDNS operates by having devices broadcast their hostnames and services to a reserved multicast address 224.0.0.251 on port 5353. When a device needs to find another device or service, it sends a multicast query that all devices on the network receive and respond to if they match. This peer-to-peer approach eliminates the need for a central DNS server while enabling automatic service discovery and hostname resolution.
mDNS Service Discovery (mDNS-SD)
mDNS-SD extends basic mDNS by enabling service discovery, allowing devices to advertise specific services like printing, file sharing, or media streaming. Applications can query for available services on the network (e.g., "Find all printers") and receive responses from all matching devices. This capability powers zero-configuration networking, where devices work together without manual configuration.
Real-World Applications
mDNS is widely used in home and office networks for printer discovery, smart home device communication, and network storage access. Apple's Bonjour technology uses mDNS extensively for automatic service discovery on macOS and iOS devices. Avahi provides mDNS implementation on Linux systems. Windows 10 and later include native mDNS support for network discovery features, enabling seamless device detection without administrative configuration.
Advantages and Limitations
mDNS eliminates the complexity of setting up DNS servers and allows networks to function with zero configuration, making it ideal for small networks, home offices, and IoT devices. However, mDNS only works on local network segments and cannot route across the internet. It also generates network traffic through periodic multicast announcements, which can impact network bandwidth on larger networks. Despite limitations, mDNS remains essential for modern distributed computing and smart home ecosystems.
Related Questions
How is mDNS different from traditional DNS?
Traditional DNS relies on centralized servers to resolve domain names, requiring configuration and internet connectivity. mDNS uses local multicast for peer-to-peer discovery on local networks without servers or internet access. mDNS works only within local segments, while DNS operates globally.
What is Bonjour and how does it relate to mDNS?
Bonjour is Apple's implementation of mDNS and DNS-SD technology. It enables automatic service discovery and hostname resolution on local networks. Bonjour powers features like AirPrint (wireless printing), AirPlay (media streaming), and automatic device detection on Apple devices.
Why can't mDNS be used on the internet?
mDNS relies on multicast messages that routers don't forward across network boundaries or the internet. It's designed for local network segments only, where devices can receive multicast broadcasts. For internet-scale service discovery, traditional DNS or alternative technologies are required.
More What Is in Daily Life
- What Is a Credit ScoreA credit score is a three-digit number, typically ranging from 300 to 850, that represents your cred…
- What Is CD rates make no sense based on length of time invested. Explain like I'm 5CD (Certificate of Deposit) rates often don't increase with longer lock-up times the way people expe…
- What is a phdA PhD (Doctor of Philosophy) is a doctoral degree earned after completing advanced academic research…
- What is a polymathA polymath is a person with deep knowledge and expertise across multiple different fields or academi…
- What is aaveAAVE stands for African American Vernacular English, a dialect with distinct grammar, pronunciation,…
- What is aarch64ARMv8-A (commonly called ARM64 or AArch64) is a 64-bit processor architecture developed by ARM Holdi…
- What is about menTopics and discussions about men typically encompass masculinity, male identity, gender roles, men's…
- What is abiturAbitur is the German academic qualification awarded upon completion of secondary education, typicall…
- What is abrosexualAbrosexual is a sexual orientation identity where a person's sexual attraction changes or fluctuates…
- What is abgABG is an Indonesian acronym standing for 'Anak Baru Gede,' which refers to adolescent girls or teen…
- What is aaaAAA batteries are a standard cylindrical battery size measuring 10.5mm in diameter and 44.5mm in len…
- What is aacAAC (Advanced Audio Codec) is a digital audio compression format that provides better sound quality …
- What is aaa gameAAA games are high-budget video games developed by large studios with budgets typically exceeding $1…
- What is a proxyA proxy is a server that acts as an intermediary between your device and the internet, forwarding yo…
- What is ableismAbleism is discrimination and prejudice against people with disabilities based on the assumption tha…
- What is absAbs, short for abdominal muscles, are the muscles in your core that flex your spine and stabilize yo…
- What is abortionAbortion is a medical procedure that ends pregnancy by removing the fetus before viability. It can b…
- What is accutaneAccutane (isotretinoin) is a powerful prescription medication derived from vitamin A used to treat s…
- What is acetaminophenAcetaminophen, also known as paracetamol, is an over-the-counter pain reliever and fever reducer use…
- What is acidAcid is a chemical substance that donates protons (hydrogen ions) to other substances, characterized…
Also in Daily Life
- How To Save Money
- Why are so many white supremacist and right wings grifters not white
- Does "I'm 20 out" mean youre 20 minutes away from where you left, or youre 20 minutes away from your destination
- Why are so many men convinced that they are ugly
- What does awol mean
- What does asl mean
- What does ad mean
- What does asap mean
- What does apex mean
- What does asmr stand for
- What does atp mean
- What causes autism
- What does abg mean
- What does am and pm mean
- What does a fox sound like
More "What Is" Questions
Trending on WhatAnswer
Browse by Topic
Browse by Question Type
Sources
- RFC 6762 - Multicast DNS Open Standard
- Wikipedia - Multicast DNS CC-BY-SA-4.0
- Avahi - Zero Configuration Networking Open Source