Skip to content

Instantly share code, notes, and snippets.

@tonymet
Last active January 20, 2020 22:04
Show Gist options
  • Save tonymet/bfd85f8c09bb9cfc53e6592c59844658 to your computer and use it in GitHub Desktop.
Save tonymet/bfd85f8c09bb9cfc53e6592c59844658 to your computer and use it in GitHub Desktop.
$ ./dnstrace -c 10 -s 192.168.0.200 -n 100 api.segment.io
Benchmarking 192.168.0.200:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 1000
DNS response codes
NOERROR: 1000
Time taken for tests: 2.079384002s
Questions per second: 480.9
DNS timings, 1000 datapoints
min: 13.1072ms
mean: 19.458424ms
[+/-sd]: 4.433985ms
max: 104.857599ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+--------------+---------------------------------------------+-------+
13.369343ms | | 1
13.893631ms | ▄ | 4
14.417919ms | ▄▄▄▄▄▄ | 21
14.942207ms | ▄▄▄▄▄▄ | 21
15.466495ms | ▄▄▄▄▄▄▄▄▄▄ | 34
15.990783ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 58
16.515071ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 63
17.301503ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 128
18.350079ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 153
19.398655ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 135
20.447231ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 132
21.495807ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 95
22.544383ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 72
23.592959ms | ▄▄▄▄▄▄▄▄▄▄ | 36
24.641535ms | ▄▄▄▄▄ | 19
25.690111ms | ▄▄ | 7
26.738687ms | ▄ | 5
27.787263ms | ▄ | 2
28.835839ms | ▄ | 3
29.884415ms | | 1
30.932991ms | ▄ | 2
31.981567ms | | 1
33.030143ms | | 1
34.603007ms | | 0
36.700159ms | ▄ | 2
38.797311ms | | 0
40.894463ms | | 0
42.991615ms | | 0
45.088767ms | | 0
47.185919ms | ▄ | 2
49.283071ms | | 0
51.380223ms | | 0
53.477375ms | | 0
55.574527ms | | 0
57.671679ms | | 0
59.768831ms | | 0
61.865983ms | | 0
63.963135ms | | 0
66.060287ms | | 0
69.206015ms | | 0
73.400319ms | | 1
77.594623ms | | 0
81.788927ms | | 0
85.983231ms | | 0
90.177535ms | | 0
94.371839ms | | 0
98.566143ms | | 0
102.760447ms | | 1
$ ./dnstrace -c 10 -s 192.168.0.201 -n 100 api.segment.io
Benchmarking 192.168.0.201:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 1000
DNS response codes
NOERROR: 1000
Time taken for tests: 3.567099384s
Questions per second: 280.3
DNS timings, 1000 datapoints
min: 16.777216ms
mean: 35.194929ms
[+/-sd]: 6.302595ms
max: 75.497471ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+-------------+---------------------------------------------+-------+
17.301503ms | | 1
18.350079ms | | 2
19.398655ms | | 1
20.447231ms | ▄ | 6
21.495807ms | | 1
22.544383ms | ▄ | 6
23.592959ms | ▄▄ | 10
24.641535ms | ▄▄ | 11
25.690111ms | ▄▄▄▄▄ | 24
26.738687ms | ▄▄▄▄▄▄▄ | 34
27.787263ms | ▄▄▄▄▄▄ | 30
28.835839ms | ▄▄▄▄▄▄▄▄ | 40
29.884415ms | ▄▄▄▄▄▄▄▄ | 39
30.932991ms | ▄▄▄▄▄▄▄▄▄▄▄ | 52
31.981567ms | ▄▄▄▄▄▄▄▄▄▄ | 49
33.030143ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 67
34.603007ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 130
36.700159ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 211
38.797311ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 150
40.894463ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄ | 65
42.991615ms | ▄▄ | 10
45.088767ms | ▄▄ | 9
47.185919ms | ▄▄▄ | 17
49.283071ms | ▄▄ | 8
51.380223ms | ▄ | 7
53.477375ms | ▄▄ | 10
55.574527ms | | 1
57.671679ms | ▄ | 3
59.768831ms | | 1
61.865983ms | | 0
63.963135ms | | 2
66.060287ms | | 2
69.206015ms | | 0
73.400319ms | | 1
$ ./dnstrace -c 10 -s 192.168.0.200 -n 100 www.amazon.com
Benchmarking 192.168.0.200:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 1000
DNS response codes
NOERROR: 1000
Time taken for tests: 2.199777026s
Questions per second: 454.6
DNS timings, 1000 datapoints
min: 13.631488ms
mean: 21.402746ms
[+/-sd]: 16.714805ms
max: 201.326591ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+--------------+---------------------------------------------+-------+
13.893631ms | ▄ | 3
14.417919ms | ▄▄▄ | 11
14.942207ms | ▄▄▄▄▄ | 21
15.466495ms | ▄▄▄▄▄▄▄▄▄▄ | 38
15.990783ms | ▄▄▄▄▄▄▄▄▄▄▄▄ | 47
16.515071ms | ▄▄▄▄▄▄▄▄▄▄ | 41
17.301503ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 105
18.350079ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 169
19.398655ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 136
20.447231ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 131
21.495807ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 104
22.544383ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 60
23.592959ms | ▄▄▄▄▄▄▄▄▄▄▄ | 45
24.641535ms | ▄▄▄▄▄▄ | 23
25.690111ms | ▄▄▄▄▄ | 18
26.738687ms | ▄▄▄ | 13
27.787263ms | ▄▄ | 8
28.835839ms | ▄ | 3
29.884415ms | ▄ | 5
30.932991ms | | 1
31.981567ms | ▄ | 2
33.030143ms | | 1
34.603007ms | ▄ | 4
36.700159ms | | 0
38.797311ms | | 0
40.894463ms | | 1
42.991615ms | | 0
45.088767ms | | 0
47.185919ms | | 0
49.283071ms | | 0
51.380223ms | | 0
53.477375ms | | 0
55.574527ms | | 0
57.671679ms | | 0
59.768831ms | | 0
61.865983ms | | 0
63.963135ms | | 0
66.060287ms | | 0
69.206015ms | | 0
73.400319ms | | 0
77.594623ms | | 0
81.788927ms | | 0
85.983231ms | | 0
90.177535ms | | 0
94.371839ms | | 0
98.566143ms | | 0
102.760447ms | | 0
106.954751ms | | 0
111.149055ms | | 0
115.343359ms | | 0
119.537663ms | | 0
123.731967ms | | 0
127.926271ms | | 0
132.120575ms | | 0
138.412031ms | | 0
146.800639ms | | 0
155.189247ms | | 0
163.577855ms | | 0
171.966463ms | | 0
180.355071ms | ▄▄ | 6
188.743679ms | ▄ | 3
197.132287ms | | 1
$ ./dnstrace -c 10 -s 192.168.0.201 -n 100 www.amazon.com
Benchmarking 192.168.0.201:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 1000
DNS response codes
NOERROR: 1000
Time taken for tests: 3.109553019s
Questions per second: 321.6
DNS timings, 1000 datapoints
min: 15.72864ms
mean: 29.084352ms
[+/-sd]: 12.850119ms
max: 167.772159ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+--------------+---------------------------------------------+-------+
15.990783ms | | 1
16.515071ms | ▄ | 3
17.301503ms | ▄▄▄▄ | 8
18.350079ms | ▄▄▄▄▄ | 10
19.398655ms | ▄▄▄▄▄▄ | 13
20.447231ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 30
21.495807ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 52
22.544383ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 56
23.592959ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 59
24.641535ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 82
25.690111ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 78
26.738687ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 73
27.787263ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 90
28.835839ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 90
29.884415ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 87
30.932991ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 64
31.981567ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 52
33.030143ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 41
34.603007ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 42
36.700159ms | ▄▄▄▄▄▄▄ | 15
38.797311ms | ▄▄▄▄▄▄▄▄ | 16
40.894463ms | ▄▄▄▄▄▄▄ | 15
42.991615ms | ▄ | 3
45.088767ms | ▄▄ | 4
47.185919ms | ▄ | 2
49.283071ms | | 0
51.380223ms | | 0
53.477375ms | | 0
55.574527ms | | 0
57.671679ms | | 0
59.768831ms | | 0
61.865983ms | | 1
63.963135ms | | 0
66.060287ms | | 0
69.206015ms | | 0
73.400319ms | | 0
77.594623ms | | 0
81.788927ms | | 0
85.983231ms | | 0
90.177535ms | | 0
94.371839ms | | 0
98.566143ms | | 1
102.760447ms | ▄ | 2
106.954751ms | | 0
111.149055ms | | 0
115.343359ms | ▄ | 2
119.537663ms | | 1
123.731967ms | | 0
127.926271ms | ▄ | 2
132.120575ms | | 0
138.412031ms | | 0
146.800639ms | ▄ | 2
155.189247ms | | 1
163.577855ms | ▄ | 2
pi@pizerow:~ $ ./dnstrace -c 10 -s 192.168.0.200 -n 100 www.amazon.com
Benchmarking 192.168.0.200:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 1000
DNS response codes
NOERROR: 1000
Time taken for tests: 2.199777026s
Questions per second: 454.6
DNS timings, 1000 datapoints
min: 13.631488ms
mean: 21.402746ms
[+/-sd]: 16.714805ms
max: 201.326591ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+--------------+---------------------------------------------+-------+
13.893631ms | ▄ | 3
14.417919ms | ▄▄▄ | 11
14.942207ms | ▄▄▄▄▄ | 21
15.466495ms | ▄▄▄▄▄▄▄▄▄▄ | 38
15.990783ms | ▄▄▄▄▄▄▄▄▄▄▄▄ | 47
16.515071ms | ▄▄▄▄▄▄▄▄▄▄ | 41
17.301503ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 105
18.350079ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 169
19.398655ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 136
20.447231ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 131
21.495807ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 104
22.544383ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 60
23.592959ms | ▄▄▄▄▄▄▄▄▄▄▄ | 45
24.641535ms | ▄▄▄▄▄▄ | 23
25.690111ms | ▄▄▄▄▄ | 18
26.738687ms | ▄▄▄ | 13
27.787263ms | ▄▄ | 8
28.835839ms | ▄ | 3
29.884415ms | ▄ | 5
30.932991ms | | 1
31.981567ms | ▄ | 2
33.030143ms | | 1
34.603007ms | ▄ | 4
36.700159ms | | 0
38.797311ms | | 0
40.894463ms | | 1
42.991615ms | | 0
45.088767ms | | 0
47.185919ms | | 0
49.283071ms | | 0
51.380223ms | | 0
53.477375ms | | 0
55.574527ms | | 0
57.671679ms | | 0
59.768831ms | | 0
61.865983ms | | 0
63.963135ms | | 0
66.060287ms | | 0
69.206015ms | | 0
73.400319ms | | 0
77.594623ms | | 0
81.788927ms | | 0
85.983231ms | | 0
90.177535ms | | 0
94.371839ms | | 0
98.566143ms | | 0
102.760447ms | | 0
106.954751ms | | 0
111.149055ms | | 0
115.343359ms | | 0
119.537663ms | | 0
123.731967ms | | 0
127.926271ms | | 0
132.120575ms | | 0
138.412031ms | | 0
146.800639ms | | 0
155.189247ms | | 0
163.577855ms | | 0
171.966463ms | | 0
180.355071ms | ▄▄ | 6
188.743679ms | ▄ | 3
197.132287ms | | 1
pi@pizerow:~ $ ./dnstrace -c 10 -s 192.168.0.201 -n 100 www.amazon.com
Benchmarking 192.168.0.201:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 1000
DNS response codes
NOERROR: 1000
Time taken for tests: 3.109553019s
Questions per second: 321.6
DNS timings, 1000 datapoints
min: 15.72864ms
mean: 29.084352ms
[+/-sd]: 12.850119ms
max: 167.772159ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+--------------+---------------------------------------------+-------+
15.990783ms | | 1
16.515071ms | ▄ | 3
17.301503ms | ▄▄▄▄ | 8
18.350079ms | ▄▄▄▄▄ | 10
19.398655ms | ▄▄▄▄▄▄ | 13
20.447231ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 30
21.495807ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 52
22.544383ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 56
23.592959ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 59
24.641535ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 82
25.690111ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 78
26.738687ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 73
27.787263ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 90
28.835839ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 90
29.884415ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 87
30.932991ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 64
31.981567ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 52
33.030143ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 41
34.603007ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 42
36.700159ms | ▄▄▄▄▄▄▄ | 15
38.797311ms | ▄▄▄▄▄▄▄▄ | 16
40.894463ms | ▄▄▄▄▄▄▄ | 15
42.991615ms | ▄ | 3
45.088767ms | ▄▄ | 4
47.185919ms | ▄ | 2
49.283071ms | | 0
51.380223ms | | 0
53.477375ms | | 0
55.574527ms | | 0
57.671679ms | | 0
59.768831ms | | 0
61.865983ms | | 1
63.963135ms | | 0
66.060287ms | | 0
69.206015ms | | 0
73.400319ms | | 0
77.594623ms | | 0
81.788927ms | | 0
85.983231ms | | 0
90.177535ms | | 0
94.371839ms | | 0
98.566143ms | | 1
102.760447ms | ▄ | 2
106.954751ms | | 0
111.149055ms | | 0
115.343359ms | ▄ | 2
119.537663ms | | 1
123.731967ms | | 0
127.926271ms | ▄ | 2
132.120575ms | | 0
138.412031ms | | 0
146.800639ms | ▄ | 2
155.189247ms | | 1
163.577855ms | ▄ | 2
pi@pizerow:~ $ ./dnstrace -c 10 -s 192.168.0.200 -n 100 api.segment.io
Benchmarking 192.168.0.200:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 1000
DNS response codes
NOERROR: 1000
Time taken for tests: 2.079384002s
Questions per second: 480.9
DNS timings, 1000 datapoints
min: 13.1072ms
mean: 19.458424ms
[+/-sd]: 4.433985ms
max: 104.857599ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+--------------+---------------------------------------------+-------+
13.369343ms | | 1
13.893631ms | ▄ | 4
14.417919ms | ▄▄▄▄▄▄ | 21
14.942207ms | ▄▄▄▄▄▄ | 21
15.466495ms | ▄▄▄▄▄▄▄▄▄▄ | 34
15.990783ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 58
16.515071ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 63
17.301503ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 128
18.350079ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 153
19.398655ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 135
20.447231ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 132
21.495807ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 95
22.544383ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 72
23.592959ms | ▄▄▄▄▄▄▄▄▄▄ | 36
24.641535ms | ▄▄▄▄▄ | 19
25.690111ms | ▄▄ | 7
26.738687ms | ▄ | 5
27.787263ms | ▄ | 2
28.835839ms | ▄ | 3
29.884415ms | | 1
30.932991ms | ▄ | 2
31.981567ms | | 1
33.030143ms | | 1
34.603007ms | | 0
36.700159ms | ▄ | 2
38.797311ms | | 0
40.894463ms | | 0
42.991615ms | | 0
45.088767ms | | 0
47.185919ms | ▄ | 2
49.283071ms | | 0
51.380223ms | | 0
53.477375ms | | 0
55.574527ms | | 0
57.671679ms | | 0
59.768831ms | | 0
61.865983ms | | 0
63.963135ms | | 0
66.060287ms | | 0
69.206015ms | | 0
73.400319ms | | 1
77.594623ms | | 0
81.788927ms | | 0
85.983231ms | | 0
90.177535ms | | 0
94.371839ms | | 0
98.566143ms | | 0
102.760447ms | | 1
pi@pizerow:~ $ ./dnstrace -c 10 -s 192.168.0.201 -n 100 api.segment.io
Benchmarking 192.168.0.201:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 1000
DNS response codes
NOERROR: 1000
Time taken for tests: 3.567099384s
Questions per second: 280.3
DNS timings, 1000 datapoints
min: 16.777216ms
mean: 35.194929ms
[+/-sd]: 6.302595ms
max: 75.497471ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+-------------+---------------------------------------------+-------+
17.301503ms | | 1
18.350079ms | | 2
19.398655ms | | 1
20.447231ms | ▄ | 6
21.495807ms | | 1
22.544383ms | ▄ | 6
23.592959ms | ▄▄ | 10
24.641535ms | ▄▄ | 11
25.690111ms | ▄▄▄▄▄ | 24
26.738687ms | ▄▄▄▄▄▄▄ | 34
27.787263ms | ▄▄▄▄▄▄ | 30
28.835839ms | ▄▄▄▄▄▄▄▄ | 40
29.884415ms | ▄▄▄▄▄▄▄▄ | 39
30.932991ms | ▄▄▄▄▄▄▄▄▄▄▄ | 52
31.981567ms | ▄▄▄▄▄▄▄▄▄▄ | 49
33.030143ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 67
34.603007ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 130
36.700159ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 211
38.797311ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 150
40.894463ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄ | 65
42.991615ms | ▄▄ | 10
45.088767ms | ▄▄ | 9
47.185919ms | ▄▄▄ | 17
49.283071ms | ▄▄ | 8
51.380223ms | ▄ | 7
53.477375ms | ▄▄ | 10
55.574527ms | | 1
57.671679ms | ▄ | 3
59.768831ms | | 1
61.865983ms | | 0
63.963135ms | | 2
66.060287ms | | 2
69.206015ms | | 0
73.400319ms | | 1
pi@pizerow:~ $
go run dnstrace.go -c 10 -s 192.168.0.200 -n 100 www.doubleclick.net
Benchmarking 192.168.0.200:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
Connection errors: 0
Read/Write errors: 3
DNS success codes: 0
DNS response codes
SERVFAIL: 997
Time taken for tests: 8.292225392s
Questions per second: 120.6
DNS timings, 997 datapoints
min: 16.252928ms
mean: 38.372412ms
[+/-sd]: 23.097544ms
max: 385.875967ms
DNS distribution, 997 datapoints
LATENCY | | COUNT
+--------------+---------------------------------------------+-------+
16.515071ms | | 2
17.301503ms | ▄▄ | 8
18.350079ms | ▄▄▄ | 14
19.398655ms | ▄ | 7
20.447231ms | ▄▄▄▄ | 20
21.495807ms | ▄▄ | 9
22.544383ms | ▄▄ | 9
23.592959ms | ▄▄▄ | 14
24.641535ms | ▄▄ | 12
25.690111ms | ▄ | 4
26.738687ms | | 1
27.787263ms | | 0
28.835839ms | | 1
29.884415ms | | 2
30.932991ms | ▄▄▄ | 14
31.981567ms | ▄▄▄▄▄▄ | 30
33.030143ms | ▄▄▄▄▄▄▄▄▄▄ | 52
34.603007ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 156
36.700159ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 175
38.797311ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 226
40.894463ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 96
42.991615ms | ▄▄▄▄▄▄▄▄▄▄▄ | 60
45.088767ms | ▄▄▄▄▄▄ | 33
47.185919ms | ▄▄▄▄ | 19
49.283071ms | ▄ | 6
51.380223ms | ▄▄ | 10
53.477375ms | | 1
55.574527ms | | 2
57.671679ms | ▄ | 4
59.768831ms | | 1
61.865983ms | | 0
63.963135ms | | 0
66.060287ms | | 1
69.206015ms | | 0
73.400319ms | | 0
77.594623ms | | 0
81.788927ms | | 0
85.983231ms | | 0
90.177535ms | | 0
94.371839ms | | 0
98.566143ms | | 0
102.760447ms | | 0
106.954751ms | | 0
111.149055ms | | 0
115.343359ms | | 0
119.537663ms | | 0
123.731967ms | | 0
127.926271ms | | 0
132.120575ms | | 1
138.412031ms | | 0
146.800639ms | | 0
155.189247ms | | 0
163.577855ms | | 1
171.966463ms | | 0
180.355071ms | | 0
188.743679ms | | 1
197.132287ms | | 0
205.520895ms | | 0
213.909503ms | | 1
222.298111ms | | 0
230.686719ms | | 0
239.075327ms | | 0
247.463935ms | | 0
255.852543ms | | 0
264.241151ms | | 0
276.824063ms | | 0
293.601279ms | | 0
310.378495ms | | 0
327.155711ms | | 1
343.932927ms | | 1
360.710143ms | | 0
377.487359ms | | 2
$ go run dnstrace.go -c 10 -s 192.168.0.201 -n 100 www.doubleclick.net
Benchmarking 192.168.0.201:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
DNS success codes: 0
DNS response codes
SERVFAIL: 1000
Time taken for tests: 4.078209576s
Questions per second: 245.2
DNS timings, 1000 datapoints
min: 19.922944ms
mean: 40.043544ms
[+/-sd]: 7.762346ms
max: 71.303167ms
DNS distribution, 1000 datapoints
LATENCY | | COUNT
+-------------+---------------------------------------------+-------+
20.447231ms | ▄ | 4
21.495807ms | ▄ | 3
22.544383ms | ▄▄ | 6
23.592959ms | ▄▄▄ | 10
24.641535ms | ▄▄▄▄▄ | 20
25.690111ms | ▄▄▄▄▄▄ | 24
26.738687ms | ▄▄▄▄▄▄▄ | 27
27.787263ms | ▄▄▄▄▄▄▄ | 26
28.835839ms | ▄▄▄▄▄ | 18
29.884415ms | ▄▄▄▄ | 17
30.932991ms | ▄▄▄▄▄▄ | 23
31.981567ms | ▄▄▄▄▄▄ | 23
33.030143ms | ▄▄▄▄ | 16
34.603007ms | ▄▄▄▄▄▄▄▄ | 33
36.700159ms | ▄▄▄▄▄▄▄▄▄▄▄ | 44
38.797311ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 90
40.894463ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 133
42.991615ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 142
45.088767ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 171
47.185919ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 86
49.283071ms | ▄▄▄▄▄▄▄▄▄▄ | 40
51.380223ms | ▄▄▄▄ | 17
53.477375ms | ▄▄▄ | 10
55.574527ms | ▄ | 4
57.671679ms | ▄ | 4
59.768831ms | | 1
61.865983ms | ▄ | 3
63.963135ms | | 1
66.060287ms | ▄ | 3
69.206015ms | | 1
$ go run dnstrace.go -c 10 -s 192.168.0.200 -n 100 www.amazon.com
Benchmarking 192.168.0.200:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
Connection errors: 0
Read/Write errors: 3
DNS success codes: 997
DNS response codes
NOERROR: 997
Time taken for tests: 5.850924196s
Questions per second: 170.9
DNS timings, 997 datapoints
min: 13.1072ms
mean: 19.527493ms
[+/-sd]: 12.101107ms
max: 142.606335ms
DNS distribution, 997 datapoints
LATENCY | | COUNT
+--------------+---------------------------------------------+-------+
13.369343ms | ▄ | 3
13.893631ms | ▄▄ | 7
14.417919ms | ▄▄▄▄▄▄▄ | 25
14.942207ms | ▄▄▄▄▄▄▄▄▄▄▄ | 42
15.466495ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 106
15.990783ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 87
16.515071ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 102
17.301503ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 159
18.350079ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 113
19.398655ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 118
20.447231ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 101
21.495807ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 53
22.544383ms | ▄▄▄▄▄▄ | 23
23.592959ms | ▄▄▄ | 11
24.641535ms | ▄▄ | 6
25.690111ms | ▄▄ | 6
26.738687ms | ▄▄ | 6
27.787263ms | ▄ | 3
28.835839ms | | 1
29.884415ms | ▄ | 5
30.932991ms | | 1
31.981567ms | | 0
33.030143ms | ▄ | 2
34.603007ms | | 0
36.700159ms | ▄ | 2
38.797311ms | | 1
40.894463ms | | 1
42.991615ms | | 0
45.088767ms | | 0
47.185919ms | | 0
49.283071ms | | 0
51.380223ms | | 0
53.477375ms | | 0
55.574527ms | | 0
57.671679ms | | 0
59.768831ms | | 0
61.865983ms | | 0
63.963135ms | | 0
66.060287ms | | 0
69.206015ms | | 0
73.400319ms | | 0
77.594623ms | | 1
81.788927ms | | 0
85.983231ms | | 0
90.177535ms | | 0
94.371839ms | | 1
98.566143ms | | 0
102.760447ms | | 1
106.954751ms | | 0
111.149055ms | | 1
115.343359ms | | 1
119.537663ms | | 1
123.731967ms | | 1
127.926271ms | | 1
132.120575ms | | 1
138.412031ms | ▄ | 4
go run dnstrace.go -c 10 -s 192.168.0.201 -n 100 www.amazon.com
Benchmarking 192.168.0.201:53 via udp with 10 conncurrent requests
Total requests: 1000 of 1000 (100.0%)
Connection errors: 0
Read/Write errors: 1
DNS success codes: 999
DNS response codes
NOERROR: 999
Time taken for tests: 6.995302711s
Questions per second: 143.0
DNS timings, 999 datapoints
min: 16.252928ms
mean: 30.097752ms
[+/-sd]: 5.005948ms
max: 88.080383ms
DNS distribution, 999 datapoints
LATENCY | | COUNT
+-------------+---------------------------------------------+-------+
16.515071ms | | 1
17.301503ms | | 1
18.350079ms | ▄ | 2
19.398655ms | | 1
20.447231ms | ▄▄ | 7
21.495807ms | ▄▄▄▄▄▄ | 18
22.544383ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄ | 41
23.592959ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 43
24.641535ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄ | 39
25.690111ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 63
26.738687ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 60
27.787263ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 71
28.835839ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 80
29.884415ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 85
30.932991ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 100
31.981567ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 94
33.030143ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 79
34.603007ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 134
36.700159ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 54
38.797311ms | ▄▄▄ | 9
40.894463ms | | 1
42.991615ms | ▄▄ | 6
45.088767ms | | 1
47.185919ms | ▄ | 4
49.283071ms | ▄ | 3
51.380223ms | | 0
53.477375ms | | 0
55.574527ms | | 0
57.671679ms | | 0
59.768831ms | | 0
61.865983ms | | 1
63.963135ms | | 0
66.060287ms | | 0
69.206015ms | | 0
73.400319ms | | 0
77.594623ms | | 0
81.788927ms | | 0
85.983231ms | | 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment