Bob Rudis 3 år sedan
förälder
incheckning
3db61f760b

+ 434
- 0
docs/index.html Visa fil

@@ -0,0 +1,434 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>Home. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="pkgdown.css" rel="stylesheet">
25
+<script src="pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="row">
72
+  <div class="col-md-9">
73
+    
74
+<p><a href="https://travis-ci.org/hrbrmstr/gdns"><img src="https://travis-ci.org/hrbrmstr/gdns.svg?branch=master" alt="Travis-CI Build Status"></a></p>
75
+<p><code>gdns</code> : Tools to work with the Google DNS over HTTPS API</p>
76
+<p>Traditional DNS queries and responses are sent over UDP or TCP without encryption. This is vulnerable to eavesdropping and spoofing (including DNS-based Internet filtering). Responses from recursive resolvers to clients are the most vulnerable to undesired or malicious changes, while communications between recursive resolvers and authoritative nameservers often incorporate additional protection.</p>
77
+<p>To address this problem, Google Public DNS offers DNS resolution over an encrypted HTTPS connection. DNS-over-HTTPS greatly enhances privacy and security between a client and a recursive resolver, and complements DNSSEC to provide end-to-end authenticated DNS lookups.</p>
78
+<p>More info at <a href="https://developers.google.com/speed/public-dns/docs/dns-over-https" class="uri">https://developers.google.com/speed/public-dns/docs/dns-over-https</a>.</p>
79
+<p>The following functions are implemented:</p>
80
+<ul>
81
+<li>
82
+<code>bulk_query</code>: Vectorized query, returning only answers in a data frame</li>
83
+<li>
84
+<code>has_spf</code>: Test for whether a DNS TXT record is an SPF record</li>
85
+<li>
86
+<code>is_hard_fail</code>: SPF &ldquo;all&rdquo; type test</li>
87
+<li>
88
+<code>is_soft_fail</code>: SPF &ldquo;all&rdquo; type test</li>
89
+<li>
90
+<code>passes_all</code>: SPF &ldquo;all&rdquo; type test</li>
91
+<li>
92
+<code>query</code>: Perform DNS over HTTPS queries using Google</li>
93
+<li>
94
+<code>spf_exists</code>: SPF field extraction functions</li>
95
+<li>
96
+<code>spf_includes</code>: SPF field extraction functions</li>
97
+<li>
98
+<code>spf_ipv4s</code>: SPF field extraction functions</li>
99
+<li>
100
+<code>spf_ipv6s</code>: SPF field extraction functions</li>
101
+<li>
102
+<code>spf_ptrs</code>: SPF field extraction functions</li>
103
+<li>
104
+<code>split_spf</code>: Split out all SPF records in a domain&rsquo;s TXT record</li>
105
+</ul>
106
+<h3 id="installation">Installation</h3>
107
+<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">devtools::<span class="kw">install_github</span>(<span class="st">"hrbrmstr/gdns"</span>)</code></pre></div>
108
+<h3 id="usage">Usage</h3>
109
+<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(gdns)
110
+
111
+<span class="co"># current verison</span>
112
+<span class="kw">packageVersion</span>(<span class="st">"gdns"</span>)
113
+<span class="co">#&gt; [1] '0.2.0.9000'</span>
114
+
115
+<span class="kw"><a href="reference/query.html">query</a></span>(<span class="st">"rud.is"</span>)
116
+<span class="co">#&gt; $Status</span>
117
+<span class="co">#&gt; [1] 0</span>
118
+<span class="co">#&gt; </span>
119
+<span class="co">#&gt; $TC</span>
120
+<span class="co">#&gt; [1] FALSE</span>
121
+<span class="co">#&gt; </span>
122
+<span class="co">#&gt; $RD</span>
123
+<span class="co">#&gt; [1] TRUE</span>
124
+<span class="co">#&gt; </span>
125
+<span class="co">#&gt; $RA</span>
126
+<span class="co">#&gt; [1] TRUE</span>
127
+<span class="co">#&gt; </span>
128
+<span class="co">#&gt; $AD</span>
129
+<span class="co">#&gt; [1] FALSE</span>
130
+<span class="co">#&gt; </span>
131
+<span class="co">#&gt; $CD</span>
132
+<span class="co">#&gt; [1] FALSE</span>
133
+<span class="co">#&gt; </span>
134
+<span class="co">#&gt; $Question</span>
135
+<span class="co">#&gt;      name type</span>
136
+<span class="co">#&gt; 1 rud.is.    1</span>
137
+<span class="co">#&gt; </span>
138
+<span class="co">#&gt; $Answer</span>
139
+<span class="co">#&gt;      name type  TTL            data</span>
140
+<span class="co">#&gt; 1 rud.is.    1 3599 104.236.112.222</span>
141
+<span class="co">#&gt; </span>
142
+<span class="co">#&gt; $Additional</span>
143
+<span class="co">#&gt; list()</span>
144
+<span class="co">#&gt; </span>
145
+<span class="co">#&gt; $edns_client_subnet</span>
146
+<span class="co">#&gt; [1] "0.0.0.0/0"</span>
147
+<span class="co">#&gt; </span>
148
+<span class="co">#&gt; $Comment</span>
149
+<span class="co">#&gt; [1] "Response from dns.mwebdns.net.(84.246.124.75)"</span>
150
+
151
+<span class="kw"><a href="reference/query.html">query</a></span>(<span class="st">"example.com"</span>, <span class="st">"255"</span>) <span class="co"># "ANY" query</span>
152
+<span class="co">#&gt; $Status</span>
153
+<span class="co">#&gt; [1] 0</span>
154
+<span class="co">#&gt; </span>
155
+<span class="co">#&gt; $TC</span>
156
+<span class="co">#&gt; [1] FALSE</span>
157
+<span class="co">#&gt; </span>
158
+<span class="co">#&gt; $RD</span>
159
+<span class="co">#&gt; [1] TRUE</span>
160
+<span class="co">#&gt; </span>
161
+<span class="co">#&gt; $RA</span>
162
+<span class="co">#&gt; [1] TRUE</span>
163
+<span class="co">#&gt; </span>
164
+<span class="co">#&gt; $AD</span>
165
+<span class="co">#&gt; [1] TRUE</span>
166
+<span class="co">#&gt; </span>
167
+<span class="co">#&gt; $CD</span>
168
+<span class="co">#&gt; [1] FALSE</span>
169
+<span class="co">#&gt; </span>
170
+<span class="co">#&gt; $Question</span>
171
+<span class="co">#&gt;           name type</span>
172
+<span class="co">#&gt; 1 example.com.  255</span>
173
+<span class="co">#&gt; </span>
174
+<span class="co">#&gt; $Answer</span>
175
+<span class="co">#&gt;            name type   TTL</span>
176
+<span class="co">#&gt; 1  example.com.    6  3599</span>
177
+<span class="co">#&gt; 2  example.com.   46 21599</span>
178
+<span class="co">#&gt; 3  example.com.   46 21599</span>
179
+<span class="co">#&gt; 4  example.com.   46  3599</span>
180
+<span class="co">#&gt; 5  example.com.   46    59</span>
181
+<span class="co">#&gt; 6  example.com.   46 21599</span>
182
+<span class="co">#&gt; 7  example.com.   46  3599</span>
183
+<span class="co">#&gt; 8  example.com.   46  3599</span>
184
+<span class="co">#&gt; 9  example.com.   46  3599</span>
185
+<span class="co">#&gt; 10 example.com.   47  3599</span>
186
+<span class="co">#&gt; 11 example.com.    2 21599</span>
187
+<span class="co">#&gt; 12 example.com.    2 21599</span>
188
+<span class="co">#&gt; 13 example.com.   28 21599</span>
189
+<span class="co">#&gt; 14 example.com.    1 21599</span>
190
+<span class="co">#&gt; 15 example.com.   16    59</span>
191
+<span class="co">#&gt; 16 example.com.   16    59</span>
192
+<span class="co">#&gt; 17 example.com.   48  3599</span>
193
+<span class="co">#&gt; 18 example.com.   48  3599</span>
194
+<span class="co">#&gt; 19 example.com.   48  3599</span>
195
+<span class="co">#&gt;                                                                                                                                                                                                                                                                                                                                                                                                                 data</span>
196
+<span class="co">#&gt; 1                                                                                                                                                                                                                                                                                                                                            sns.dns.icann.org. noc.dns.icann.org. 2015082662 7200 3600 1209600 3600</span>
197
+<span class="co">#&gt; 2                                                                                                                                                                               a 8 2 86400 1476095331 1474297785 1704 example.com. OnhJa3/aHkvePBvBME3nlZrkU/rdenyaquFgSYI/wKPq2/ZJVZGhv0TVBMJ5l6GZujqnyBfq9cvvb88//koi17oNjR5JEv2cv4rLT5pud3VhQdVrHD7fU8BV/YnCpP3ikXJMgjf6sAhgL7FZKLtpv7cFXnqznfRCTZ3HKkpBtAB0ZZw=</span>
198
+<span class="co">#&gt; 3                                                                                                                                                                              ns 8 2 86400 1476218628 1474362585 1704 example.com. dxPw4KtqLRMR/P1MB7umTClO/Tgf5X2ukJApKd133OMPhsy7c2N3QIxW4TLxZnCezUewDE1D86HBnGi1kGw4pN4W83lI37L6pTjIkDUtrc1acISOwg9Q9JM74On9/qKTGpTi7aSGVA5t4biLKqPm00a1Yu/VNPOxeLQPyYNjUYspNZ8=</span>
199
+<span class="co">#&gt; 4                                                                                                                                                                              soa 8 2 3600 1476508736 1474722585 1704 example.com. rHojLwiWn5xVU8noy1se7gRjiNI6GJdDcxwO1GU1qUs3Un4y7LyENjrK8qOv2z6EhblBOhPnrgnNMzEPPH3w+5azpU6xAH+jJHO4tExj4Pc3zzQ1sfFx1k8xWPfJjiWnUtUsk19y8vVqHvLXltvVItXlCClzljA0XyNUi1fvYjHbQxI=</span>
200
+<span class="co">#&gt; 5                                                                                                                                                                                txt 8 2 60 1476051975 1474218584 1704 example.com. FBZiE56Ux4VY5AMVtgitLIBWi+UteNSFh4BWwJksVRRt/7OoH7iD6h4UDqP8rNbk9qvXmRo4Ce2vROCbNkdTy/IDEoKo+Urfm69TuI2UTbl/nnQ2UtfMIEC83yywYRWdra5BPkt67SQhHSc4N7QHblABFbm2jPuu2+uOqaRCpfeoWYo=</span>
201
+<span class="co">#&gt; 6                                                                                                                                                                            aaaa 8 2 86400 1475967038 1474146584 1704 example.com. ZQgPaEBxSxHCPhOES76xksqOVYSRtNIieIwTwIo4Oceq0NGzjOyI+8wrgs79QHqs4e5SRe67hVX2rSaJ9Q167+TuQz57ZtyqeOZ+x+cgULyT1Q+8N0ZJlHpZS4i2VfR1xT+quG+0m9wtye8wA3Hl2mWPyTjtsH7mjoS7/U/ZQMJwi44=</span>
202
+<span class="co">#&gt; 7                                                                                                                                                                             nsec 8 2 3600 1475694918 1473887384 1704 example.com. XTCfotH8+cSDgNrFnCNWt4lx64yTnVzwOMZsFgynNSGS5LzY0VfRl7UvTH2WDVzdsIHgKpPBOUwv/DvjNhAMzUgHFlaK/A+U1aFa16/YQkqkIqqfnCA4EgBdhIK4FM3dSIVcpaj3PhGFKvMG4RBvoMAWLRXE3gKf3306CJzX1sfKdsA=</span>
203
+<span class="co">#&gt; 8  dnskey 8 2 3600 1476561735 1474722585 31406 example.com. Oup7snCR/5iUmTuGyHfCfFCisTeqaJ8RHD6aE9wZQR2CCkKZHXO9dzfUL1gA6T35p4T0XeM+TMlv1uZhX157RnanPwyZluancmm5cNz5ub0vG7G/O4DxnSoLmATYoBJ7Ub9Ul4iWFUE7nvyJ23X2MhX6XTiplXYPnztiem6rJLV84JiemoKtvapWchRhFi4w4Y+BdjHfY7IRERjQYNhVuaus5+EeppIoot9srsj2suXePGC7dE0R8z9K/BTYvQi76kBlJzzF9fNNy5JvyZPEUpXATuRD7KfxBsWHaFajOnYOb1eDAL/C0H3hhjVBov2Pexp7YDIsJzIa2g8850LruQ==</span>
204
+<span class="co">#&gt; 9  dnskey 8 2 3600 1476561735 1474722585 45620 example.com. f+aO6V+QKA4XgTC0Vqow59jBP/NlX6f7EEbaoXts0lp7Vaj/DBrhnS/sT4BbJb3VK1MvuPmNre5t0eyOeNCjbjrwIM2uf41GFuBI0AFxQx7o2PIdf1vrXsDnUGsZrMkYMv4gr802S7MXsvMdMN5cM0AA5Zol888sLP1yrHIcfNxG8hoUn3dS0L6nd/OxkL70+NjHBTjBQLqkLsK92ryJ0CWrzcJElszBRqfQfYGV/sJ84Ko4tjnBqRuki/rmTW5KQYdE7NI+MvERtGnep7RHb02Luk7BFPPD3uh353EYSAOVHrMH4fte6mJGcj3vxErfSWakRUXQpovLNcqYZNxoGQ==</span>
205
+<span class="co">#&gt; 10                                                                                                                                                                                                                                                                                                                                                              www.example.com. A NS SOA TXT AAAA RRSIG NSEC DNSKEY</span>
206
+<span class="co">#&gt; 11                                                                                                                                                                                                                                                                                                                                                                                               a.iana-servers.net.</span>
207
+<span class="co">#&gt; 12                                                                                                                                                                                                                                                                                                                                                                                               b.iana-servers.net.</span>
208
+<span class="co">#&gt; 13                                                                                                                                                                                                                                                                                                                                                                                2606:2800:220:1:248:1893:25c8:1946</span>
209
+<span class="co">#&gt; 14                                                                                                                                                                                                                                                                                                                                                                                                     93.184.216.34</span>
210
+<span class="co">#&gt; 15                                                                                                                                                                                                                                                                                                                                                                                                     "v=spf1 -all"</span>
211
+<span class="co">#&gt; 16                                                                                                                                                                                                                                                                                                                                                             "$Id: example.com 4415 2015-08-24 20:12:23Z davids $"</span>
212
+<span class="co">#&gt; 17                                                                                                                                                                                                                      256 3 8 AwEAAa3d68DfyIs03nGYpi3a9YX+f/wln3g6dhWWzjUUqp6CGXuaOdEHfS8zI/5JdGKi8Xoc4YmjPGfiCJIkCiQnMKn/QFygpZs41ANLdPp2jJlJhFA6IHE/xxTCxJfNhsdEAOGlMORN9Zu1XLUBo/IuCDUvUzZPgalivd/m9L+Jr4kxbg3v</span>
213
+<span class="co">#&gt; 18                                              257 3 8 AwEAAZ0aqu1rJ6orJynrRfNpPmayJZoAx9Ic2/Rl9VQWLMHyjxxem3VUSoNUIFXERQbj0A9Ogp0zDM9YIccKLRd6LmWiDCt7UJQxVdD+heb5Ec4qlqGmyX9MDabkvX2NvMwsUecbYBq8oXeTT9LRmCUt9KUt/WOi6DKECxoG/bWTykrXyBR8elD+SQY43OAVjlWrVltHxgp4/rhBCvRbmdflunaPIgu27eE2U4myDSLT8a4A0rB5uHG4PkOa9dIRs9y00M2mWf4lyPee7vi5few2dbayHXmieGcaAHrx76NGAABeY393xjlmDNcUkF1gpNWUla4fWZbbaYQzA93mLdrng+M=</span>
214
+<span class="co">#&gt; 19                                              257 3 8 AwEAAbOFAxl+Lkt0UMglZizKEC1AxUu8zlj65KYatR5wBWMrh18TYzK/ig6Y1t5YTWCO68bynorpNu9fqNFALX7bVl9/gybA0v0EhF+dgXmoUfRX7ksMGgBvtfa2/Y9a3klXNLqkTszIQ4PEMVCjtryl19Be9/PkFeC9ITjgMRQsQhmB39eyMYnal+f3bUxKk4fq7cuEU0dbRpue4H/N6jPucXWOwiMAkTJhghqgy+o9FfIp+tR/emKao94/wpVXDcPf5B18j7xz2SvTTxiuqCzCMtsxnikZHcoh1j4g+Y1B8zIMIvrEM+pZGhh/Yuf4RwCBgaYCi9hpiMWVvS4WBzx0/lU=</span>
215
+<span class="co">#&gt; </span>
216
+<span class="co">#&gt; $Additional</span>
217
+<span class="co">#&gt; list()</span>
218
+<span class="co">#&gt; </span>
219
+<span class="co">#&gt; $edns_client_subnet</span>
220
+<span class="co">#&gt; [1] "0.0.0.0/0"</span>
221
+<span class="co">#&gt; </span>
222
+<span class="co">#&gt; $Comment</span>
223
+<span class="co">#&gt; [1] "Response from 199.43.135.53"</span>
224
+
225
+<span class="kw"><a href="reference/query.html">query</a></span>(<span class="st">"microsoft.com"</span>, <span class="st">"MX"</span>)
226
+<span class="co">#&gt; $Status</span>
227
+<span class="co">#&gt; [1] 0</span>
228
+<span class="co">#&gt; </span>
229
+<span class="co">#&gt; $TC</span>
230
+<span class="co">#&gt; [1] FALSE</span>
231
+<span class="co">#&gt; </span>
232
+<span class="co">#&gt; $RD</span>
233
+<span class="co">#&gt; [1] TRUE</span>
234
+<span class="co">#&gt; </span>
235
+<span class="co">#&gt; $RA</span>
236
+<span class="co">#&gt; [1] TRUE</span>
237
+<span class="co">#&gt; </span>
238
+<span class="co">#&gt; $AD</span>
239
+<span class="co">#&gt; [1] FALSE</span>
240
+<span class="co">#&gt; </span>
241
+<span class="co">#&gt; $CD</span>
242
+<span class="co">#&gt; [1] FALSE</span>
243
+<span class="co">#&gt; </span>
244
+<span class="co">#&gt; $Question</span>
245
+<span class="co">#&gt;             name type</span>
246
+<span class="co">#&gt; 1 microsoft.com.   15</span>
247
+<span class="co">#&gt; </span>
248
+<span class="co">#&gt; $Answer</span>
249
+<span class="co">#&gt;             name type  TTL                                          data</span>
250
+<span class="co">#&gt; 1 microsoft.com.   15 1509 10 microsoft-com.mail.protection.outlook.com.</span>
251
+<span class="co">#&gt; </span>
252
+<span class="co">#&gt; $Additional</span>
253
+<span class="co">#&gt; list()</span>
254
+<span class="co">#&gt; </span>
255
+<span class="co">#&gt; $edns_client_subnet</span>
256
+<span class="co">#&gt; [1] "0.0.0.0/0"</span>
257
+
258
+<span class="kw"><a href="reference/query.html">query</a></span>(<span class="st">"google-public-dns-a.google.com"</span>, <span class="st">"TXT"</span>)
259
+<span class="co">#&gt; $Status</span>
260
+<span class="co">#&gt; [1] 0</span>
261
+<span class="co">#&gt; </span>
262
+<span class="co">#&gt; $TC</span>
263
+<span class="co">#&gt; [1] FALSE</span>
264
+<span class="co">#&gt; </span>
265
+<span class="co">#&gt; $RD</span>
266
+<span class="co">#&gt; [1] TRUE</span>
267
+<span class="co">#&gt; </span>
268
+<span class="co">#&gt; $RA</span>
269
+<span class="co">#&gt; [1] TRUE</span>
270
+<span class="co">#&gt; </span>
271
+<span class="co">#&gt; $AD</span>
272
+<span class="co">#&gt; [1] FALSE</span>
273
+<span class="co">#&gt; </span>
274
+<span class="co">#&gt; $CD</span>
275
+<span class="co">#&gt; [1] FALSE</span>
276
+<span class="co">#&gt; </span>
277
+<span class="co">#&gt; $Question</span>
278
+<span class="co">#&gt;                              name type</span>
279
+<span class="co">#&gt; 1 google-public-dns-a.google.com.   16</span>
280
+<span class="co">#&gt; </span>
281
+<span class="co">#&gt; $Answer</span>
282
+<span class="co">#&gt;                              name type   TTL                    data</span>
283
+<span class="co">#&gt; 1 google-public-dns-a.google.com.   16 21599 "http://xkcd.com/1361/"</span>
284
+<span class="co">#&gt; </span>
285
+<span class="co">#&gt; $Additional</span>
286
+<span class="co">#&gt; list()</span>
287
+<span class="co">#&gt; </span>
288
+<span class="co">#&gt; $edns_client_subnet</span>
289
+<span class="co">#&gt; [1] "0.0.0.0/0"</span>
290
+<span class="co">#&gt; </span>
291
+<span class="co">#&gt; $Comment</span>
292
+<span class="co">#&gt; [1] "Response from 216.239.36.10"</span>
293
+
294
+<span class="kw"><a href="reference/query.html">query</a></span>(<span class="st">"apple.com"</span>)
295
+<span class="co">#&gt; $Status</span>
296
+<span class="co">#&gt; [1] 0</span>
297
+<span class="co">#&gt; </span>
298
+<span class="co">#&gt; $TC</span>
299
+<span class="co">#&gt; [1] FALSE</span>
300
+<span class="co">#&gt; </span>
301
+<span class="co">#&gt; $RD</span>
302
+<span class="co">#&gt; [1] TRUE</span>
303
+<span class="co">#&gt; </span>
304
+<span class="co">#&gt; $RA</span>
305
+<span class="co">#&gt; [1] TRUE</span>
306
+<span class="co">#&gt; </span>
307
+<span class="co">#&gt; $AD</span>
308
+<span class="co">#&gt; [1] FALSE</span>
309
+<span class="co">#&gt; </span>
310
+<span class="co">#&gt; $CD</span>
311
+<span class="co">#&gt; [1] FALSE</span>
312
+<span class="co">#&gt; </span>
313
+<span class="co">#&gt; $Question</span>
314
+<span class="co">#&gt;         name type</span>
315
+<span class="co">#&gt; 1 apple.com.    1</span>
316
+<span class="co">#&gt; </span>
317
+<span class="co">#&gt; $Answer</span>
318
+<span class="co">#&gt;         name type  TTL          data</span>
319
+<span class="co">#&gt; 1 apple.com.    1 3413 17.172.224.47</span>
320
+<span class="co">#&gt; 2 apple.com.    1 3413  17.178.96.59</span>
321
+<span class="co">#&gt; 3 apple.com.    1 3413 17.142.160.59</span>
322
+<span class="co">#&gt; </span>
323
+<span class="co">#&gt; $Additional</span>
324
+<span class="co">#&gt; list()</span>
325
+<span class="co">#&gt; </span>
326
+<span class="co">#&gt; $edns_client_subnet</span>
327
+<span class="co">#&gt; [1] "0.0.0.0/0"</span>
328
+
329
+<span class="kw"><a href="reference/query.html">query</a></span>(<span class="st">"17.142.160.59"</span>, <span class="st">"PTR"</span>)
330
+<span class="co">#&gt; $Status</span>
331
+<span class="co">#&gt; [1] 0</span>
332
+<span class="co">#&gt; </span>
333
+<span class="co">#&gt; $TC</span>
334
+<span class="co">#&gt; [1] FALSE</span>
335
+<span class="co">#&gt; </span>
336
+<span class="co">#&gt; $RD</span>
337
+<span class="co">#&gt; [1] TRUE</span>
338
+<span class="co">#&gt; </span>
339
+<span class="co">#&gt; $RA</span>
340
+<span class="co">#&gt; [1] TRUE</span>
341
+<span class="co">#&gt; </span>
342
+<span class="co">#&gt; $AD</span>
343
+<span class="co">#&gt; [1] FALSE</span>
344
+<span class="co">#&gt; </span>
345
+<span class="co">#&gt; $CD</span>
346
+<span class="co">#&gt; [1] FALSE</span>
347
+<span class="co">#&gt; </span>
348
+<span class="co">#&gt; $Question</span>
349
+<span class="co">#&gt;                          name type</span>
350
+<span class="co">#&gt; 1 59.160.142.17.in-addr.arpa.   12</span>
351
+<span class="co">#&gt; </span>
352
+<span class="co">#&gt; $Answer</span>
353
+<span class="co">#&gt;                           name type  TTL                           data</span>
354
+<span class="co">#&gt; 1  59.160.142.17.in-addr.arpa.   12 3025                 apples-msk.ru.</span>
355
+<span class="co">#&gt; 2  59.160.142.17.in-addr.arpa.   12 3025                     icloud.se.</span>
356
+<span class="co">#&gt; 3  59.160.142.17.in-addr.arpa.   12 3025                     icloud.es.</span>
357
+<span class="co">#&gt; 4  59.160.142.17.in-addr.arpa.   12 3025                     icloud.om.</span>
358
+<span class="co">#&gt; 5  59.160.142.17.in-addr.arpa.   12 3025                   icloudo.com.</span>
359
+<span class="co">#&gt; 6  59.160.142.17.in-addr.arpa.   12 3025                     icloud.ch.</span>
360
+<span class="co">#&gt; 7  59.160.142.17.in-addr.arpa.   12 3025                     icloud.fr.</span>
361
+<span class="co">#&gt; 8  59.160.142.17.in-addr.arpa.   12 3025                   icloude.com.</span>
362
+<span class="co">#&gt; 9  59.160.142.17.in-addr.arpa.   12 3025          camelspaceeffect.com.</span>
363
+<span class="co">#&gt; 10 59.160.142.17.in-addr.arpa.   12 3025                 camelphat.com.</span>
364
+<span class="co">#&gt; 11 59.160.142.17.in-addr.arpa.   12 3025              alchemysynth.com.</span>
365
+<span class="co">#&gt; 12 59.160.142.17.in-addr.arpa.   12 3025                    openni.org.</span>
366
+<span class="co">#&gt; 13 59.160.142.17.in-addr.arpa.   12 3025                      swell.am.</span>
367
+<span class="co">#&gt; 14 59.160.142.17.in-addr.arpa.   12 3025                  appleweb.net.</span>
368
+<span class="co">#&gt; 15 59.160.142.17.in-addr.arpa.   12 3025                     apple.com.</span>
369
+<span class="co">#&gt; 16 59.160.142.17.in-addr.arpa.   12 3025        pv-apple-com.apple.com.</span>
370
+<span class="co">#&gt; 17 59.160.142.17.in-addr.arpa.   12 3025                ripmixburn.com.</span>
371
+<span class="co">#&gt; 18 59.160.142.17.in-addr.arpa.   12 3025                   yessql.info.</span>
372
+<span class="co">#&gt; 19 59.160.142.17.in-addr.arpa.   12 3025               webobjects.info.</span>
373
+<span class="co">#&gt; 20 59.160.142.17.in-addr.arpa.   12 3025                     ubnw.info.</span>
374
+<span class="co">#&gt; 21 59.160.142.17.in-addr.arpa.   12 3025                 skyvines.info.</span>
375
+<span class="co">#&gt; 22 59.160.142.17.in-addr.arpa.   12 3025            shopdifferent.info.</span>
376
+<span class="co">#&gt; 23 59.160.142.17.in-addr.arpa.   12 3025                 sherlock.info.</span>
377
+<span class="co">#&gt; 24 59.160.142.17.in-addr.arpa.   12 3025              quicktimetv.info.</span>
378
+<span class="co">#&gt; 25 59.160.142.17.in-addr.arpa.   12 3025            quicktimelive.info.</span>
379
+<span class="co">#&gt; 26 59.160.142.17.in-addr.arpa.   12 3025                 powermac.info.</span>
380
+<span class="co">#&gt; 27 59.160.142.17.in-addr.arpa.   12 3025                powerbook.info.</span>
381
+<span class="co">#&gt; 28 59.160.142.17.in-addr.arpa.   12 3025                   macosx.info.</span>
382
+<span class="co">#&gt; 29 59.160.142.17.in-addr.arpa.   12 3025               appleshare.info.</span>
383
+<span class="co">#&gt; 30 59.160.142.17.in-addr.arpa.   12 3025              applescript.info.</span>
384
+<span class="co">#&gt; 31 59.160.142.17.in-addr.arpa.   12 3025         applepaysupplies.info.</span>
385
+<span class="co">#&gt; 32 59.160.142.17.in-addr.arpa.   12 3025 applepaymerchantsupplies.info.</span>
386
+<span class="co">#&gt; 33 59.160.142.17.in-addr.arpa.   12 3025                 applepay.info.</span>
387
+<span class="co">#&gt; 34 59.160.142.17.in-addr.arpa.   12 3025             applemasters.info.</span>
388
+<span class="co">#&gt; 35 59.160.142.17.in-addr.arpa.   12 3025                appleexpo.info.</span>
389
+<span class="co">#&gt; 36 59.160.142.17.in-addr.arpa.   12 3025         applecomputerinc.info.</span>
390
+<span class="co">#&gt; 37 59.160.142.17.in-addr.arpa.   12 3025              applecentre.info.</span>
391
+<span class="co">#&gt; 38 59.160.142.17.in-addr.arpa.   12 3025                 airtunes.info.</span>
392
+<span class="co">#&gt; 39 59.160.142.17.in-addr.arpa.   12 3025                      apple.by.</span>
393
+<span class="co">#&gt; </span>
394
+<span class="co">#&gt; $Additional</span>
395
+<span class="co">#&gt; list()</span>
396
+<span class="co">#&gt; </span>
397
+<span class="co">#&gt; $edns_client_subnet</span>
398
+<span class="co">#&gt; [1] "0.0.0.0/0"</span>
399
+
400
+hosts &lt;-<span class="st"> </span><span class="kw">c</span>(<span class="st">"rud.is"</span>, <span class="st">"dds.ec"</span>, <span class="st">"r-project.org"</span>, <span class="st">"rstudio.com"</span>, <span class="st">"apple.com"</span>)
401
+gdns::<span class="kw"><a href="reference/bulk_query.html">bulk_query</a></span>(hosts)
402
+<span class="co">#&gt;             name type  TTL            data</span>
403
+<span class="co">#&gt; 1        rud.is.    1 3598 104.236.112.222</span>
404
+<span class="co">#&gt; 2        dds.ec.    1  299   162.243.111.4</span>
405
+<span class="co">#&gt; 3 r-project.org.    1 3072   137.208.57.37</span>
406
+<span class="co">#&gt; 4   rstudio.com.    1 3599    45.79.156.36</span>
407
+<span class="co">#&gt; 5     apple.com.    1 3415   17.172.224.47</span>
408
+<span class="co">#&gt; 6     apple.com.    1 3415    17.178.96.59</span>
409
+<span class="co">#&gt; 7     apple.com.    1 3415   17.142.160.59</span></code></pre></div>
410
+<h3 id="test-results">Test Results</h3>
411
+<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(gdns)
412
+<span class="kw">library</span>(testthat)
413
+
414
+<span class="kw">date</span>()
415
+<span class="co">#&gt; [1] "Thu Sep 29 09:44:11 2016"</span>
416
+
417
+<span class="kw">test_dir</span>(<span class="st">"tests/"</span>)
418
+<span class="co">#&gt; testthat results ========================================================================================================</span>
419
+<span class="co">#&gt; OK: 2 SKIPPED: 0 FAILED: 0</span>
420
+<span class="co">#&gt; </span>
421
+<span class="co">#&gt; DONE ===================================================================================================================</span></code></pre></div>
422
+<h3 id="code-of-conduct">Code of Conduct</h3>
423
+<p>Please note that this project is released with a <a href="CONDUCT.md">Contributor Code of Conduct</a>. By participating in this project you agree to abide by its terms.</p>
424
+
425
+  </div>
426
+</div>
427
+
428
+      <footer>
429
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
430
+      </footer>
431
+   </div>
432
+
433
+  </body>
434
+</html>

