Giter Club home page Giter Club logo

adguardhome's Introduction

脚本用途

在用科学上网的时候,我们经常会发现一个问题:明明已经科学上网了,但是为什么手机上的Google Play Store依然不能正常连接,只有手机设置为全局上网的时候才可以登陆Play Store (从服务器检索信息时出错。[DF-DFERH-01])。根本原因其实在于,国行手机里即使预装了Google的服务套件,其中的services.googleapis.com被修改为service.googleapis.cn,这个域名指向的是国内的IP,你当然不可以借此登陆到Play Store上啦。那怎么做可以让services.googleapis.cn指向真实的services.googleapis.com的IP呢?你可能会想到,修改DNS!是的,但是还有一个问题,google的服务器IP是经常会变动的,总不能每天去更新吧?这时候,shell script就派上用场了

本文是基于smartdns作为dnsmasq上游NDNS时,对smartdns的配置文件进行更改。如果只有dnsmasq,请参考类似方法,修改dnsmasq的配置文件

adguardhome's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.