3 ms·
WARNING: don't use subdomains if you want users in China to be able to get to your site. By default, most/all subdomains managed like this do not get put in Ch
by jhancock 18y ago
WARNING: don't use subdomains if you want users in China to be able to get to your site. By default, most/all subdomains managed like this do not get put in China's DNS properly. Get used to life with the great firewall, it is what it is ;)
- nocivus 18y agoReally? Do you know why that happens? Is it intentional, from their government?
- jhancock 18y agoThere is no published policy for how and why things get blocked. The behavior of the firewall changes over time. The subdomains problem seems to do more with DNS replication and pessimistic acceptance of DNS records more so than a person actually censoring content.
- jonknee 18y agoI still manage to get spam from China on a site with subdomains. It would actually be a feature if I could easily block all of China.
- tannerhiland 18y agoYou can always do a country lookup from APNIC that will give you all of the IP's assigned to China (or any other country that regional registrar manages). http://www.apnic.net/apnic-bin/ipv4-by-country.pl?country=CN http://www.apnic.net/apnic-bin/ipv4-by-country.pl?country=CN I wrote a script a while back that parses that list and creates an access-list for country blocking. Maybe I'll put it online one day. At least that's how us network folk do it.
- jhancock 18y agoits not an absolute. but if you count on subdomains working for your users, you will be disappointed. And if you think only spamming happens from China, you haven't compared the current account balances of the U.S. and China lately ;).