Multicast DNS is a method for (generally) small networks to advertise services without user configuration. The two popular implementations are bonjour (used by Apple systems) avahi (used by linux)
Questions tagged [mdns]
282 questions
3
votes
1 answer
Can't run node.js module mdns in node webkit application
I have a node webkit application that uses the mdns module for publishing a Bonjour service from a Mac (with Mavericks). When I run the server code with node server.js everything works OK, but when running the node webkit application that uses the…

Carla
- 205
- 3
- 10
3
votes
1 answer
socket sendto get the error 22 during udp packets
I have written one client application , which uses the mdnsreponder for some service discovery . I have one requirement that my client IP will get change very frequently. whenever there is a change in the IP I need to do the discovery again .
So I…

indra
- 832
- 4
- 17
- 33
3
votes
1 answer
Get Link-Local Domain Name from IP Address (i.e. Reverse DNS Lookup with Multicast DNS & DNS-SD)
I have a server application running on a device on the LAN that is discoverable via DNS-SD (i.e. Zeroconf/Bonjour/Avahi). Client devices, also on the LAN, connect to this server. I have no control over what application is used to connect to my…

BigMacAttack
- 4,479
- 3
- 30
- 39
3
votes
3 answers
Chrome Sockets API Behaves Differently on Chrome OS (vs. Ubuntu, Windows)?
I have a sample Chrome packaged app which uses the Chrome sockets API to perform DNS service discovery. The heavy lifting is borrowed from the example here:
https://github.com/GoogleChrome/chrome-app-samples/tree/master/mdns-browser
I just use…

Haw-Bin
- 416
- 3
- 8
3
votes
0 answers
How to use Avahi as if it were Bonjour
I am using Avahi and Bonjour as mDNS responder.
In Bonjour, I am getting answers to my query-in-answer section and additional information such as SRV, A, and AAAA records are in the additional section of the DNS packet.
But in Avahi, all PTR, SRV,…

user1694287
- 31
- 1
3
votes
1 answer
ping hostnames using avahi @ Ubuntu in VMware. No resolving
I'm having a really strange problem. I have 2 virtual machines running ubuntu 11.4 in VMware player. These virtual machines have a bridged connection to my network. Since they use DHCP it would be more easy to let them talk to each other using…

spambas
- 55
- 2
- 8
2
votes
1 answer
ipad mdns/bonjour not responding
I am developing an app to get information on network devices.
I have seen two different ipads get into a state where they are not sending out bonjour/mDNS traffic.
I used wireshark and did not see any broadcast traffic from the ipads at all.
I have…

Rob Peterson
- 21
- 2
2
votes
0 answers
Send MDNS request with Python Scapy
I have device in my LAN that send MDNS that looks like that in Wireshark
ip src: 192.168.1.41 , ip dst: 224.0.0.251 , src port : 5353 , dst port : 5353
MDNS 228 Standard query response 0x0000 PTR, cache flush abcd.local PTR, cache flush…

python3.789
- 164
- 9
2
votes
1 answer
Why are TXT Records set to nil when using NWBrowser for Network.framework?
I'm trying to get a list of Bonjour services running on my local network using Network.framework in Swift for my iOS application. In order to discover devices that are using the same protocol version as my application running, I need to be able to…

Charlie Fish
- 18,491
- 19
- 86
- 179
2
votes
1 answer
Bind to mdns multicast address on mac os x
I want to bind to the multicast DNS group and port on a mac os x machine to prototype some bonjour functionality. However, when I try to bind to the port I get the following error (incidentally this is run from python):
socket.error: [Errno 48]…

atikat
- 367
- 3
- 11
2
votes
0 answers
Clear local mDNS entries on Ubuntu 20.04
I currently have a custom Java / c++ application running on Ubuntu 20.04 that records an NDI video device as soon as it is presented on the network via mDNS. I'd also like to programmatically stop recording this video stream once the device is no…

burtmacklin16
- 715
- 2
- 13
- 31
2
votes
1 answer
Flutter/Multicast DNS: How to test network discovery with MDNS
I have implemented network discovery with MDNS for my Flutter mobile app using the multicast_dns package.
The idea behind this was that the mobile app should automatically detect the server address on the local network. MDNS seems to be the more…

Josip Domazet
- 2,246
- 2
- 14
- 37
2
votes
1 answer
Reverse Engineering XCode Broadcast for iPhone Network Search
XCode performs a request which tries to access iPhones located in same network. These iPhones were configured for remote deployment.
tcpdump is printing out that lines:
13:09:41.271644 IP 192.168.1.39.5353 > 224.0.0.251.5353: 0- [0q]
6/0/2 (Cache…

sk2212
- 1,688
- 4
- 23
- 43
2
votes
2 answers
Test Flight - Local Network permission, NSBonjourServices error in TestFlight build
For iOS14 we are supposed to get the local network permission from the user. The app works fine if I run directly on the device or export it as an Enterprise application. If I upload the same app to Test flight I am getting the following…

Vinay Kiran
- 349
- 5
- 16
2
votes
0 answers
Change domain "local" in avahi and and use a hostname with multiple labels
I need to publish multiple addresses for the same IP (eg: address1.local, address2.local)
Did it creating a service /etc/systemd/system/avahi-alias@.service with the following:
[Unit]
Description=Publish %I as alias for %H.local via…

Ikaro
- 165
- 1
- 12