Questions tagged [mdns]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
150 views

Ping and mDNS over WireGuard not working

When running through WireGuard VPN tunnel from outside the network, I can access machines inside directly via IP. For example, hitting IP of PiHole box in a browser returns the PiHole UI. I can also ...
Overflowed's user avatar
0 votes
0 answers
30 views

Iptables: limit mdns packet per second per ip

I have a network with a lot of MDNS (UDP 5353) traffic on it. To avoid overloading my server, I limit globally the MDNS packets accepted by iptables with this rules: iptables -A INPUT -i eth2 -p udp --...
cyanat's user avatar
  • 31
0 votes
0 answers
38 views

Portable router doesn't forward broadcast MDNS IPv6 messages

I have a device (a motec ECU) that is connected throught a wired eth, which uses IPV6 with MDNS broadcast messages (ff02::fb) to get discoved in the network. If I connect a laptop directly to the ecu ...
danipisca07's user avatar
0 votes
1 answer
356 views

Debian not resolving mdns query

Got 4 debian boxes, all suddenly not resolving mdns ip4 queries. On the contrary MacOS seems to resolve these queries just fine. I can do avahi-resolve --name hostname.local and get the result '...
Alex's user avatar
  • 101
0 votes
0 answers
46 views

How to send unicast to IOS devices

We have a Python and also a NodeJS codes that send mDNS responses in a network. These mDNS responses are sent to specific IP addresses (NOT to the MDNS IP address - 224.0.0.251). For eg. if the IP ...
Avis's user avatar
  • 1
0 votes
0 answers
57 views

mDNS (unknown device IP), Ningx, with restAPI backend url redirect without changing the url in the browser window

Setup Have a set of device(s) that will be placed on various networks with various IP designations. The device does backend stuff and provides 2 "services" to the user: a create react app ...
Biaspoint's user avatar
  • 101
0 votes
0 answers
138 views

Scapy packets are not being recognized

I am manually sending MDNS response packets from the server using SCAPY to the mobile (Both in same network) when it looks for a chrome cast (The cast device is in another network). The packet is been ...
Avis's user avatar
  • 1
0 votes
0 answers
303 views

Multicast resolution overrides hosts file on Windows 10

I have a Windows application that publishes itself with a DNS multicast record. Let's say myapp.local. When it is installed, it stores a record in hosts file under systemroot/drivers/etc folder. 127.0....
Tobia's user avatar
  • 1,282
1 vote
0 answers
204 views

Is it possible to automatically import mDNS entries into a bind9 .local zone file?

It's nice to have a zeroconf setup with mDNS, but some of my machines (like docker containers) do not contain the avahi-daemon and by that they are not able to resolve .local hostnames. Now I could ...
mgutt's user avatar
  • 503
3 votes
1 answer
581 views

Nginx -- Can't use mDNS domain name in upstream server

Minimal example Machine A and B, where B uses mDNS with domain name b.local and set ssh service at port 2222. A and B does not turn on firewall. In machine A's nginx.conf: stream { upstream b-ssh {...
Evian's user avatar
  • 131
2 votes
1 answer
549 views

Why are Nix programs not able to resolve mDNS names when native programs are?

My native programs (on Fedora) are able to resolve mDNS / Avahi / zeroconf names, like so: $ ping felonyspork.local -c 1 PING felonyspork.local (192.168.88.169) 56(84) bytes of data. 64 bytes from ...
Leonora Tindall's user avatar
0 votes
1 answer
357 views

What's the meaning of UNICAST-RESPONSE bit set in mDNS response?

As per Wikipedia, the UNICAST-RESPONSE field is used to minimize unnecessary broadcasts on the network: if the bit is set, responders SHOULD send a directed-unicast response directly to the inquiring ...
InvisibleWolf's user avatar
0 votes
1 answer
445 views

Avahi found IP changes after a few seconds

I use avahi to find machines on the local network. It's been acting up recently, causing a machine to hand out the wrong IP. I ssh'd into a different machine to debug the issue. Confirming the ...
charliehorse55's user avatar
2 votes
0 answers
132 views

What should a nameserver return in the authority section for queries to hosts on the .local domain?

I see that querying hosts in the local domain foo.local some nameservers (e.g. knot resolver) return an authority section containing things like foo.local. 10800 IN SOA foo.local. ...
callegar's user avatar
  • 123
0 votes
1 answer
324 views

Link-local IPv4 network scope on Windows

We have an embedded PC that initially starts off life with a link-local IPv4 address, typically 169.254.0.1. It broadcasts its existence using Zeroconf using the python-zeroconf library. These ...
iphaaw's user avatar
  • 101
1 vote
0 answers
813 views

Bind9 .local stub zone

I have a Windows 2012R2 Windows AD domain "example.local" that I need to to setup a stub (preferable) or a conditional forwarder but my named fails to locate or resolve a remote ".local&...
Dean Benson's user avatar
2 votes
1 answer
445 views

How to make reverse mDNS through IPv6 on OSX?

