|
@@ -20,15 +20,16 @@ Requires [`getdns`](https://getdnsapi.net/) to be installed and
|
20
|
20
|
available for compilation (no guard rails setup yet):
|
21
|
21
|
|
22
|
22
|
- Use `brew install getdns` on macOS
|
23
|
|
- - Install `libgetdns-dev` on debian/ubuntu
|
|
23
|
+ - Install `libgetdns-dev` or `libgetdns-devel` on debian/ubuntu
|
|
24
|
+ (version 1.5.1 or higher)
|
24
|
25
|
- (Nothing to see here Windows folks stuck in a backwards ecosysem)
|
25
|
26
|
|
26
|
27
|
You’re going to need version 1.5.1 of `getdns` for this package to
|
27
|
28
|
install.
|
28
|
29
|
|
29
|
30
|
I’ve gotten this running on macOS and Ubuntu 16.04. For the latter I had
|
30
|
|
-to ensure `libidn2-dev` and `libunbound-dev` were installed then had to
|
31
|
|
-grab the 1.5.1 tarball (e.g. `aria2c
|
|
31
|
+to ensure `libidn2-0-dev` and `libunbound-dev` were installed then had
|
|
32
|
+to grab the 1.5.1 tarball (e.g. `aria2c
|
32
|
33
|
https://getdnsapi.net/releases/getdns-1-5-1/getdns-1.5.1.tar.gz`),
|
33
|
34
|
extract it and `config`/`make`/`make install` (plus `ldconfig` after).
|
34
|
35
|
|
|
@@ -153,9 +154,9 @@ gdns_lib_version()
|
153
|
154
|
## [1] "2604:a880:800:10::6bc:2001" "104.236.112.222"
|
154
|
155
|
|
155
|
156
|
(gdns_get_address(x, "yahoo.com"))
|
156
|
|
-## [1] "2001:4998:58:1836::10" "2001:4998:c:1023::5" "2001:4998:44:41d::4" "2001:4998:c:1023::4"
|
157
|
|
-## [5] "2001:4998:44:41d::3" "2001:4998:58:1836::11" "98.137.246.8" "98.137.246.7"
|
158
|
|
-## [9] "98.138.219.232" "98.138.219.231" "72.30.35.9" "72.30.35.10"
|
|
157
|
+## [1] "2001:4998:c:1023::5" "2001:4998:58:1836::11" "2001:4998:44:41d::3" "2001:4998:44:41d::4"
|
|
158
|
+## [5] "2001:4998:c:1023::4" "2001:4998:58:1836::10" "98.138.219.231" "98.138.219.232"
|
|
159
|
+## [9] "98.137.246.8" "72.30.35.9" "72.30.35.10" "98.137.246.7"
|
159
|
160
|
|
160
|
161
|
(gdns_get_address(x, "yahoo.commmm"))
|
161
|
162
|
## character(0)
|
|
@@ -168,7 +169,7 @@ str(leno <- gdns_query(x, "lenovo.com", "txt"), 1)
|
168
|
169
|
## List of 5
|
169
|
170
|
## $ answer_type : int 800
|
170
|
171
|
## $ canonical_name: chr "lenovo.com."
|
171
|
|
-## $ replies_full : int [1, 1:600] 14 77 129 128 0 1 0 8 0 0 ...
|
|
172
|
+## $ replies_full : int [1, 1:600] 135 135 129 128 0 1 0 8 0 0 ...
|
172
|
173
|
## $ replies_tree :'data.frame': 1 obs. of 7 variables:
|
173
|
174
|
## $ status : int 900
|
174
|
175
|
|