diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 06:12:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 06:12:45 +0000 |
commit | 24608d01bff61b22ec3e22926a01252d65129407 (patch) | |
tree | a5001c58be3224143f38baf05b4003993e888651 | |
parent | Adding upstream version 5.5.21. (diff) | |
download | whois-24608d01bff61b22ec3e22926a01252d65129407.tar.xz whois-24608d01bff61b22ec3e22926a01252d65129407.zip |
Adding upstream version 5.5.22.upstream/5.5.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | new_gtlds_list | 2 | ||||
-rw-r--r-- | tld_serv_list | 4 | ||||
-rw-r--r-- | whois.c | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/new_gtlds_list b/new_gtlds_list index 30d675c..5152842 100644 --- a/new_gtlds_list +++ b/new_gtlds_list @@ -73,7 +73,6 @@ auspost author auto autos -avianca aws axa azure @@ -415,7 +414,6 @@ green gripe grocery group -guardian gucci guge guide diff --git a/tld_serv_list b/tld_serv_list index 4ee012a..f4aa500 100644 --- a/tld_serv_list +++ b/tld_serv_list @@ -99,7 +99,7 @@ .bi whois1.nic.bi .bj whois.nic.bj #.bl -.bm whois.afilias-srs.net +.bm whois.nic.bm .bn whois.bnnic.bn .bo whois.nic.bo #.bq @@ -353,7 +353,7 @@ .vc whois2.afilias-grs.net .ve whois.nic.ve .vg whois.nic.vg -.vi WEB https://secure.nic.vi/whois-lookup/ +.vi whois.nic.vi .vn WEB http://www.vnnic.vn/en .vu whois.dnrs.vu .wf whois.nic.wf @@ -347,7 +347,7 @@ int handle_query(const char *hserver, const char *hport, sockfd = openconn(server + 1, NULL); free(server); server = query_crsnic(sockfd, query); - if (no_recursion) + if (no_recursion && server) server[0] = '\0'; break; case 8: @@ -356,7 +356,7 @@ int handle_query(const char *hserver, const char *hport, sockfd = openconn(server + 1, NULL); free(server); server = query_afilias(sockfd, query); - if (no_recursion) + if (no_recursion && server) server[0] = '\0'; break; case 0x0A: |