Skip to content

Commit afbf64f

Browse files
committed
Add initial spec for DoH experiment
1 parent 50e5d53 commit afbf64f

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

nettests/ts-023-doh.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Specification version number
2+
3+
0.1.0
4+
5+
# Specification name
6+
7+
DNS over HTTPS Test
8+
9+
# Test preconditions
10+
11+
* An internet connection
12+
13+
# Expected impact
14+
15+
Result of resolving domain names using a specific DoH server.
16+
17+
# Expected inputs
18+
19+
## Import document or import data format
20+
21+
A list of domains for which to perform a DoH resolution.
22+
23+
## Data specification version number
24+
25+
## Semantics
26+
27+
The input document will contain a list of zero or more domains to
28+
resolve using DoH. The following
29+
30+
```
31+
www.google.com
32+
www.facebook.com
33+
```
34+
35+
are all valid entries.
36+
37+
You should also specify the DoH URL to use. We will by default use the
38+
`https://mozilla.cloudflare-dns.com/dns-query` URL, if none is given.
39+
40+
# Test description
41+
42+
For every input domain we perform a DoH resolution.
43+
44+
# Expected output
45+
46+
The key `test_keys` key object will be added to the report.
47+
48+
The `test_keys.failure` scalar will be `null` if there was no error or
49+
a string indicating the error that occurred.
50+
51+
## Example output sample
52+
53+
```
54+
{
55+
"data_format_version": "0.2.1",
56+
"input": "www.google.com",
57+
"measurement_start_time": "2019-10-08 12:04:17",
58+
"test_runtime": 0,
59+
"probe_asn": "AS30722",
60+
"probe_cc": "IT",
61+
"probe_ip": "127.0.0.1",
62+
"report_id": "20191008T120417Z_AS30722_N4ZDqONxMM76DlDnaEyQfu1DNhE5yz7WxmlmnbxYlJb05Qpm0a",
63+
"resolver_ip": "173.194.170.111",
64+
"software_name": "miniooni",
65+
"software_version": "0.1.0-dev",
66+
"test_keys": {
67+
"failure": "",
68+
"url": "https://mozilla.cloudflare-dns.com/dns-query",
69+
"x-addresses": [
70+
"216.58.205.132",
71+
"2a00:1450:4002:808::2004"
72+
]
73+
},
74+
"test_name": "doh",
75+
"test_start_time": "2019-10-08 12:04:17",
76+
"test_version": "0.1.0"
77+
}
78+
```

0 commit comments

Comments
 (0)