Skip to content

Commit 682b261

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

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

nettests/ts-023-doh.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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. We will be querying
43+
for A, AAAA, and CNAME DNS records.
44+
45+
# Expected output
46+
47+
The key `test_keys` key object will be added to the report.
48+
49+
The `test_keys.failure` scalar will be `null` if there was no error or
50+
a string indicating the error that occurred.
51+
52+
## Example output sample
53+
54+
```
55+
{
56+
"data_format_version": "0.2.1",
57+
"input": "www.google.com",
58+
"measurement_start_time": "2019-10-08 12:04:17",
59+
"test_runtime": 0,
60+
"probe_asn": "AS30722",
61+
"probe_cc": "IT",
62+
"probe_ip": "127.0.0.1",
63+
"report_id": "20191008T120417Z_AS30722_N4ZDqONxMM76DlDnaEyQfu1DNhE5yz7WxmlmnbxYlJb05Qpm0a",
64+
"resolver_ip": "173.194.170.111",
65+
"software_name": "miniooni",
66+
"software_version": "0.1.0-dev",
67+
"test_keys": {
68+
"failure": "",
69+
"url": "https://mozilla.cloudflare-dns.com/dns-query",
70+
"x-addresses": [
71+
"216.58.205.132",
72+
"2a00:1450:4002:808::2004"
73+
]
74+
},
75+
"test_name": "doh",
76+
"test_start_time": "2019-10-08 12:04:17",
77+
"test_version": "0.1.0"
78+
}
79+
```

0 commit comments

Comments
 (0)