+ 97
- 0
docs/news/index.html Visa fil

@@ -0,0 +1,97 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>All news. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="row">
72
+  <div class="col-md-9">
73
+    <div id="gdns-0.2.0" class="section level1">
74
+<h1>gdns 0.2.0</h1>
75
+<ul><li>CRAN release</li>
76
+<li>Added a <code>NEWS.md</code> file to track changes to the package.</li>
77
+</ul></div>
78
+  </div>
79
+
80
+  <div class="col-md-3 hidden-xs">
81
+    <div id="tocnav">
82
+      <h2>Contents</h2>
83
+      <ul class="nav nav-pills nav-stacked">
84
+        <li><a href="#gdns-0.2.0">0.2.0</a></li>
85
+      </ul>
86
+    </div>
87
+  </div>
88
+
89
+</div>
90
+
91
+      <footer>
92
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
93
+      </footer>
94
+   </div>
95
+
96
+  </body>
97
+</html>

+ 59
- 0
docs/pkgdown.css Visa fil

@@ -0,0 +1,59 @@
1
+body {
2
+  position: relative;
3
+}
4
+
5
+.icon img {
6
+  float: right;
7
+  border: 1px solid #ccc;
8
+}
9
+.index .internal {display: none;}
10
+ul.index li {margin-bottom: 0.5em; clear: both;}
11
+
12
+footer {
13
+  margin-top: 45px;
14
+  padding: 35px 0 36px;
15
+  border-top: 1px solid #e5e5e5;
16
+}
17
+footer p {
18
+  margin-bottom: 0;
19
+  color: #555;
20
+}
21
+
22
+/* Fixes for fixed navbar --------------------------*/
23
+
24
+body {
25
+  position: relative;
26
+  padding-top: 60px;
27
+}
28
+
29
+.section h1, .section h2, .section h3, .section h4 {
30
+  padding-top: 60px;
31
+  margin-top: -60px;
32
+}
33
+
34
+/* Table of contents --------------------------*/
35
+
36
+#tocnav h2 {
37
+  margin-top: 0;
38
+  font-size: 1.5em;
39
+}
40
+
41
+
42
+/* Syntax highlighting ---------------------------------------------------- */
43
+
44
+.fl,.number {color:rgb(21,20,181);}
45
+.fu,.functioncall {color:#264D66 ;}
46
+.ch,.st,.string {color:#375D81 ;}
47
+.kw,.keyword {font-weight:bolder ;color:black;}
48
+.argument {color:#264D66 ;}
49
+.co,.comment {color: #333;}
50
+.formalargs {color: #264D66;}
51
+.eqformalargs {color:#264D66;}
52
+.slot {font-style:italic;}
53
+.symbol {color:black ;}
54
+.prompt {color:black ;}
55
+
56
+pre img {
57
+  background-color: #fff;
58
+  display: block;
59
+}

+ 13
- 0
docs/pkgdown.js Visa fil

@@ -0,0 +1,13 @@
1
+$(function() {
2
+
3
+  $('#tocnav').affix({
4
+    offset: {
5
+      top: $('#tocnav').offset().top - 80
6
+    }
7
+  });
8
+  $('body').scrollspy({
9
+    target: '#tocnav',
10
+    offset: 80
11
+  });
12
+
13
+});

+ 145
- 0
docs/reference/bulk_query.html Visa fil

@@ -0,0 +1,145 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>bulk_query. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="page-header">
72
+  <h1>Vectorized query, returning only answers in a data frame</h1>
73
+</div>
74
+
75
+<div class="row">
76
+  <div class="col-md-9">
77
+    
78
+    <p>Vectorized query, returning only answers in a data frame</p>
79
+    
80
+
81
+    <pre><span class='fu'>bulk_query</span>(<span class='no'>entities</span>, <span class='kw'>type</span> <span class='kw'>=</span> <span class='fl'>1</span>, <span class='kw'>edns_client_subnet</span> <span class='kw'>=</span> <span class='st'>"0.0.0.0/0"</span>)</pre>
82
+    
83
+    <h2>Arguments</h2>
84
+    <dl class="dl-horizontal">
85
+      <dt>entities</dt>
86
+      <dd>character vector of entities to query</dd>
87
+      <dt>type</dt>
88
+      <dd>RR type can be represented as a number in [1, 65535] or canonical
89
+string (A, aaaa, etc). More information on RR types can be
90
+found <a href = 'here'>http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4</a>.</dd>
91
+      <dt>edns_client_subnet</dt>
92
+      <dd>The edns0-client-subnet option. Format is an IP
93
+address with a subnet mask. Examples: <code>1.2.3.4/24</code>,
94
+<code>2001:700:300::/48</code>.
95
+If you are using DNS-over-HTTPS because of privacy concerns, and do
96
+not want any part of your IP address to be sent to authoritative
97
+nameservers for geographic location accuracy, use
98
+<code>edns_client_subnet=0.0.0.0/0</code>. Google Public DNS normally sends
99
+approximate network information (usually replacing the last part of
100
+your IPv4 address with zeroes). <code>0.0.0.0/0</code> is the default.</dd>
101
+    </dl>
102
+    
103
+    <div class="Value">
104
+      <h2>Value</h2>
105
+
106
+      <p><code>data.frame</code> of only answers (use <code>query()</code> for detailed responses)</p>
107
+    </div>
108
+
109
+    <div class="Note">
110
+      <h2>Note</h2>
111
+
112
+      <p>this is a fairly naive function. It expects <code>Answer</code> to be one of the
113
+      return value list slots. The intent for it was to make it easier
114
+      to do bulk forward queries. It will get smarter in future versions.</p>
115
+    </div>
116
+
117
+    <div class="References">
118
+      <h2>References</h2>
119
+
120
+      <p><a href = 'https://developers.google.com/speed/public-dns/docs/dns-over-https'>https://developers.google.com/speed/public-dns/docs/dns-over-https</a></p>
121
+    </div>
122
+    
123
+    <h2 id="examples">Examples</h2>
124
+    <pre class="examples"><div class='input'><span class='no'>hosts</span> <span class='kw'>&lt;-</span> <span class='fu'>c</span>(<span class='st'>"rud.is"</span>, <span class='st'>"dds.ec"</span>, <span class='st'>"r-project.org"</span>, <span class='st'>"rstudio.com"</span>, <span class='st'>"apple.com"</span>)
125
+<span class='kw'>gdns</span><span class='kw'>::</span><span class='fu'>bulk_query</span>(<span class='no'>hosts</span>)</div><div class='output co'>#&gt;             name type  TTL            data
126
+#&gt; 1        rud.is.    1 3599 104.236.112.222
127
+#&gt; 2        dds.ec.    1  299   162.243.111.4
128
+#&gt; 3 r-project.org.    1 7199   137.208.57.37
129
+#&gt; 4   rstudio.com.    1 3599    45.79.156.36
130
+#&gt; 5     apple.com.    1 1006   17.172.224.47
131
+#&gt; 6     apple.com.    1 1006    17.178.96.59
132
+#&gt; 7     apple.com.    1 1006   17.142.160.59
133
+#&gt; </div></pre>
134
+  </div>
135
+  <div class="col-md-3">
136
+  </div>
137
+</div>
138
+
139
+      <footer>
140
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
141
+      </footer>
142
+   </div>
143
+
144
+  </body>
145
+</html>

+ 111
- 0
docs/reference/gdns.html Visa fil

@@ -0,0 +1,111 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>gdns. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="page-header">
72
+  <h1>Tools to Work with Google DNS Over HTTPS API</h1>
73
+</div>
74
+
75
+<div class="row">
76
+  <div class="col-md-9">
77
+    
78
+    <p>Traditional DNS queries and responses are sent over UDP or TCP without
79
+encryption. This is vulnerable to eavesdropping and spoofing (including
80
+DNS-based Internet filtering). Responses from recursive resolvers to clients
81
+are the most vulnerable to undesired or malicious changes, while
82
+communications between recursive resolvers and authoritative nameservers
83
+often incorporate additional protection.</p>
84
+
85
+    <p>To address this problem, Google Public DNS offers DNS resolution over an
86
+encrypted HTTPS connection. DNS-over-HTTPS greatly enhances privacy and
87
+security between a client and a recursive resolver, and complements DNSSEC
88
+to provide end-to-end authenticated DNS lookups.</p>
89
+
90
+    <p>Support for reverse lookups is also provided.</p>
91
+
92
+    <p>See <a href = 'https://developers.google.com/speed/public-dns/docs/dns-over-https'>https://developers.google.com/speed/public-dns/docs/dns-over-https</a>
93
+for more information.</p>
94
+    
95
+
96
+              </div>
97
+  <div class="col-md-3">
98
+    <h2>Author</h2>
99
+    
100
+Bob Rudis (bob@rud.is)
101
+
102
+  </div>
103
+</div>
104
+
105
+      <footer>
106
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
107
+      </footer>
108
+   </div>
109
+
110
+  </body>
111
+</html>

+ 99
- 0
docs/reference/has_spf.html Visa fil

@@ -0,0 +1,99 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>has_spf. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="page-header">
72
+  <h1>Test for whether a DNS TXT record is an SPF record</h1>
73
+</div>
74
+
75
+<div class="row">
76
+  <div class="col-md-9">
77
+    
78
+    <p>Test for whether a DNS TXT record is an SPF record</p>
79
+    
80
+
81
+    <pre><span class='fu'>has_spf</span>(<span class='no'>spf_rec</span>)</pre>
82
+    
83
+    <h2>Arguments</h2>
84
+    <dl class="dl-horizontal">
85
+      <dt>spf_rec</dt>
86
+      <dd>a character vector of DNS TXT records</dd>
87
+    </dl>
88
+          </div>
89
+  <div class="col-md-3">
90
+  </div>
91
+</div>
92
+
93
+      <footer>
94
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
95
+      </footer>
96
+   </div>
97
+
98
+  </body>
99
+</html>

+ 107
- 0
docs/reference/index.html Visa fil

@@ -0,0 +1,107 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>Function reference. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="page-header">
72
+  <h1>Function reference <small>version&nbsp;0.2.0</small></h1>
73
+</div>
74
+
75
+<div class="row">
76
+  <div class="col-md-9">
77
+    <div class="section ">
78
+      <h2>All functions</h2>
79
+      <p class="section-desc"></p>
80
+
81
+      <dl class="dl-horizontal">
82
+        <dt><a href="bulk_query.html">bulk_query</a></dt>
83
+        <dd>Vectorized query, returning only answers in a data frame</dd>
84
+        <dt><a href="gdns.html">gdns</a></dt><dt><a href="gdns.html">gdns-package</a></dt>
85
+        <dd>Tools to Work with Google DNS Over HTTPS API</dd>
86
+        <dt><a href="has_spf.html">has_spf</a></dt>
87
+        <dd>Test for whether a DNS TXT record is an SPF record</dd>
88
+        <dt><a href="is_soft_fail.html">is_hard_fail</a></dt><dt><a href="is_soft_fail.html">is_soft_fail</a></dt><dt><a href="is_soft_fail.html">passes_all</a></dt>
89
+        <dd>SPF &quot;all&quot; type test</dd>
90
+        <dt><a href="query.html">query</a></dt>
91
+        <dd>Perform DNS over HTTPS queries using Google</dd>
92
+        <dt><a href="spf_ipv4s.html">spf_exists</a></dt><dt><a href="spf_ipv4s.html">spf_includes</a></dt><dt><a href="spf_ipv4s.html">spf_ipv4s</a></dt><dt><a href="spf_ipv4s.html">spf_ipv6s</a></dt><dt><a href="spf_ipv4s.html">spf_ptrs</a></dt>
93
+        <dd>SPF field extraction functions</dd>
94
+        <dt><a href="split_spf.html">split_spf</a></dt>
95
+        <dd>Split out all SPF records in a domain's TXT record</dd>
96
+      </dl>
97
+    </div>
98
+  </div>
99
+</div>
100
+
101
+      <footer>
102
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
103
+      </footer>
104
+   </div>
105
+
106
+  </body>
107
+</html>

+ 103
- 0
docs/reference/is_soft_fail.html Visa fil

@@ -0,0 +1,103 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>is_soft_fail. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="page-header">
72
+  <h1>SPF &quot;all&quot; type test</h1>
73
+</div>
74
+
75
+<div class="row">
76
+  <div class="col-md-9">
77
+    
78
+    <p>SPF &quot;all&quot; type test</p>
79
+    
80
+
81
+    <pre><span class='fu'>is_soft_fail</span>(<span class='no'>spf_rec</span>)
82
+
83
+<span class='fu'>is_hard_fail</span>(<span class='no'>spf_rec</span>)
84
+
85
+<span class='fu'>passes_all</span>(<span class='no'>spf_rec</span>)</pre>
86
+    
87
+    <h2>Arguments</h2>
88
+    <dl class="dl-horizontal">
89
+      <dt>spf_rec</dt>
90
+      <dd>a character vector of DNS TXT records</dd>
91
+    </dl>
92
+          </div>
93
+  <div class="col-md-3">
94
+  </div>
95
+</div>
96
+
97
+      <footer>
98
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
99
+      </footer>
100
+   </div>
101
+
102
+  </body>
103
+</html>

+ 430
- 0
docs/reference/query.html Visa fil

@@ -0,0 +1,430 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>query. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="page-header">
72
+  <h1>Perform DNS over HTTPS queries using Google</h1>
73
+</div>
74
+
75
+<div class="row">
76
+  <div class="col-md-9">
77
+    
78
+    <p>Traditional DNS queries and responses are sent over UDP or TCP without
79
+encryption. This is vulnerable to eavesdropping and spoofing (including
80
+DNS-based Internet filtering). Responses from recursive resolvers to clients
81
+are the most vulnerable to undesired or malicious changes, while
82
+communications between recursive resolvers and authoritative nameservers
83
+often incorporate additional protection.</p>
84
+
85
+    <p>To address this problem, Google Public DNS offers DNS resolution over an
86
+encrypted HTTPS connection. DNS-over-HTTPS greatly enhances privacy and
87
+security between a client and a recursive resolver, and complements DNSSEC
88
+to provide end-to-end authenticated DNS lookups.</p>
89
+    
90
+
91
+    <pre><span class='fu'>query</span>(<span class='no'>name</span>, <span class='kw'>type</span> <span class='kw'>=</span> <span class='st'>"1"</span>, <span class='kw'>edns_client_subnet</span> <span class='kw'>=</span> <span class='st'>"0.0.0.0/0"</span>)</pre>
92
+    
93
+    <h2>Arguments</h2>
94
+    <dl class="dl-horizontal">
95
+      <dt>name</dt>
96
+      <dd>item to lookup. Valid characters are numbers, letters, hyphen, and dot. Length
97
+must be between 1 and 255. Names with escaped or non-ASCII characters
98
+are not supported. Internationalized domain names must use the
99
+punycode format (e.g. &quot;<code>xn--qxam</code>&quot;).
100
+ If an IPv4 string is input, it will be transformed into
101
+a proper format for reverse lookups.</dd>
102
+      <dt>type</dt>
103
+      <dd>RR type can be represented as a number in [1, 65535] or canonical
104
+string (A, aaaa, etc). More information on RR types can be
105
+found <a href = 'here'>http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4</a>.
106
+You can use <code>255</code> for an <code>ANY</code> query.</dd>
107
+      <dt>edns_client_subnet</dt>
108
+      <dd>The edns0-client-subnet option. Format is an IP
109
+address with a subnet mask. Examples: <code>1.2.3.4/24</code>,
110
+<code>2001:700:300::/48</code>.
111
+If you are using DNS-over-HTTPS because of privacy concerns, and do
112
+not want any part of your IP address to be sent to authoritative
113
+nameservers for geographic location accuracy, use
114
+<code>edns_client_subnet=0.0.0.0/0</code>. Google Public DNS normally sends
115
+approximate network information (usually replacing the last part of
116
+your IPv4 address with zeroes). <code>0.0.0.0/0</code> is the default.</dd>
117
+    </dl>
118
+    
119
+    <div class="Value">
120
+      <h2>Value</h2>
121
+
122
+      <p>a <code>list</code> with the query result or <code>NULL</code> if an error occurred</p>
123
+    </div>
124
+
125
+    <div class="Details">
126
+      <h2>Details</h2>
127
+
128
+      <p>To perform vectorized queries with only answers (and no metadata) use
129
+<code>bulk_query()</code>).</p>
130
+    </div>
131
+
132
+    <div class="References">
133
+      <h2>References</h2>
134
+
135
+      <p><a href = 'https://developers.google.com/speed/public-dns/docs/dns-over-https'>https://developers.google.com/speed/public-dns/docs/dns-over-https</a></p>
136
+    </div>
137
+    
138
+    <h2 id="examples">Examples</h2>
139
+    <pre class="examples"><div class='input'><span class='fu'>query</span>(<span class='st'>"rud.is"</span>)</div><div class='output co'>#&gt; $Status
140
+#&gt; [1] 0
141
+#&gt; 
142
+#&gt; $TC
143
+#&gt; [1] FALSE
144
+#&gt; 
145
+#&gt; $RD
146
+#&gt; [1] TRUE
147
+#&gt; 
148
+#&gt; $RA
149
+#&gt; [1] TRUE
150
+#&gt; 
151
+#&gt; $AD
152
+#&gt; [1] FALSE
153
+#&gt; 
154
+#&gt; $CD
155
+#&gt; [1] FALSE
156
+#&gt; 
157
+#&gt; $Question
158
+#&gt;      name type
159
+#&gt; 1 rud.is.    1
160
+#&gt; 
161
+#&gt; $Answer
162
+#&gt;      name type  TTL            data
163
+#&gt; 1 rud.is.    1 3599 104.236.112.222
164
+#&gt; 
165
+#&gt; $Additional
166
+#&gt; list()
167
+#&gt; 
168
+#&gt; $edns_client_subnet
169
+#&gt; [1] &quot;0.0.0.0/0&quot;
170
+#&gt; 
171
+#&gt; $Comment
172
+#&gt; [1] &quot;Response from dns.mwebdns.eu.(84.246.125.230)&quot;
173
+#&gt; 
174
+#&gt; </div><div class='input'><span class='fu'>query</span>(<span class='st'>"example.com"</span>, <span class='st'>"255"</span>) <span class='co'># ANY query</span></div><div class='output co'>#&gt; $Status
175
+#&gt; [1] 0
176
+#&gt; 
177
+#&gt; $TC
178
+#&gt; [1] FALSE
179
+#&gt; 
180
+#&gt; $RD
181
+#&gt; [1] TRUE
182
+#&gt; 
183
+#&gt; $RA
184
+#&gt; [1] TRUE
185
+#&gt; 
186
+#&gt; $AD
187
+#&gt; [1] TRUE
188
+#&gt; 
189
+#&gt; $CD
190
+#&gt; [1] FALSE
191
+#&gt; 
192
+#&gt; $Question
193
+#&gt;           name type
194
+#&gt; 1 example.com.  255
195
+#&gt; 
196
+#&gt; $Answer
197
+#&gt;            name type   TTL
198
+#&gt; 1  example.com.    6  3599
199
+#&gt; 2  example.com.   46 21599
200
+#&gt; 3  example.com.   46 21599
201
+#&gt; 4  example.com.   46  3599
202
+#&gt; 5  example.com.   46    59
203
+#&gt; 6  example.com.   46 21599
204
+#&gt; 7  example.com.   46  3599
205
+#&gt; 8  example.com.   46  3599
206
+#&gt; 9  example.com.   46  3599
207
+#&gt; 10 example.com.   47  3599
208
+#&gt; 11 example.com.    2 21599
209
+#&gt; 12 example.com.    2 21599
210
+#&gt; 13 example.com.   28 21599
211
+#&gt; 14 example.com.    1 21599
212
+#&gt; 15 example.com.   16    59
213
+#&gt; 16 example.com.   16    59
214
+#&gt; 17 example.com.   48  3599
215
+#&gt; 18 example.com.   48  3599
216
+#&gt; 19 example.com.   48  3599
217
+#&gt;                                                                                                                                                                                                                                                                                                                                                                                                                 data
218
+#&gt; 1                                                                                                                                                                                                                                                                                                                                            sns.dns.icann.org. noc.dns.icann.org. 2015082669 7200 3600 1209600 3600
219
+#&gt; 2                                                                                                                                                                               a 8 2 86400 1477364031 1475579385 1704 example.com. auGIKxU2oVxE9YE2ca9Xv5yuA2bP8uwIXW3t/d/wxGn6gnzuyVPefMHu5jT0z2ldwsqiB0+VGZpVguUeY7M22PCR0YwMGjB64/VQjsZQxAhaleVOLCRR2fya4EtOYvPRoWielQfDaS+4SBenCv0+nN8Gb3PMSsEe0ICjDSrzFRC0V7U=
220
+#&gt; 3                                                                                                                                                                              ns 8 2 86400 1477484364 1475701785 1704 example.com. bY3Q/b0KCwv+fkMGpKABu3oT3y+u2xcCoykkPDJrkVGRM16Z4WojbemTYFR++pbsbuVHptz6uUtX3m94kbyvmaLvXTxy1bwY0b8F/0Rz9Se9jy5mIUiatTHftqlz434PC+UnQKNiWZBYsgQJegTJZJLlJ7/KaiIzjrhltRFWwqsOaUA=
221
+#&gt; 4                                                                                                                                                                              soa 8 2 3600 1477543924 1475701785 1704 example.com. kWe1dnPv94cNlWhysZSKC3WC4/YlSTkG6/NZtFxxQcwPGlS7x+z4tRnNodhfLCpYw8D4loan0ybfWuRK/tzKminJsdt3lLqJxlXvcIzmEkI17xKUpcnD1jA0mhCfTptzLj4oCw4hhkC/d8JuD5jVmTskoiav36SV+cW1KngAY/UtPfw=
222
+#&gt; 5                                                                                                                                                                                txt 8 2 60 1477325190 1475536185 1704 example.com. ZaMZnuA5mh+GSbmL3nJxDbVZEdAu0BC1I71FgOPojAgRT5i2pn4+obRCd+aUw3c/grt1xzciBdhyw9jMvzcyEwcxk2WDS+REkEwzBn1YKodoo1YCjcXVUZscugSXc+hq+eFaTcRlW/siqWq+cy77VVsjdKJTAJrcK12abkjOnRrqfww=
223
+#&gt; 6                                                                                                                                                                            aaaa 8 2 86400 1477264070 1475449785 1704 example.com. M0ggDOmzYveQUd145aePLv19PwzYed7bDNsU74quoitB1nEZ8/r7ROdsT1m7VXi/BBimUVtezXBeVTc3/+2rEvhNsmX1WRrHN7seHzAiEt27TNogwn3e40YGCrwVIy+ypLRfZTi+Xlv/Ykd0H4Uvp0tW+69eel8MOlYRqSO5DMizMTc=
224
+#&gt; 7                                                                                                                                                                             nsec 8 2 3600 1476958241 1475176185 1704 example.com. WnXb1Y/Qkn5CmiRir6a0KssPjiPbEq7Tko0rWsQQyFFPrT+JB/6YUKStJY5K+GN+M2tWGW3jrOSbTVei0GLxjE/3BBLoYtLqLURjEk3Ki3n5zP5c9FMyQPf3fCC0ac/kSxw5V3nTs3eSnu8p/quseV8BqkU/hYgm1qsvQOyXVUSFync=
225
+#&gt; 8  dnskey 8 2 3600 1476561735 1474722585 31406 example.com. Oup7snCR/5iUmTuGyHfCfFCisTeqaJ8RHD6aE9wZQR2CCkKZHXO9dzfUL1gA6T35p4T0XeM+TMlv1uZhX157RnanPwyZluancmm5cNz5ub0vG7G/O4DxnSoLmATYoBJ7Ub9Ul4iWFUE7nvyJ23X2MhX6XTiplXYPnztiem6rJLV84JiemoKtvapWchRhFi4w4Y+BdjHfY7IRERjQYNhVuaus5+EeppIoot9srsj2suXePGC7dE0R8z9K/BTYvQi76kBlJzzF9fNNy5JvyZPEUpXATuRD7KfxBsWHaFajOnYOb1eDAL/C0H3hhjVBov2Pexp7YDIsJzIa2g8850LruQ==
226
+#&gt; 9  dnskey 8 2 3600 1476561735 1474722585 45620 example.com. f+aO6V+QKA4XgTC0Vqow59jBP/NlX6f7EEbaoXts0lp7Vaj/DBrhnS/sT4BbJb3VK1MvuPmNre5t0eyOeNCjbjrwIM2uf41GFuBI0AFxQx7o2PIdf1vrXsDnUGsZrMkYMv4gr802S7MXsvMdMN5cM0AA5Zol888sLP1yrHIcfNxG8hoUn3dS0L6nd/OxkL70+NjHBTjBQLqkLsK92ryJ0CWrzcJElszBRqfQfYGV/sJ84Ko4tjnBqRuki/rmTW5KQYdE7NI+MvERtGnep7RHb02Luk7BFPPD3uh353EYSAOVHrMH4fte6mJGcj3vxErfSWakRUXQpovLNcqYZNxoGQ==
227
+#&gt; 10                                                                                                                                                                                                                                                                                                                                                              www.example.com. A NS SOA TXT AAAA RRSIG NSEC DNSKEY
228
+#&gt; 11                                                                                                                                                                                                                                                                                                                                                                                               a.iana-servers.net.
229
+#&gt; 12                                                                                                                                                                                                                                                                                                                                                                                               b.iana-servers.net.
230
+#&gt; 13                                                                                                                                                                                                                                                                                                                                                                                2606:2800:220:1:248:1893:25c8:1946
231
+#&gt; 14                                                                                                                                                                                                                                                                                                                                                                                                     93.184.216.34
232
+#&gt; 15                                                                                                                                                                                                                                                                                                                                                                                                     &quot;v=spf1 -all&quot;
233
+#&gt; 16                                                                                                                                                                                                                                                                                                                                                             &quot;$Id: example.com 4415 2015-08-24 20:12:23Z davids $&quot;
234
+#&gt; 17                                                                                                                                                                                                                      256 3 8 AwEAAa3d68DfyIs03nGYpi3a9YX+f/wln3g6dhWWzjUUqp6CGXuaOdEHfS8zI/5JdGKi8Xoc4YmjPGfiCJIkCiQnMKn/QFygpZs41ANLdPp2jJlJhFA6IHE/xxTCxJfNhsdEAOGlMORN9Zu1XLUBo/IuCDUvUzZPgalivd/m9L+Jr4kxbg3v
235
+#&gt; 18                                              257 3 8 AwEAAZ0aqu1rJ6orJynrRfNpPmayJZoAx9Ic2/Rl9VQWLMHyjxxem3VUSoNUIFXERQbj0A9Ogp0zDM9YIccKLRd6LmWiDCt7UJQxVdD+heb5Ec4qlqGmyX9MDabkvX2NvMwsUecbYBq8oXeTT9LRmCUt9KUt/WOi6DKECxoG/bWTykrXyBR8elD+SQY43OAVjlWrVltHxgp4/rhBCvRbmdflunaPIgu27eE2U4myDSLT8a4A0rB5uHG4PkOa9dIRs9y00M2mWf4lyPee7vi5few2dbayHXmieGcaAHrx76NGAABeY393xjlmDNcUkF1gpNWUla4fWZbbaYQzA93mLdrng+M=
236
+#&gt; 19                                              257 3 8 AwEAAbOFAxl+Lkt0UMglZizKEC1AxUu8zlj65KYatR5wBWMrh18TYzK/ig6Y1t5YTWCO68bynorpNu9fqNFALX7bVl9/gybA0v0EhF+dgXmoUfRX7ksMGgBvtfa2/Y9a3klXNLqkTszIQ4PEMVCjtryl19Be9/PkFeC9ITjgMRQsQhmB39eyMYnal+f3bUxKk4fq7cuEU0dbRpue4H/N6jPucXWOwiMAkTJhghqgy+o9FfIp+tR/emKao94/wpVXDcPf5B18j7xz2SvTTxiuqCzCMtsxnikZHcoh1j4g+Y1B8zIMIvrEM+pZGhh/Yuf4RwCBgaYCi9hpiMWVvS4WBzx0/lU=
237
+#&gt; 
238
+#&gt; $Additional
239
+#&gt; list()
240
+#&gt; 
241
+#&gt; $edns_client_subnet
242
+#&gt; [1] &quot;0.0.0.0/0&quot;
243
+#&gt; 
244
+#&gt; $Comment
245
+#&gt; [1] &quot;Response from 199.43.135.53&quot;
246
+#&gt; 
247
+#&gt; </div><div class='input'><span class='fu'>query</span>(<span class='st'>"microsoft.com"</span>, <span class='st'>"MX"</span>)</div><div class='output co'>#&gt; $Status
248
+#&gt; [1] 0
249
+#&gt; 
250
+#&gt; $TC
251
+#&gt; [1] FALSE
252
+#&gt; 
253
+#&gt; $RD
254
+#&gt; [1] TRUE
255
+#&gt; 
256
+#&gt; $RA
257
+#&gt; [1] TRUE
258
+#&gt; 
259
+#&gt; $AD
260
+#&gt; [1] FALSE
261
+#&gt; 
262
+#&gt; $CD
263
+#&gt; [1] FALSE
264
+#&gt; 
265
+#&gt; $Question
266
+#&gt;             name type
267
+#&gt; 1 microsoft.com.   15
268
+#&gt; 
269
+#&gt; $Answer
270
+#&gt;             name type TTL                                          data
271
+#&gt; 1 microsoft.com.   15  74 10 microsoft-com.mail.protection.outlook.com.
272
+#&gt; 
273
+#&gt; $Additional
274
+#&gt; list()
275
+#&gt; 
276
+#&gt; $edns_client_subnet
277
+#&gt; [1] &quot;0.0.0.0/0&quot;
278
+#&gt; 
279
+#&gt; </div><div class='input'><span class='fu'>query</span>(<span class='st'>"google-public-dns-a.google.com"</span>, <span class='st'>"TXT"</span>)</div><div class='output co'>#&gt; $Status
280
+#&gt; [1] 0
281
+#&gt; 
282
+#&gt; $TC
283
+#&gt; [1] FALSE
284
+#&gt; 
285
+#&gt; $RD
286
+#&gt; [1] TRUE
287
+#&gt; 
288
+#&gt; $RA
289
+#&gt; [1] TRUE
290
+#&gt; 
291
+#&gt; $AD
292
+#&gt; [1] FALSE
293
+#&gt; 
294
+#&gt; $CD
295
+#&gt; [1] FALSE
296
+#&gt; 
297
+#&gt; $Question
298
+#&gt;                              name type
299
+#&gt; 1 google-public-dns-a.google.com.   16
300
+#&gt; 
301
+#&gt; $Answer
302
+#&gt;                              name type   TTL                    data
303
+#&gt; 1 google-public-dns-a.google.com.   16 21599 &quot;http://xkcd.com/1361/&quot;
304
+#&gt; 
305
+#&gt; $Additional
306
+#&gt; list()
307
+#&gt; 
308
+#&gt; $edns_client_subnet
309
+#&gt; [1] &quot;0.0.0.0/0&quot;
310
+#&gt; 
311
+#&gt; $Comment
312
+#&gt; [1] &quot;Response from 216.239.38.10&quot;
313
+#&gt; 
314
+#&gt; </div><div class='input'><span class='fu'>query</span>(<span class='st'>"apple.com"</span>)</div><div class='output co'>#&gt; $Status
315
+#&gt; [1] 0
316
+#&gt; 
317
+#&gt; $TC
318
+#&gt; [1] FALSE
319
+#&gt; 
320
+#&gt; $RD
321
+#&gt; [1] TRUE
322
+#&gt; 
323
+#&gt; $RA
324
+#&gt; [1] TRUE
325
+#&gt; 
326
+#&gt; $AD
327
+#&gt; [1] FALSE
328
+#&gt; 
329
+#&gt; $CD
330
+#&gt; [1] FALSE
331
+#&gt; 
332
+#&gt; $Question
333
+#&gt;         name type
334
+#&gt; 1 apple.com.    1
335
+#&gt; 
336
+#&gt; $Answer
337
+#&gt;         name type  TTL          data
338
+#&gt; 1 apple.com.    1 1002 17.172.224.47
339
+#&gt; 2 apple.com.    1 1002  17.178.96.59
340
+#&gt; 3 apple.com.    1 1002 17.142.160.59
341
+#&gt; 
342
+#&gt; $Additional
343
+#&gt; list()
344
+#&gt; 
345
+#&gt; $edns_client_subnet
346
+#&gt; [1] &quot;0.0.0.0/0&quot;
347
+#&gt; 
348
+#&gt; </div><div class='input'><span class='fu'>query</span>(<span class='st'>"17.142.160.59"</span>, <span class='st'>"PTR"</span>)</div><div class='output co'>#&gt; $Status
349
+#&gt; [1] 0
350
+#&gt; 
351
+#&gt; $TC
352
+#&gt; [1] FALSE
353
+#&gt; 
354
+#&gt; $RD
355
+#&gt; [1] TRUE
356
+#&gt; 
357
+#&gt; $RA
358
+#&gt; [1] TRUE
359
+#&gt; 
360
+#&gt; $AD
361
+#&gt; [1] FALSE
362
+#&gt; 
363
+#&gt; $CD
364
+#&gt; [1] FALSE
365
+#&gt; 
366
+#&gt; $Question
367
+#&gt;                          name type
368
+#&gt; 1 59.160.142.17.in-addr.arpa.   12
369
+#&gt; 
370
+#&gt; $Answer
371
+#&gt;                           name type  TTL                           data
372
+#&gt; 1  59.160.142.17.in-addr.arpa.   12 2587                     icloud.se.
373
+#&gt; 2  59.160.142.17.in-addr.arpa.   12 2587                     icloud.es.
374
+#&gt; 3  59.160.142.17.in-addr.arpa.   12 2587                     icloud.om.
375
+#&gt; 4  59.160.142.17.in-addr.arpa.   12 2587                   icloudo.com.
376
+#&gt; 5  59.160.142.17.in-addr.arpa.   12 2587                     icloud.ch.
377
+#&gt; 6  59.160.142.17.in-addr.arpa.   12 2587                     icloud.fr.
378
+#&gt; 7  59.160.142.17.in-addr.arpa.   12 2587                   icloude.com.
379
+#&gt; 8  59.160.142.17.in-addr.arpa.   12 2587          camelspaceeffect.com.
380
+#&gt; 9  59.160.142.17.in-addr.arpa.   12 2587                 camelphat.com.
381
+#&gt; 10 59.160.142.17.in-addr.arpa.   12 2587              alchemysynth.com.
382
+#&gt; 11 59.160.142.17.in-addr.arpa.   12 2587                    openni.org.
383
+#&gt; 12 59.160.142.17.in-addr.arpa.   12 2587                      swell.am.
384
+#&gt; 13 59.160.142.17.in-addr.arpa.   12 2587                  appleweb.net.
385
+#&gt; 14 59.160.142.17.in-addr.arpa.   12 2587                     apple.com.
386
+#&gt; 15 59.160.142.17.in-addr.arpa.   12 2587        pv-apple-com.apple.com.
387
+#&gt; 16 59.160.142.17.in-addr.arpa.   12 2587                ripmixburn.com.
388
+#&gt; 17 59.160.142.17.in-addr.arpa.   12 2587                   yessql.info.
389
+#&gt; 18 59.160.142.17.in-addr.arpa.   12 2587               webobjects.info.
390
+#&gt; 19 59.160.142.17.in-addr.arpa.   12 2587                     ubnw.info.
391
+#&gt; 20 59.160.142.17.in-addr.arpa.   12 2587                 skyvines.info.
392
+#&gt; 21 59.160.142.17.in-addr.arpa.   12 2587            shopdifferent.info.
393
+#&gt; 22 59.160.142.17.in-addr.arpa.   12 2587                 sherlock.info.
394
+#&gt; 23 59.160.142.17.in-addr.arpa.   12 2587              quicktimetv.info.
395
+#&gt; 24 59.160.142.17.in-addr.arpa.   12 2587            quicktimelive.info.
396
+#&gt; 25 59.160.142.17.in-addr.arpa.   12 2587                 powermac.info.
397
+#&gt; 26 59.160.142.17.in-addr.arpa.   12 2587                powerbook.info.
398
+#&gt; 27 59.160.142.17.in-addr.arpa.   12 2587                   macosx.info.
399
+#&gt; 28 59.160.142.17.in-addr.arpa.   12 2587               appleshare.info.
400
+#&gt; 29 59.160.142.17.in-addr.arpa.   12 2587              applescript.info.
401
+#&gt; 30 59.160.142.17.in-addr.arpa.   12 2587         applepaysupplies.info.
402
+#&gt; 31 59.160.142.17.in-addr.arpa.   12 2587 applepaymerchantsupplies.info.
403
+#&gt; 32 59.160.142.17.in-addr.arpa.   12 2587                 applepay.info.
404
+#&gt; 33 59.160.142.17.in-addr.arpa.   12 2587             applemasters.info.
405
+#&gt; 34 59.160.142.17.in-addr.arpa.   12 2587                appleexpo.info.
406
+#&gt; 35 59.160.142.17.in-addr.arpa.   12 2587         applecomputerinc.info.
407
+#&gt; 36 59.160.142.17.in-addr.arpa.   12 2587              applecentre.info.
408
+#&gt; 37 59.160.142.17.in-addr.arpa.   12 2587                 airtunes.info.
409
+#&gt; 38 59.160.142.17.in-addr.arpa.   12 2587                      apple.by.
410
+#&gt; 39 59.160.142.17.in-addr.arpa.   12 2587                 apples-msk.ru.
411
+#&gt; 
412
+#&gt; $Additional
413
+#&gt; list()
414
+#&gt; 
415
+#&gt; $edns_client_subnet
416
+#&gt; [1] &quot;0.0.0.0/0&quot;
417
+#&gt; 
418
+#&gt; </div></pre>
419
+  </div>
420
+  <div class="col-md-3">
421
+  </div>
422
+</div>
423
+
424
+      <footer>
425
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
426
+      </footer>
427
+   </div>
428
+
429
+  </body>
430
+</html>

+ 107
- 0
docs/reference/spf_ipv4s.html Visa fil

@@ -0,0 +1,107 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>spf_ipv4s. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="page-header">
72
+  <h1>SPF field extraction functions</h1>
73
+</div>
74
+
75
+<div class="row">
76
+  <div class="col-md-9">
77
+    
78
+    <p>Various helper functions to extract SPF record components.</p>
79
+    
80
+
81
+    <pre><span class='fu'>spf_ipv4s</span>(<span class='no'>spf_rec</span>)
82
+
83
+<span class='fu'>spf_ipv6s</span>(<span class='no'>spf_rec</span>)
84
+
85
+<span class='fu'>spf_includes</span>(<span class='no'>spf_rec</span>)
86
+
87
+<span class='fu'>spf_ptrs</span>(<span class='no'>spf_rec</span>)
88
+
89
+<span class='fu'>spf_exists</span>(<span class='no'>spf_rec</span>)</pre>
90
+    
91
+    <h2>Arguments</h2>
92
+    <dl class="dl-horizontal">
93
+      <dt>spf_rec</dt>
94
+      <dd>a character vector of DNS TXT records</dd>
95
+    </dl>
96
+          </div>
97
+  <div class="col-md-3">
98
+  </div>
99
+</div>
100
+
101
+      <footer>
102
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
103
+      </footer>
104
+   </div>
105
+
106
+  </body>
107
+</html>

+ 102
- 0
docs/reference/split_spf.html Visa fil

@@ -0,0 +1,102 @@
1
+<!-- Generated by pkgdown: do not edit by hand -->
2
+<!DOCTYPE html>
3
+<html>
4
+  <head>
5
+  <meta charset="utf-8">
6
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+
9
+<title>split_spf. gdns</title>
10
+
11
+<!-- jquery -->
12
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
13
+
14
+<!-- Bootstrap -->
15
+
16
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
17
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
18
+
19
+<!-- Font Awesome icons -->
20
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
21
+
22
+
23
+<!-- pkgdown -->
24
+<link href="../pkgdown.css" rel="stylesheet">
25
+<script src="../pkgdown.js"></script>
26
+
27
+<!-- mathjax -->
28
+<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
29
+
30
+<!--[if lt IE 9]>
31
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
32
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33
+<![endif]-->
34
+  </head>
35
+
36
+  <body>
37
+    <div class="container">
38
+      <header>
39
+      
40
+<div class="navbar navbar-default  navbar-fixed-top" role="navigation">
41
+  <div class="container">
42
+    <div class="navbar-header">
43
+      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
44
+        <span class="icon-bar"></span>
45
+        <span class="icon-bar"></span>
46
+        <span class="icon-bar"></span>
47
+      </button>
48
+      <a class="navbar-brand" href="../index.html">gdns</a>
49
+    </div>
50
+    <div id="navbar" class="navbar-collapse collapse">
51
+      <ul class="nav navbar-nav">
52
+        <li>
53
+  <a href="../index.html">Home</a>
54
+</li>
55
+<li>
56
+  <a href="../reference/index.html">Reference</a>
57
+</li>
58
+<li>
59
+  <a href="../news/index.html">News</a>
60
+</li>
61
+      </ul>
62
+      <ul class="nav navbar-nav navbar-right">
63
+        
64
+      </ul>
65
+    </div><!--/.nav-collapse -->
66
+  </div><!--/.container -->
67
+</div><!--/.navbar -->
68
+      
69
+      </header>
70
+
71
+      <div class="page-header">
72
+  <h1>Split out all SPF records in a domain&#39;s TXT record</h1>
73
+</div>
74
+
75
+<div class="row">
76
+  <div class="col-md-9">
77
+    
78
+    <p>Given a vector of TXT records, this function will return a list of vectors
79
+of all the SPF records for each. If the given TXT record is not an SPF
80
+record, <code>NULL</code> is returned (which makes it easy to skip with <code>purrr</code>
81
+functions).</p>
82
+    
83
+
84
+    <pre><span class='fu'>split_spf</span>(<span class='no'>spf_rec</span>)</pre>
85
+    
86
+    <h2>Arguments</h2>
87
+    <dl class="dl-horizontal">
88
+      <dt>spf_rec</dt>
89
+      <dd>a character vector of DNS TXT records</dd>
90
+    </dl>
91
+          </div>
92
+  <div class="col-md-3">
93
+  </div>
94
+</div>
95
+
96
+      <footer>
97
+      <p>Built by <a href="http://hadley.github.io/pkgdown/">pkgdown</a>. Styled with <a href="http://getbootstrap.com">Bootstrap 3</a>.</p>
98
+      </footer>
99
+   </div>
100
+
101
+  </body>
102
+</html>

Laddar…
Avbryt
Spara