A simple library and command-line tool to check domain name availability in bulk using the RDAP protocol, a simple protocol meant to replace WHOIS.
This module is also available on deno.land/x.
Run once using:
deno run --allow-net https://deno.land/x/rdapcheck/cmd.ts
Compile the client into a portable executable using:
deno compile -o rdapcheck --allow-net https://deno.land/x/rdapcheck/cmd.ts
Install the client using:
deno install -n rdapcheck --allow-net https://deno.land/x/rdapcheck/cmd.ts
Binary executables are available for the latest release.
rdapcheck [OPTIONS] DOMAINS...
The available options are:
-q
or--quiet
: Only print the names of the domains that are available-p
or--progress
: Print the number of domains processed so far-c
or--chunk-size
: The number of domains to process in parallel. Set to 10 by default
DOMAIN
can be a domain name or a pattern with wildcards that rdapcheck
will fill in with every possible value.
The available wildcards are:
*
: Matches any letter, number or hyphen, "-"?
: Matches any letter#
: Matches any number
$ rdapcheck johndoe.xyz
johndoe.xyz is not available
$ rdapcheck aaa.net bbb.org asldkfjal.com johndoe.xyz
aaa.net is not available
bbb.org is not available
asldkfjal.com is available
johndoe.xyz is not available
$ rdapcheck -q aaa.net bbb.org asldkfjal.com johndoe.xyz
asldkfjal.com
$ rdapcheck -q 'ex?mple.com' 'johndoe#.net'
exbmple.com
excmple.com
exdmple.com
exfmple.com
...
exrmple.com
extmple.com
exumple.com
johndoe0.com
johndoe1.com
...
johndoe5.com
johndoe6.com
johndoe8.com
johndoe9.com
This tool was completed over the course of one afternoon by referring to the following sources:
- ICANN RDAP overview
- ICANN lookup tool
- RFC 7483
- ARIN page on Whois and the RDAP protocol
- The IANA RDAP bootstrapping registry
- RFC 8605
- RFC 8977
- RFC 9082
- RFC 9083
- RFC 7484
For more information on the latest standardization efforts on RDAP, see the RFC Editor's RDAP page.