diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 06:12:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 06:13:01 +0000 |
commit | 72664c2d113df3360efff9cf1395a5cd8f29c92e (patch) | |
tree | 1ccbb5c5ef53a43a4aad82189d971113240afebb | |
parent | Releasing progress-linux version 5.5.21-0.0~progress7.99u1. (diff) | |
download | whois-72664c2d113df3360efff9cf1395a5cd8f29c92e.tar.xz whois-72664c2d113df3360efff9cf1395a5cd8f29c92e.zip |
Merging upstream version 5.5.22.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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: |