Questions tagged [jmdns]

JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.

JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.

The Zeroconf working group is working towards zero-configuration IP networking. Multi-cast DNS and DNS service discovery provide a convenient way for devices and services to register themselves, and to discover other network-based services without relying on centrally administered services.

Java as a language is not appropriate for low-level network configuration, but it is very useful for service registration and discovery. JmDNS provides an easy-to-use pure-Java mDNS implementation that runs on most JDK1.6 compatible VMs.

122 questions
2
votes
1 answer

JmDNS, JmmDNS? what is the difference? what to use in my bundle?

I'm a newbie here. While having a look on the JmDNS library (3.4.1), I couldn't clearly get the difference between JmDNS and JmmDNS instances. I used an instance of JmmDNS to discover services and it works properly in my application. Then, I wanted…
smith
  • 21
  • 4
2
votes
2 answers

Bonjour service is published with JmDNS in Equinox but not in Apache Felix

I'm facing a strange problem. I have created an OSGi bundle for JmDNS 3.1.6 and have successfully used that in Equinox to publish a service for almost two years now. I have recently migrated to Apache Felix. Unfortunately, the same JmDNS bundle,…
BumbleGee
  • 2,031
  • 3
  • 18
  • 18
2
votes
1 answer

MDNS broadcast from within kubernetes?

I am using jmdns to broadcast a service over mdns which is then running as a docker image inside a kubernetes pod. The pod yaml looks something like this: apiVersion: v1 kind: Pod metadata: name: mdns-broadcaster spec: hostNetwork: true …
Ben C
  • 476
  • 5
  • 16
2
votes
1 answer

JmDNS service not found in ZeroConf browser

I'm developing a web app in Java (with Spark) and I want it to use JmDNS to be able to find this server in my Android app. I was following steps from JmDNS page with service registration, and my code looks like this: try { // Create a JmDNS…
Mohru
  • 725
  • 1
  • 7
  • 17
2
votes
1 answer

Android JmDNS how to remove service

im currently writing an android app, which should keep track of other devices in the same wifi network using JmDNS. The discovery process works correctly, but i don't know how to keep track of other devices especially noticing their removing. As…
Iconic
  • 41
  • 3
2
votes
1 answer

How can I use JmDNS successfully on Android?

According to the topic... I am a newcomer of Android!!!! I have been tried to implement JmDNS successfully on Android for 2 more weeks... (Not only on Google IDEOS phone,but also on Eclipse)... I,ve been tried the "TestBonjour" code (comment…
user517011
  • 59
  • 1
  • 5
2
votes
1 answer

Is there a working network service discovery example with mdnsjava?

Problem I'm trying to get started with network service discovery for my Java client/server application -- basically, I just want the client to find the server on the same ethernet segment without configuration. I'd like to provide for the future…
Autumn
  • 3,214
  • 1
  • 20
  • 35
2
votes
1 answer

Android -> iOS zero conf network discovery with jmDNS broken

I'm using jmDNS 3.4.1 to do network discovery between Android and iOS. Recently it has not worked properly. The Android app broadcasts itself on the network using mDNS. The iOS app looks for services using NSNetServiceBrowser. iOS does discover the…
Steveo
  • 2,238
  • 1
  • 21
  • 34
2
votes
1 answer

mDNS/jmDNS and domains other than local

I'd like to use mDNS as a resolving mechanism in a segregated network. To achieve that I'd like to use fully qualified DNS without the default local post-fix. I've been through all the tooling (dns-sd CLI, avahi, jmDNS) that is out there for mDNS.…
AlessandroEmm
  • 698
  • 7
  • 23
2
votes
1 answer

On Android, JmDNS being called repeatedly with network ON and OFF

I am having a problem with using the JmDNS library for an Android app. Since Bonjour does not send periodic keep-alive messages, I am closing and opening a new JmDNS instance every 30 seconds, so that I can have the serviceAdded and serviceResolved…
Rajath
  • 11,787
  • 7
  • 48
  • 62
2
votes
0 answers

jmdns Airplay - Service is not discovered

I am working on this for months now, but my iPhone refuses to discover my Java (or Android) Applications. I found a receiver app for Android (AirPin) which works and I use it for comparing it with my code. I am working with latest jmdns source build…
paulgavrikov
  • 1,883
  • 3
  • 29
  • 51
2
votes
2 answers

How To Make JmDNS Work On A Large Network

I'm working on adding discovery to our app using (http://jmdns.sourceforge.net/). It's actually working correctly on my small home network. But it fails on the large network at the office. I seem to recall reading that if an app blocks for more than…
Brad Rhoads
  • 1,828
  • 3
  • 29
  • 52
2
votes
1 answer

Android hostname not recognised when creating TCP socket

Hi all I have been struggling with this for a while now and cannot find a solution. In java this code works: InetAddress serverAddr = InetAddress.getByName("myservice.local"); Socket socket = new Socket(serverAddr, …
vallllll
  • 2,731
  • 6
  • 43
  • 77
2
votes
1 answer

discover services using subtypes in jmdns

I have registered my service with subtype using mdnsreponder(applebonjour) on my linux pc . And I am trying to browse the service using jmdns (here I have jmdns.jar file) on my Galaxy phone . I registered the service using the below command $dns-sd…
Suru
  • 31
  • 1
  • 9
2
votes
1 answer

detect resolution information (txtrecord) changes by JmDNS

JmDNS support service listener which include method for added services serviceAdded (detect new services) and include a method for removed sevices serviceRemoved (detect removed services). my question is: are there a method which detect service data…
MOHAMED
  • 41,599
  • 58
  • 163
  • 268
1 2
3
8 9