[dnsdist] TCAction() doesnt return answer
dims
dims.main at gmail.com
Tue Apr 26 10:26:38 UTC 2016
Hello
OS: el6 x86_64
dnsdict: dnsdist-1.0.0-1pdns.el6.x86_64
In config set: addAction({"0.0.0.0/0", "::/0"}, TCAction())
try get A-record
dig @127.0.0.1 -p 5200 A test.domain
;; Truncated, retrying in TCP mode.
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.7 <<>> @127.0.0.1 -p
5200 A test.domain
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59218
;; flags: qr tc rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;test.domain. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5200(127.0.0.1)
;; WHEN: Tue Apr 26 13:23:11 2016
;; MSG SIZE rcvd: 24
Remove addAction({"0.0.0.0/0", "::/0"}, TCAction()):
dig @127.0.0.1 -p 5200 A test.domain
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.7 <<>> @127.0.0.1 -p
5200 A test.domain
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16008
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;test.domain. IN A
;; ANSWER SECTION:
test.domain. 296 IN A 127.0.0.1
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5200(127.0.0.1)
;; WHEN: Tue Apr 26 13:24:44 2016
;; MSG SIZE rcvd: 40
More information about the dnsdist
mailing list