Google Scholar - sjtug/kxsw GitHub Wiki

Resolve Google Scholar with IPv6 only

Google Scholar blocked most of DigitalOcean VPS IP(IPv4), so you should use IPv6 to access Google Scholar instead. Since shadowsocks-libev always resolves IPv4 first(It's not working for customizing IPv6 address in the /etc/hosts), you can resolve the scholar.google.* domain by yourself! Here we go!

I will show you some step by step instructions below.

  1. Set up and install Unbound DNS server, you can install it via apt-get install -y unbound in Debian/Ubuntu based linux box.
  2. Read the documentation of Unbound, you can find some useful guide in Unbound and Unbound DNS Server Tutorial @ Calomel.org.
  3. Config Unbound. Customize the AAAA records in the local-data section. unbound configurations for google scholar is a good reference is you don't wanna roll your own configurations.
  4. Put the Unbound DNS server at the first line of /etc/resolv.conf. Maybe you can put it in the /etc/resolvconf/resolv.conf.d/head to avoid overriding.
  5. Restart unbound and shadowsocks-libev service.