I am looking for a way to make reverse mDNS query on OSX over IPv6 only. I am not interested by solution using IPv4. The following works on Linux with dig 9.16.1: dig +short @ff02::fb -p 5353 -x 2001:...
djoproject's user avatar
1 vote
0 answers
527 views

mDNS service is discovered but not reachable

I've some problems connecting to services on my raspberry pi. I desire the following: 1x Raspberry Pi running multiple services (like openhab, mosquitto, nagios, etc.). Each of these services is ...
Peter C. Glade's user avatar
1 vote
0 answers
976 views

How do I resolve .local. DNS names on Debian 10?

I have a small local Ethernet network which I am using as a prototype for an industrial automation network. The network currently has 2 machines, both running Debian 10. There is no DNS server ...
Martin's user avatar
  • 11
0 votes
1 answer
556 views

avahi-resolve resolves hostname that dig -p 5353 @224.0.0.251 does not?

I thought avahi-resolve and dig -p 5353 @224.0.0.251 did much the same thing. However, I have a device where I can resolve its name using avahi-resolve but not using dig: $ avahi-resolve --name ding-...
George Hawkins's user avatar
3 votes
2 answers
12k views

Googlecast SSDP and MDNS queries on network despite not having any chromecast applications installed in main computer

As title states, Ive detected some MDNS queries from a googlecast address, which is strange since i don't have any googlecast apps or similar installed. Additionally My PC is sending SSDP packets to ...
N S's user avatar
  • 33
0 votes
1 answer
426 views

Publishing CNAME to Avahi over DBUS requires long lived process

I am attempting to setup CNAMEs in Avahi in order to broadcast multiple hostnames. I've found a variety of examples online that all work but they all require long lived processes: https://github.com/...
Stephen L's user avatar
  • 105
1 vote
2 answers
554 views

MDNS response “storm” with “localhost_prl: 127.0.0.1”

We are experiencing occasional performance problems in our WIFI. With Wireshark I see a high number (currently 50/s) of MDNS responses for localhost_prl:127.0.0.1. I don't think that this is normal. ...
GxB's user avatar
  • 431
0 votes
1 answer
2k views

Add sender to my exchange out of office mails which are sent via postfix with an empty sender

Out of office mails works internally but externaly the logs says : - it goes out of Exchange 2010 to go to Postfix (without any sender), - Postfix sends it out to the sender without any sender - the ...
Philipili's user avatar
3 votes
0 answers
2k views

How does ping determine the IP address of an mDNS service?

I am trying to write a Python 3 program which, when given the name of a service, returns the IPv4 numeric address of the machine running the service. (I don't want to use the zeroconf module.) Using ...
Ubuntourist's user avatar
1 vote
1 answer
461 views

mDNS - how to know a device is out of the wifi signal range

I would like to ask a question about mDNS. I am trying to create a Linux process which can discover some services (e.g. _airplay._tcp., _raop._tcp) from the other device when the device joins the ...
steven's user avatar
  • 11
-2 votes
1 answer
134 views

How do I figure out the nameservers Avahi is using?

Avahi now runs in Ubuntu to serve as a nameserver on 127.0.1.1. How do I figure out which nameserver(s) Avahi auto-discovered to use?
Steve Maring's user avatar
0 votes
1 answer
344 views

Chromecast mDNS burst slowing down PCs

Starting a few weeks ago, at seemingly random intervals, 3 of 5 PCs will lag at the same time for a few seconds to the extent where mouse and keyboard input is delayed and VoIP calls are dropped. ...
mythofechelon's user avatar
2 votes
0 answers
743 views

mDNS not working between VirtualBox guests

I have two Linux guests (call them db1 and db2, both SL7) running on a Fedora 25 host using VirtualBox. Both guests' network adapters are bridged to the host's wireless card. Both guests have avahi ...
csd's user avatar
  • 123
4 votes
2 answers
5k views

Multicasting (mDNS) for Linux Server

Background: I am running a Linux sever on a local network that acts as both a web server and a central communications server. This server communicates with multiple nodes in the system. Upon node ...
cg14's user avatar
  • 141
0 votes
2 answers
2k views

Centos 7 Avahi doesn't resolve from windows machines

I have installed and configured avahi-daemon and samba on Centos 6.6 and it's working when I am testing it from an Ubuntu machine. e.g.: ping myhostname.local or smb://myhostname.local However, when ...
Sheric's user avatar
  • 146
7 votes
1 answer
6k views

Repeating mDNS/Bonjour requests from eth0 through a tunnel (tun0)

To start off, I am quite new at both networking and Unix/Ubuntu/Linux distros. Just a warning, for any setup/code may look a bit ugly. Basically, my end goal is to successfully AirPlay Mirror to a ...
Pyrology's user avatar
12 votes
5 answers
3k views

How to prevent Avahi adding -2 to hostnames

Often (maybe 80% of the time), when I reboot a machine running Avahi, it starts using machinename-2.local as it's hostname. All the machines on my network have unique hostnames, so there is no ...
dty's user avatar
  • 273
3 votes
1 answer
6k views

How to publish hostnames of Ubuntu machines using Avahi

How do you configure Avahi on Ubuntu to automatically broadcast and discover the DNS info for each Linux server on a local network? I've ran this on my localhost (hostname mylocalhost) and a test ...
Cerin's user avatar
  • 3,590
-1 votes
2 answers
2k views

how to get a connection between Windows and Linux without an existing DHCP server

Scenario: In general a ubuntu machine (called server) runs in a network and gets an IP from it. Due to testing, sometimes a windows machine (client) is physical connected to the ubuntu machine ...
wenzul's user avatar
  • 225
3 votes
2 answers
4k views

Avahi (zeroconf/bonjour) service in bridged VirtualBox sometimes not found outside host

I have a VirtualBox with Debian 3.2.51 guest (vcube) on Ubuntu 13.10 host (ring) with a bridged network adapter. vcube has an Avahi service configured with a vcube.local name. I can see/ping/access ...
Victor Sergienko's user avatar
3 votes
1 answer
2k views

Avahi add second hostname

Is it possible to let Avahi announce another hostname for the same machine? I know it is meant to announce 'services', but usual clients like eg. browsers lack Avahi service support and rely on name ...
dronus's user avatar
  • 1,178
1 vote
2 answers
2k views

Configuring linux to be visible in microsoft DNS domain

I've been trying to have one of our linux box available in the windows domain. The linux box is a ubuntu server without gui or X installed. All manipulations are done from ssh. Linux box: hostname: ...
Loïc Faure-Lacroix's user avatar
6 votes
1 answer
3k views

avahi stops publishing after a few minutes

I've got a couple of virtual machines (running Scientific Linux 6.2) that publish Workstation records so that they can easily be found on the net. Some of the virtual machines stop publishing after a ...
arne's user avatar
  • 181
0 votes
1 answer
1k views

OSX: Excessive NXDOMAIN response for dns-sd queries

I'm primarily in a OSX environment and I'm seeing a large number of NXDOMAIN responses from our internal DNS servers. The queries that trigger these responses are what I believe to be mDNS/Bonjour ...
jon's user avatar
  • 181
8 votes
2 answers
5k views

Multicast routing across two subnets with FreeBSD 9 (Bonjour between subnets)?

I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net). There are routes ...
Erik Tjernlund's user avatar
5 votes
1 answer
9k views

