Questions tagged [mdns]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
86 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 {...
user avatar
  • 111
1 vote
1 answer
89 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 ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
0 votes
1 answer
32 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 ...
user avatar
0 votes
0 answers
77 views

Avahi-browse only showing ipv6 entries when in a different vlan

Why are only IPv6 entries shown, what happened to the IPv4 entries? IPv6 Entries are the only ones being populated with the avahi-browse when run from a different vlan. Setup IGMP, PIM on L3 switch ...
user avatar
0 votes
0 answers
60 views

No Bonjour even on successful OpenVPN TAP connection

I have a wireless printer/scanner on a remote network that is accessible via OpenVPN server in eth-bridge mode running on Ubuntu 20.04 host (in the same remote network as the scanner of course). IP ...
user avatar
  • 1
2 votes
0 answers
45 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. ...
user avatar
  • 123
0 votes
1 answer
50 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 ...
user avatar
  • 101
1 vote
0 answers
418 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&...
user avatar
2 votes
1 answer
228 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:...
user avatar
1 vote
0 answers
272 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 ...
user avatar
1 vote
0 answers
529 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 ...
user avatar
  • 11
0 votes
1 answer
299 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-...
user avatar
2 votes
2 answers
7k 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 ...
user avatar
  • 23
0 votes
1 answer
300 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/...
user avatar
  • 105
1 vote
2 answers
460 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. ...
user avatar
  • 391
0 votes
1 answer
1k 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 ...
user avatar
3 votes
0 answers
1k 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 ...
user avatar
1 vote
1 answer
306 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 ...
user avatar
  • 11
-2 votes
1 answer
117 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?
user avatar
0 votes
1 answer
301 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. ...
user avatar
2 votes
0 answers
578 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 ...
user avatar
  • 123
4 votes
2 answers
4k 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 ...
user avatar
  • 41
0 votes
1 answer
1k 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 ...
user avatar
  • 146
6 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 ...
user avatar
11 votes
3 answers
2k 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 ...
user avatar
  • 263
3 votes
1 answer
4k 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 ...
user avatar
  • 3,440
-1 votes
2 answers
1k 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 ...
user avatar
  • 215
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 ...
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 ...
user avatar
  • 1,118
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: ...
user avatar
6 votes
1 answer
2k 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 ...
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 ...
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 ...
user avatar
4 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 ...
user avatar
  • 151
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....
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 ...
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 ...
user avatar
0 votes
1 answer
417 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 (...
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....
user avatar
18 votes
4 answers
33k 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 ...
user avatar
  • 301
8 votes
2 answers
14k 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) ...
user avatar
5 votes
2 answers
10k 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 ...
user avatar
31 votes
3 answers
44k views

How to use Bonjour?

First, what exactly Bonjour does (pleas read my guesses written bellow)? Here I found out that Bonjour enables automatic discovery of computers, devices, and services on IP networks. But I thought ...
user avatar
  • 2,409
6 votes
2 answers
9k views

Running a DNS nameserver in a .local domain

We are using an ".intranet.local" domain for our internal network. For years the ".local" domain seemed to be a sane choice for local networks running on private (RFC 1918) IP addresses. Today we ...
user avatar
  • 1,228
1 vote
1 answer
4k views

DHCP and mDNS magic - I want automatic $hostname.mydomain answers on my DNS server

I've seen the wonders of mDNS-based service discovery, but I haven't had much time to look more into it. I also there was references to it in DHCP config files or something. How can I use mDNS to ...
user avatar
  • 2,023
5 votes
2 answers
2k views

How do I tell OS X's implementation of Bonjour/ZeroConf which network to use for mdns?

I have four networks on my machine: 192.168.20.0/24 wired (connected only at work) 192.168.20.0/24 wireless (connected only at home) 192.168.132.0/24 VMWare's NAT 192.168.238.0/24 VMWare's host-only ...
user avatar
  • 2,003
2 votes
1 answer
830 views

What could cause my OS X machine's mdns ip address to be wrong?

I have an Ubuntu 9.04 box and a OS X 10.5 box. They are both on the same subnet (192.168.10.0/24). I can see ubuntu.local and osx.local from the OS X machine, but I can only see ubuntu.local from ...
user avatar
  • 2,003