7 lines
377 B
Bash
Executable file
7 lines
377 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# This script will download the list of domain registrars from iana.org
|
|
#
|
|
wget -O data/registrar-ids.xml https://www.iana.org/assignments/registrar-ids/registrar-ids.xml
|
|
wget -O data/rdap_tech_specs.pdf https://www.icann.org/en/system/files/files/rdap-technical-implementation-guide-15feb19-en.pdf
|
|
|
|
cat data/registrar-ids.xml | xq > data/registrar_ids.json
|