Running examples in ‘Rwhois-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: Rwhois
> ### Title: WHOIS server querying
> ### Aliases: Rwhois Rwhois::whois_query Rwhois::whois_keyextract
> ###   whois_query whois_keyextract
> ### Keywords: Rwhois whois whois_query whois_keyextract
> 
> ### ** Examples
> 
> # Grab WHOIS data for an IP
> whois_query("1.1.1.1")
             key                                            val
1        inetnum                            1.1.1.0 - 1.1.1.255
2        netname                                     APNIC-LABS
3          descr      APNIC and Cloudflare DNS Resolver project
4          descr          Routed globally by AS13335/Cloudflare
5          descr                 Research prefix for APNIC Labs
6        country                                             AU
7            org                                   ORG-ARAD1-AP
8        admin-c                                        AIC3-AP
9         tech-c                                        AIC3-AP
10       abuse-c                                      AA1412-AP
11        status                              ASSIGNED PORTABLE
12       remarks                                ---------------
13       remarks All Cloudflare abuse reporting can be done via
14       remarks                  resolver-abuse@cloudflare.com
15       remarks                                ---------------
16        mnt-by                                       APNIC-HM
17    mnt-routes                             MAINT-APNICRANDNET
18       mnt-irt                            IRT-APNICRANDNET-AU
19 last-modified                           2023-04-26T22:57:58Z
20     mnt-lower                             MAINT-APNICRANDNET
21        source                                          APNIC
22           irt                            IRT-APNICRANDNET-AU
23       address                                    PO Box 3646
24       address                       South Brisbane, QLD 4101
25       address                                      Australia
26        e-mail                             helpdesk@apnic.net
27 abuse-mailbox                             helpdesk@apnic.net
28       admin-c                                       AR302-AP
29        tech-c                                       AR302-AP
30          auth                                     # Filtered
31       remarks helpdesk@apnic.net was validated on 2021-02-09
32        mnt-by                             MAINT-APNICRANDNET
33 last-modified                           2025-09-03T02:28:14Z
34        source                                          APNIC
35  organisation                                   ORG-ARAD1-AP
36      org-name                 APNIC Research and Development
37      org-type                                            LIR
38       country                                             AU
39       address                                  6 Cordelia St
40         phone                                 +61-7-38583100
41        fax-no                                 +61-7-38583199
42        e-mail                             helpdesk@apnic.net
43       mnt-ref                                       APNIC-HM
44        mnt-by                                       APNIC-HM
45 last-modified                           2023-09-05T02:15:19Z
46        source                                          APNIC
47          role                           ABUSE APNICRANDNETAU
48       country                                             ZZ
49       address                                    PO Box 3646
50       address                       South Brisbane, QLD 4101
51       address                                      Australia
52         phone                                     +000000000
53        e-mail                             helpdesk@apnic.net
54       admin-c                                       AR302-AP
55        tech-c                                       AR302-AP
56       nic-hdl                                      AA1412-AP
57       remarks  Generated from irt object IRT-APNICRANDNET-AU
58       remarks helpdesk@apnic.net was validated on 2021-02-09
59 abuse-mailbox                             helpdesk@apnic.net
60        mnt-by                                    APNIC-ABUSE
61 last-modified                           2025-05-28T03:31:35Z
62        source                                          APNIC
63          role            APNICRANDNET Infrastructure Contact
64       address                                  6 Cordelia St
65       country                                             AU
66         phone                                +61 7 3858 3100
67        e-mail                             research@apnic.net
68       admin-c                                        AIC3-AP
69        tech-c                                        AIC3-AP
70       nic-hdl                                        AIC3-AP
71        mnt-by                             MAINT-APNICRANDNET
72 last-modified                           2024-07-18T04:37:37Z
73        source                                          APNIC
74         route                                     1.1.1.0/24
75        origin                                        AS13335
76         descr                 APNIC Research and Development
77        mnt-by                             MAINT-APNICRANDNET
78 last-modified                           2023-04-26T02:42:44Z
79        source                                          APNIC
> 
> # Grab WHOIS data for a hostname from a different whois server
> whois_query("bcable.net", server="whois.verisign-grs.com")
                                                key
1                                       Domain Name
2                                Registry Domain ID
3                            Registrar WHOIS Server
4                                     Registrar URL
5                                      Updated Date
6                                     Creation Date
7                              Registry Expiry Date
8                                         Registrar
9                                 Registrar IANA ID
10                    Registrar Abuse Contact Email
11                    Registrar Abuse Contact Phone
12                                    Domain Status
13                                      Name Server
14                                      Name Server
15                                           DNSSEC
16 URL of the ICANN Whois Inaccuracy Complaint Form
                                                                       val
