Compare commits

...

6 Commits

Author SHA1 Message Date
Marco d'Itri
b0920c9748
Update the .mu TLD server
Same server, different name.
2025-05-06 01:22:23 +02:00
Marco d'Itri
980539ec23
Update the .gov TLD server
Same server, different name.
2025-05-06 01:21:15 +02:00
Marco d'Itri
d31347a39e
Update the .中國 (.xn--fiqz9s) TLD server
Same server, different name.
2025-05-06 01:21:06 +02:00
Marco d'Itri
f1d74f377f
Update the .中国 (.xn--fiqs8s) TLD server
Same server, different name.
2025-05-06 01:18:42 +02:00
Marco d'Itri
816f7adb8c
Remove the .jobs TLD server
Not accepting TCP connections, not in the IANA database anymore.
2025-05-06 01:15:16 +02:00
Marco d'Itri
f31128ed0d
Make sure to avoid trivial referral loops
In theory loops should not happen for domains, because recursion is
enabled only for the server names listed in server_referral_handlers[],
but better be safe than sorry.
2025-05-06 00:37:23 +02:00
2 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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;
}