Configure Avahi nss-mdns not to use local suffix with hostnames because of issue in mounting Samba share

How to configure Avahi & nss-mdns to resolve names in my small home network in the same manner as Windows does with NetBIOS or more recently LLMNR. For Linux, there are two options: Winbind aka ...
Espinosa's user avatar
  • 171
17 votes
1 answer
1k views

Using Avahi on DreamPlug Ubuntu with iPads

I have the following very peculiar issue with using Avahi on the DreamPlug (which is a plug computer running Ubuntu Jaunty). After spending days on this, I think I've managed to narrow down the issue....
jon's user avatar
  • 288
1 vote
1 answer
2k views

Apache and ZeroConf

I have a machine running Ubuntu on which I've installed Apache (v2). What I'm trying to do is enable ZeroConf so that the Apache server will broadcast itself over the network and then will be able to ...
jon's user avatar
  • 288
9 votes
1 answer
1k views

Is there a way to set up Avahi to implement "anycast name resolution" on a LAN?

First, some background: We've got a lab containing a handful of dedicated Linux servers that run on an isolated LAN. All the servers run the same OS (Debian Linux) and the same proprietary server ...
Jeremy Friesner's user avatar
0 votes
1 answer
474 views

W2k3 AD Server spewing to 224.0.0.251.mdns

I'm looking at a tcpdump of my network and seeing floods of mdns packets from my W2k3 AD Server. : 03:28:30.655189 IP mydomainserver.local.mdns > 224.0.0.251.mdns: 0*- [0q] 1/0/0 A 192.168.100.1 (...
Frank Brenner's user avatar
2 votes
1 answer
2k views

mDNS on bridged OpenVPN network

I have openvpn running on a openbsd server that is behind a firewall, so it is a local member of the LAN. The openvpn is a bridge configuration. firewall internal 10.0.10.1 openvpn server 10.0.10....
Tim Hoolihan's user avatar
20 votes
4 answers
37k views

How do I get the machine name from an IP via Multicast DNS?

I have a list of IP addresses on a network, and most of them support multicast DNS. I'd like to be able to resolve the server name instead of just having the IP address. ping computer.local 64 bytes ...
Adam's user avatar
  • 321
8 votes
2 answers
16k views

Bonjour/mDNS Broadcast across subnets

I have just setup a new OSX Server in our office and verified that everything is working fine over our wired network (192.168.126.0/24). The problem that I am having is that our clients (Mac Laptops) ...
Matthew Savage's user avatar
9 votes
3 answers
12k views

Forward mDns from one subnet to another?

Is there an ipfw rule that can easily forward mDns packets from one subnet to another? I have a Snow Leopard Server machine serving as the gateway between the two subnets and would like for machines ...
user37278's user avatar