1                                                               BCABLE.NET
2                                                264573669_DOMAIN_NET-VRSN
3                                                      whois.namecheap.com
4                                                 http://www.namecheap.com
5                                                     2025-10-23T05:59:24Z
6                                                     2005-11-22T17:59:39Z
7                                                     2026-11-22T17:59:39Z
8                                                          NameCheap, Inc.
9                                                                     1068
10                                                     abuse@namecheap.com
11                                                           +1.6613102107
12 clientTransferProhibited https://icann.org/epp#clientTransferProhibited
13                                              DNS1.REGISTRAR-SERVERS.COM
14                                              DNS2.REGISTRAR-SERVERS.COM
15                                                                unsigned
16                                             https://www.icann.org/wicf/
> 
> # Grab multiple vectorized results
> domains <- c("bcable.net", "4.2.2.4")
> whois_query(domains)
[[1]]
                                                key
1                                       Domain Name
2                                Registry Domain ID
3                            Registrar WHOIS Server
4                                     Registrar URL
5                                      Updated Date
6                                     Creation Date
7                              Registry Expiry Date
8                                         Registrar
9                                 Registrar IANA ID
10                    Registrar Abuse Contact Email
11                    Registrar Abuse Contact Phone
12                                    Domain Status
13                                      Name Server
14                                      Name Server
15                                           DNSSEC
16 URL of the ICANN Whois Inaccuracy Complaint Form
                                                                       val
1                                                               BCABLE.NET
2                                                264573669_DOMAIN_NET-VRSN
3                                                      whois.namecheap.com
4                                                 http://www.namecheap.com
5                                                     2025-10-23T05:59:24Z
6                                                     2005-11-22T17:59:39Z
7                                                     2026-11-22T17:59:39Z
8                                                          NameCheap, Inc.
9                                                                     1068
10                                                     abuse@namecheap.com
11                                                           +1.6613102107
12 clientTransferProhibited https://icann.org/epp#clientTransferProhibited
13                                              DNS1.REGISTRAR-SERVERS.COM
14                                              DNS2.REGISTRAR-SERVERS.COM
15                                                                unsigned
16                                             https://www.icann.org/wicf/

[[2]]
                key
1          NetRange
2              CIDR
3           NetName
4         NetHandle
5            Parent
6           NetType
7          OriginAS
8      Organization
9           RegDate
10          Updated
11              Ref
12          OrgName
13            OrgId
14          Address
15             City
16        StateProv
17       PostalCode
18          Country
19          RegDate
20          Updated
21          Comment
22          Comment
23          Comment
24          Comment
25          Comment
26          Comment
27          Comment
28          Comment
29          Comment
30          Comment
31          Comment
32          Comment
33          Comment
34          Comment
35          Comment
36          Comment
37          Comment
38          Comment
39          Comment
40          Comment
41          Comment
42          Comment
43          Comment
44          Comment
45          Comment
46          Comment
47              Ref
48   OrgAbuseHandle
49     OrgAbuseName
50    OrgAbusePhone
51    OrgAbuseEmail
52      OrgAbuseRef
53    OrgTechHandle
54      OrgTechName
55     OrgTechPhone
56     OrgTechEmail
57       OrgTechRef
58 OrgRoutingHandle
59   OrgRoutingName
60  OrgRoutingPhone
61  OrgRoutingEmail
62    OrgRoutingRef
                                                                                                                                                                                                                                                                             val
