[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #7797 [Tor]: tor DNS resolver unable to handle/return SRV type DNS records
#7797: tor DNS resolver unable to handle/return SRV type DNS records
--------------------+-------------------------------------------------------
Reporter: mr-4 | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------+-------------------------------------------------------
Tor's internal DNS resolver is incapable of looking up SRV (service type)
DNS records.
SRV-type DNS records have the following format: _service._protocol.name
(like "_sip._udp.ekiga.net" for example). The "output" I am getting from
tor is as follows (127.0.0.1 refers to tor's internal DNS server):
# dig @127.0.0.1 _sip._udp.ekiga.net SRV
; <<>> DiG 9.7.3-P1-RedHat-9.7.3-2.P1.fc18 <<>> @127.0.0.1
_sip._udp.ekiga.net SRV
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 29790
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;_sip._udp.ekiga.net. IN SRV
;; Query time: 2 msec
;; SERVER: 127.0.0.1 # 53(127.0.0.1)
;; WHEN: Wed Dec 26 00:45:05 2012
;; MSG SIZE rcvd: 37
Note the "status" above as NOTIMP (Not Implemented). The correct output,
using a "proper" DNS server (marked as xxx.xxx.xxx.xxx below) is as
follows:
# dig @xxx.xxx.xxx.xxx _sip._udp.ekiga.net SRV
; <<>> DiG 9.7.3-P1-RedHat-9.7.3-2.P1.fc18 <<>> @xxx.xxx.xxx.xxx
_sip._udp.ekiga.net SRV
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65507
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;_sip._udp.ekiga.net. IN SRV
;; ANSWER SECTION:
_sip._udp.ekiga.net. 86400 IN SRV 0 0 5060 ekiga.net.
;; ADDITIONAL SECTION:
ekiga.net. 85881 IN A 86.64.162.35
;; Query time: 24 msec
;; SERVER: xxx.xxx.xxx.xxx # 53(xxx.xxx.xxx.xxx)
;; WHEN: Wed Dec 26 00:48:01 2012
;; MSG SIZE rcvd: 82
As evident, the "status" returned is NOERROR (No Error).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7797>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs