deny from 180.76.15.0/24
but I think that iptables or ufw firewalls are a better way to go than .htaccess
Baidu is velly sneeky ...
Code:
root@(none):~# dig ANY baidu.com
; <<>> DiG 9.7.3 <<>> ANY baidu.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9342
;; flags: qr rd ra; QUERY: 1, ANSWER: 15, AUTHORITY: 0, ADDITIONAL: 2
;; QUESTION SECTION:
;baidu.com. IN ANY
;; ANSWER SECTION:
baidu.com. 7200 IN SOA dns.baidu.com. sa.baidu.com. 2012136870 300 300 2592000 7200
baidu.com. 7200 IN TXT "v=spf1 include:spf1.baidu.com include:spf2.baidu.com include:spf3.baidu.com a mx ptr -all"
baidu.com. 7200 IN TXT "google-site-verification=GHb98-6msqyx_qqjGl5eRatD3QTHyVB6-xQ3gJB5UwM"
baidu.com. 7200 IN MX 20 mx50.baidu.com.
baidu.com. 7200 IN MX 10 mx.n.shifen.com.
baidu.com. 7200 IN MX 20 mx1.baidu.com.
baidu.com. 7200 IN MX 20 jpmx.baidu.com.
baidu.com. 539 IN A 123.125.114.144
baidu.com. 539 IN A 220.181.57.217
baidu.com. 539 IN A 111.13.101.208
baidu.com. 86400 IN NS ns4.baidu.com.
baidu.com. 86400 IN NS ns7.baidu.com.
baidu.com. 86400 IN NS dns.baidu.com.
baidu.com. 86400 IN NS ns3.baidu.com.
baidu.com. 86400 IN NS ns2.baidu.com.
;; ADDITIONAL SECTION:
mx1.baidu.com. 300 IN A 61.135.163.61
jpmx.baidu.com. 7200 IN A 61.208.132.13
;; Query time: 252 msec
;; SERVER: 75.127.97.7#53(75.127.97.7)
;; WHEN: Wed Sep 20 19:56:06 2017
;; MSG SIZE rcvd: 509