1                                                                                                                                                                                                                                                        4.0.0.0 - 4.127.255.255
2                                                                                                                                                                                                                                                                      4.0.0.0/9
3                                                                                                                                                                                                                                                                   LVLT-ORG-4-8
4                                                                                                                                                                                                                                                                  NET-4-0-0-0-1
5                                                                                                                                                                                                                                                           NET4 (NET-4-0-0-0-0)
6                                                                                                                                                                                                                                                              Direct Allocation
7                                                                                                                                                                                                                                                                               
8                                                                                                                                                                                                                                                  Level 3 Parent, LLC (LPL-141)
9                                                                                                                                                                                                                                                                     1992-12-01
10                                                                                                                                                                                                                                                                    2019-07-17
11                                                                                                                                                                                                                                     https://rdap.arin.net/registry/ip/4.0.0.0
12                                                                                                                                                                                                                                                           Level 3 Parent, LLC
13                                                                                                                                                                                                                                                                       LPL-141
14                                                                                                                                                                                                                                                         100 CenturyLink Drive
15                                                                                                                                                                                                                                                                        Monroe
16                                                                                                                                                                                                                                                                            LA
17                                                                                                                                                                                                                                                                         71203
18                                                                                                                                                                                                                                                                            US
19                                                                                                                                                                                                                                                                    2018-02-06
20                                                                                                                                                                                                                                                                    2024-06-17
21                                                                                                                                                                                                                 USAGE OF IP SPACE MUST COMPLY WITH OUR ACCEPTABLE USE POLICY:
22                                                                                                                                                                                                            https://www.lumen.com/en-us/about/legal/acceptable-use-policy.html
23                                                                                                                                                                                                                                                                              
24 ADDRESSES COVERED BY THIS ORG-ID ARE NON-PORTABLE ANY ISP ANNOUNCING OR TRANSITING PORTIONS WITHIN OUR RANGES SHOULD NOT RELY ON PRESENTED LOA'S OR OLD WHOIS UNLESS THOSE RANGES ARE ALSO ACTIVELY DIRECTLY ANNOUNCED TO A LUMEN ASN. WITH ALL LOA'S THESE CONDITIONS APPLY:
25                                                                                                                                                                                                                                                                              
26                                                                                            1. You are permitted to route the Lumen IP prefixes listed via Public BGP to your alternate ISP from the designated ASN. Any other ASN originating the prefix listed is forbidden.
27                   2. The Lumen IP prefixes listed can be routed via Public BGP to your alternate ISP as long as you remain an active customer with Lumen and continue to route the prefixes over at least one Lumen Internet circuit without significant traffic engineering.
28                                                      3. Should your Internet services with Lumen be discontinued, Lumen reserves the right to have your alternate ISP terminate the routing of the Lumen IP prefixes without advanced notification, should you fail to do so.
29                                                                                                 4. All IP Addresses assigned or allocated by Lumen to an end-user (customer or ISP) shall be considered non-portable and will be reclaimed by Lumen upon service termination.
30                                                                                                                                                                                     5. Lumen reserves the right to conduct audits to ensure the LOA conditions are being met.
31                                                                                                                                                              6. Usage of IP space must comply with our AUP https://www.lumen.com/en-us/about/legal/acceptable-use-policy.html
32                                                                                                                                                                                                                                                                              
33                                                                                                                                                                                                        Our looking glass is located at: https://lookingglass.centurylink.com/
34                                                                                                                                                                                                                                                                              
35                                                                                                                                                                                      For subpoena or court order please fax 844.254.5800 or refer to our Trust & Safety page:
36                                                                                                                                                                                                    https://www.lumen.com/en-us/about/legal/trust-center/trust-and-safety.html
37                                                                                                                                                                                                                                                                              
38                                                                                                                                                                                                                            For abuse issues, please email abuse@aup.lumen.com
39                                                                                                                                                                                                                                               All abuse reports MUST include:
40                                                                                                                                                                                                                                                                      * src IP
41                                                                                                                                                                                                                                                           * dest IP (your IP)
42                                                                                                                                                                                                                                                                   * dest port
43                                                                                                                                                                                                                            * Accurate date/timestamp and timezone of activity
44                                                                                                                                                                                                                                    * Intensity/frequency (short log extracts)
45                                                                                                                                                                                                                                      * Your contact details (phone and email)
46                                                                                                                                                                        Without these we will be unable to identify the correct owner of the IP address at that point in time.
47                                                                                                                                                                                                                                 https://rdap.arin.net/registry/entity/LPL-141
48                                                                                                                                                                                                                                                                    LAC56-ARIN
49                                                                                                                                                                                                                                                              L3 Abuse Contact
50                                                                                                                                                                                                                                                               +1-877-453-8353
51                                                                                                                                                                                                                                                              abuse@level3.com
52                                                                                                                                                                                                                              https://rdap.arin.net/registry/entity/LAC56-ARIN
53                                                                                                                                                                                                                                                                     APL7-ARIN
54                                                                                                                                                                                                                                                                ADMIN POC LVLT
55                                                                                                                                                                                                                                                               +1-877-453-8353
56                                                                                                                                                                                                                                                             ipadmin@lumen.com
57                                                                                                                                                                                                                               https://rdap.arin.net/registry/entity/APL7-ARIN
58                                                                                                                                                                                                                                                                    RPKIR-ARIN
59                                                                                                                                                                                                                                                                      RPKI-ROA
60                                                                                                                                                                                                                                                               +1-877-886-6515
61                                                                                                                                                                                                                                                            rpki-roa@lumen.com
62                                                                                                                                                                                                                              https://rdap.arin.net/registry/entity/RPKIR-ARIN

> 
> # Extract Country Info About IP Addresses
> ip_addresses <- c("1.1.1.1", "8.8.8.8")
> query_ret <- whois_query(ip_addresses)
[1] "Error in make.socket(server, 43): socket not established\n on connection, retrying..."
[1] "Error in make.socket(server, 43): socket not established\n on connection, retrying..."
[1] "Error in make.socket(server, 43): socket not established\n on connection, retrying..."
socket error: Connection reset by peer
[1] "Error in write.socket(conn, \"\\r\\n\"): ignoring SIGPIPE signal\n on header finalize, retrying..."
socket error: Broken pipe
socket error: Broken pipe
socket error: Broken pipe
socket error: Broken pipe
Error in strsplit(data, "\n") : non-character argument
Calls: whois_query ... sub -> is.factor -> mysub -> sub -> is.factor -> strsplit
Execution halted