Thu Feb 14 02:16:21 2013kes-kes [...] yandex.ru - Ticket created
Subject:
do support for SRV record
nslookup error: Unknown type 'SRV' at
/usr/local/share/perl/5.14.2/Net/Nslookup.pm line 72.
Thu Feb 14 04:09:28 2013kes-kes [...] yandex.ru - Correspondence added
From:
kes-kes [...] yandex.ru
You must add simple line:
SOA dummy
+ SRV target
);
Thu Feb 14 10:43:22 2013darren [...] cpan.org - Status changed from 'new' to 'open'
Thu Feb 14 10:43:23 2013darren [...] cpan.org - Taken
Thu Feb 14 10:44:00 2013darren [...] cpan.org - Correspondence added
On Thu Feb 14 04:09:28 2013, kes-kes@yandex.ru wrote:
Show quoted text
> You must add simple line:
>
> SOA dummy
> + SRV target
> );
This seems reasonable and simple, and seems to work.
Can you supply a hostname with a SRV record for me to test against?
Thu Feb 14 14:03:06 2013kes-kes [...] yandex.ru - Correspondence added
From:
kes-kes [...] yandex.ru
Show quoted text
> Can you supply a hostname with a SRV record for me to test against?
# nslookup
Show quoted text
> set type=SRV
> _jabber._tcp.testforme.ru
Server: 31.31.204.53
Address: 31.31.204.53#53
Non-authoritative answer:
_jabber._tcp.testforme.ru service = 20 0 5269
xmpp-server4.l.google.com.
_jabber._tcp.testforme.ru service = 5 0 5269 xmpp-server.l.google.com.
_jabber._tcp.testforme.ru service = 20 0 5269
xmpp-server1.l.google.com.
_jabber._tcp.testforme.ru service = 20 0 5269
xmpp-server2.l.google.com.
_jabber._tcp.testforme.ru service = 20 0 5269
xmpp-server3.l.google.com.
Thu Feb 14 14:11:12 2013darren [...] cpan.org - Correspondence added
I've added your recommended line, and the result is:
$ make && perl -Mblib -MNet::Nslookup -wle '@n = nslookup(host => shift, type => "SRV");
print join "\n", @n' _jabber._tcp.testforme.ru
xmpp-server4.l.google.com
xmpp-server1.l.google.com
xmpp-server2.l.google.com
xmpp-server.l.google.com
xmpp-server3.l.google.com
I'll roll a new dist (2.02) for testing.
Thu Feb 14 20:45:24 2013darren [...] cpan.org - Correspondence added