[MaraDNS list] TCP

Nicholas Bamber nicholas at periapt.co.uk
Mon Jul 18 07:09:12 EDT 2011


Sam,
	I have been experimenting with TCP connections this morning. What I
have found so far is as follows:

1.) fetchzone works for me.

2.) The only way of forcing a TCP connection I can find is to use the
+tcp option in dig.

3.) Asking for AXFR and IXFR records via dig seems to work but does not
deliver useful information.

4.) Running 'dig hostname @server +tcp' works against a bind server but
against the maradns zonserver seems to generate a seg fault. I will put
the full output at the end.

5.) Since askmara apparently does not have a +tcp option I am guessing
that this is what you are expecting. However it was not what I was
expecting given the documentation.

Script started on Mon 18 Jul 2011 11:53:16 BST
? dig williams.periapt. @127.0.0.3 +tcp

; <<>> DiG 9.7.3 <<>> williams.periapt. @127.0.0.3
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62434
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;williams.periapt.		IN	A

;; ANSWER SECTION:
williams.periapt.	604800	IN	A	192.168.2.8

;; AUTHORITY SECTION:
periapt.		604800	IN	NS	camel.periapt.
periapt.		604800	IN	NS	bishop.periapt.

;; ADDITIONAL SECTION:
camel.periapt.		604800	IN	A	192.168.2.1
bishop.periapt.		604800	IN	A	192.168.2.2

;; Query time: 1 msec
;; SERVER: 127.0.0.3#53(127.0.0.3)
;; WHEN: Mon Jul 18 11:53:17 2011
;; MSG SIZE  rcvd: 123

? dig williams.periapt. @127.0.0.3 +tcp
;; communications error to 127.0.0.3#53: end of file
?
? sudo grep segfault /var/log/syslog
[sudo] password for nicholas:
Jul 18 11:53:19 leonhartsberger kernel: [52431.946000] zoneserver[2863]:
segfault at 4aaa0016 ip 0804bd68 sp bf97e7ac error 4 in
zoneserver[8048000+24000]
? exit

Script done on Mon 18 Jul 2011 11:53:46 BST




More information about the list mailing list