DNS-OARC/dnsjit

tcpcli produces the same response, regardless of query

nicki-krizek opened this issue · 0 comments

When using tcpcli, it seems that every response it produces is identical to the first one, regardless of the query sent. The same code works as expected when using udpcli instead.

Example:

dnsjit examples/replay.lua -Rt

query:
id:	742
...
questions:	class	type	labels
	IN	AAAA	<12>www.<16>japonec.<24>eu.
...
response:
id:	742
...
questions:	class	type	labels
	IN	AAAA	<12>www.<16>japonec.<24>eu.
...

query:
id:	33778
...
questions:	class	type	labels
	IN	AAAA	<12>www.<16>canoe42.<24>ca.
...
response:
id:	742
...
questions:	class	type	labels
	IN	AAAA	<12>www.<16>japonec.<24>eu.
...

query:
id:	10831
...
questions:	class	type	labels
	IN	AAAA	<12>ic.<15>mestodobruska.<29>cz.
...
response:
id:	742
...
questions:	class	type	labels
	IN	AAAA	<12>www.<16>japonec.<24>eu.
...