[jdev] JDNS: a library for SRV and Bonjour

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Tue Sep 27 22:43:35 CDT 2005

Hi folks!

I wanted to announce the existence of my JDNS project.

From the README:

'JDNS is a simple DNS implementation that can perform normal DNS queries of 
any record type (notably SRV), as well as Multicast DNS queries and 
advertising.  Multicast support is based on Jeremie Miller's "mdnsd" 

For maximum flexibility, JDNS is written in C with no direct dependencies,
and is licensed under the MIT license.'

JDNS was designed to be portable and to be able to integrate into any existing 
event-loop system.  I've already integrated it into Qt without trouble, and 
I've found success on all platforms I've tried it on, including Windows 98, 
Windows XP, and Linux.

Now there should be no excuse for not supporting SRV records in Jabber. :)

Additionally, JDNS can be used as an embedable Multicast DNS "Responder" (for 
doing Bonjour LAN communication with iChat and what not), without any 
licensing troubles.

The code can be found in the Iris CVS.  Details about accessing the CVS are at 
the Iris homepage: ( http://delta.affinix.com/iris/ ).  You'll want to 
checkout the "iris/irisnet/jdns" module.

I've also made a Windows build of the 'jdns' commandline tool available here:

Have fun,

More information about the JDev mailing list