Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
add 4 valid subdomains of za with their whois servers: co.za, net.za,…
Browse files Browse the repository at this point in the history
… org.za, web.za
  • Loading branch information
rl-devops committed Dec 31, 2022
1 parent 0adadae commit 0f7ce3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions whois/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
SLOW_DOWN = 0

Map2Underscore = {
".co.za": "co_za", # south africa
".web.za": "web_za", # south africa
".org.za": "org_za", # south africa
".net.za": "net_za", # south africa
#
".com.eg": "com_eg", # egypt
".ac.uk": "ac_uk",
".co.uk": "co_uk",
Expand Down
5 changes: 5 additions & 0 deletions whois/tld_regexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,6 +1153,11 @@
"extend": "com",
}

web_za = { "extend": "za", "_server": "web-whois.registry.net.za" }
org_za = { "extend": "za", "_server": "org-whois.registry.net.za" }
net_za = { "extend": "za", "_server": "net-whois.registry.net.za" }
co_za = { "extend": "za" , "_server": "coza-whois.registry.net.za"}

gy = {
"extend": "com",
}
Expand Down

0 comments on commit 0f7ce3e

Please sign in to comment.