Questions tagged [mdns]

50 questions
31
votes
3 answers

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 that it not only "discovers devices on IP network"…
Roman
  • 2,439
  • 9
  • 32
  • 32
18
votes
4 answers

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 from 192.168.0.52: icmp_seq=1 ttl=64 time=5.510…
Adam
  • 301
  • 1
  • 3
  • 6
17
votes
1 answer

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. The DreamPlug acts as the WiFi access point, and…
jon
  • 288
  • 2
  • 10
11
votes
3 answers

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 collision. How do I prevent Avahi from appending -2 to…
dty
  • 263
  • 2
  • 12
9
votes
1 answer

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 software, and the server processes communicate with…
Jeremy Friesner
  • 1,311
  • 1
  • 14
  • 25
8
votes
2 answers

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 between the subnets and things like ssh host-A.wifi…
Erik Tjernlund
  • 251
  • 3
  • 8
8
votes
2 answers

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) are mainly connected via Wireless, which are…
Matthew Savage
  • 528
  • 1
  • 7
  • 18
6
votes
2 answers

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 learned that ".local" is nowadays used for zeroconf…
Signum
  • 1,228
  • 1
  • 12
  • 14
6
votes
1 answer

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 remote Ubuntu server from my iPhone on a different…
Pyrology
  • 61
  • 1
  • 4
6
votes
1 answer

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 few minutes, i.e. I can reach them via…
arne
  • 181
  • 1
  • 5
5
votes
2 answers

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 in each subnet to see the services available in…
user37278
  • 51
  • 1
  • 1
  • 3
5
votes
2 answers

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 My OS X (10.5) seems to prefer to use VMWare's…
Chas. Owens
  • 2,013
  • 2
  • 20
  • 24
4
votes
2 answers

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 initialization, the node sends its IP address to the…
cg14
  • 41
  • 1
  • 3
4
votes
1 answer

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 NetBIOS for linux, marked as DEPRECATED by many…
Espinosa
  • 151
  • 1
  • 6
3
votes
0 answers

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 https://en.wikipedia.org/wiki/Multicast_DNS and…
Ubuntourist
  • 146
  • 5
1
2 3 4