mirror of
https://github.com/rfc1036/whois.git
synced 2026-04-03 06:40:52 +00:00
Compare commits
6 Commits
e30931d958
...
b0920c9748
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0920c9748 | ||
|
|
980539ec23 | ||
|
|
d31347a39e | ||
|
|
f1d74f377f | ||
|
|
816f7adb8c | ||
|
|
f31128ed0d |
@ -45,7 +45,7 @@
|
||||
.gov.wales whois.nic.gov.wales
|
||||
|
||||
.edu whois.educause.edu
|
||||
.gov whois.dotgov.gov
|
||||
.gov whois.nic.gov
|
||||
.int whois.iana.org
|
||||
.mil NONE
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
.cat whois.nic.cat
|
||||
.coop whois.nic.coop
|
||||
.info RECURSIVE whois.nic.info # whois.identitydigital.services
|
||||
.jobs whois.nic.jobs
|
||||
.jobs NONE
|
||||
.mobi RECURSIVE whois.nic.mobi # whois.identitydigital.services
|
||||
.museum whois.nic.museum
|
||||
.name whois.nic.name
|
||||
@ -230,7 +230,7 @@
|
||||
.mr whois.nic.mr
|
||||
.ms whois.nic.ms
|
||||
.mt whois.nic.org.mt
|
||||
.mu whois.nic.mu
|
||||
.mu whois.tld.mu
|
||||
.mv NONE # NIC? www.dhiraagu.com.mv
|
||||
.mw whois.nic.mw
|
||||
.mx whois.mx
|
||||
@ -385,8 +385,8 @@
|
||||
.xn--clchc0ea0b2g2a9gcd whois.ta.sgnic.sg # Singapore, Tamil
|
||||
.xn--d1alf whois.marnet.mk # Macedonia
|
||||
.xn--e1a4c whois.eu # European Union, Cyrillic
|
||||
.xn--fiqs8s cwhois.cnnic.cn # China, Simplified Chinese
|
||||
.xn--fiqz9s cwhois.cnnic.cn # China, Traditional Chinese
|
||||
.xn--fiqs8s whois.cnnic.cn # China, Simplified Chinese
|
||||
.xn--fiqz9s whois.cnnic.cn # China, Traditional Chinese
|
||||
.xn--fpcrj9c3d whois.registry.in # India, Telugu
|
||||
.xn--fzc2c9e2c whois.nic.lk # Sri Lanka, Sinhala
|
||||
.xn--gecrj9c whois.registry.in # India, Gujarati
|
||||
|
||||
6
whois.c
6
whois.c
@ -1040,6 +1040,12 @@ char *query_server(const char *server, const char *port, const char *query)
|
||||
err_quit(_("Catastrophic error: disclaimer text has been changed.\n"
|
||||
"Please upgrade this program.\n"));
|
||||
|
||||
/* defensive programming: make sure to avoid trivial referral loops */
|
||||
if (referral_server && streq(server, referral_server)) {
|
||||
free(referral_server);
|
||||
referral_server = NULL;
|
||||
}
|
||||
|
||||
return referral_server;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user