[Pdns-users] pdns 2.9.20 and wrong SRV RR answer
Daniel Nauck
dna at informatik.uni-kiel.de
Sat Jun 24 12:43:32 UTC 2006
Hi,
Powerdns returns a wrong result of a SRV RR in Version 2.9.20 (Debian
static x86)
Datebasecontent:
mysql> SELECT * FROM records WHERE domain_id=653 AND type="srv";
+------+-----------+--------------------------------+------+-------------------------------+------+------+-------------+
| id | domain_id | name | type | content
| ttl | prio | change_date |
+------+-----------+--------------------------------+------+-------------------------------+------+------+-------------+
| 6529 | 653 | _xmpp-server._tcp.srv-test.com | SRV | 10 0 5269
jabber.srv-test.com | 3600 | NULL | NULL |
| 6530 | 653 | _xmpp-client._tcp.srv-test.com | SRV | 10 0 5222
jabber.srv-test.com | 3600 | NULL | NULL |
+------+-----------+--------------------------------+------+-------------------------------+------+------+-------------+
2 rows in set (0.00 sec)
Query:
; <<>> DiG 9.2.4 <<>> _xmpp-server._tcp.srv-test.com SRV @213.239.201.44
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53672
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;_xmpp-server._tcp.srv-test.com. IN SRV
;; ANSWER SECTION:
_xmpp-server._tcp.srv-test.com. 3600 IN SRV 0 10 0 5269.
;; Query time: 9 msec
;; SERVER: 213.239.201.44#53(213.239.201.44)
;; WHEN: Sat Jun 24 14:20:39 2006
;; MSG SIZE rcvd: 72
The answer is:
Port 0, priority 0, weight 10, hostname: 5269
insted of:
Port 5269, priority 10, weight 0, hostname: jabber.srv-test.com
Thanks for help,
Daniel
More information about the Pdns-users
mailing list