[dns-operations] wrapsrv -- DNS SRV record command line wrapper

Stephane Bortzmeyer bortzmeyer at nic.fr
Thu Jul 2 09:26:37 UTC 2009


On Wed, Jul 01, 2009 at 09:02:31PM -0400,
 Robert Edmonds <edmonds at isc.org> wrote 
 a message of 81 lines which said:

> i couldn't find any utility that wraps the SRV record lookup and
> selection algorithm for commands that don't natively support the SRV
> record,

http://www.nongnu.org/ruli/

RULI - Resolver User Layer Interface

RULI stands for Resolver User Layer Interface. It's a library built on
top of an asynchronous DNS stub resolver. RULI provides an easy-to-use
interface for querying DNS SRV resource records. The goal is to
promote wide deployment of SRV-cognizant software. RULI aims to fully
support SRV-related standards. There are bindings for PHP, Perl,
Guile/Scheme, Java, and Lua. IPv6 is supported.

% echo _jabber._tcp.google.com | srvsearch
_jabber._tcp.google.com target=xmpp-server.l.google.com. priority=5 weight=0 port=5269 addresses=IPv4/209.85.163.125 
_jabber._tcp.google.com target=xmpp-server3.l.google.com. priority=20 weight=0 port=5269 addresses=IPv4/209.85.163.125 
...

> i'll upload a debian package shortly.

aptitude install libruli-bin




More information about the dns-operations mailing list