Giter VIP home page Giter VIP logo

dns's Introduction

说明

供墙内用户使用google youtube 都可以,有问题发issue

使用方法

  • 1首先安装好docker
  • 2启动dns服务
# 直接执行命令,不用拉取项目
docker run -d --name dns -p 53:53/tcp -p 53:53/udp --restart always --cap-add=NET_ADMIN firesh/dns --log-facility=-
  • 3设置dns,本机设置dns为127.0.0.1即可。

Build

docker build -t dns . &&\
docker run -d --name dns -p 53:53/tcp -p 53:53/udp --restart always --cap-add=NET_ADMIN firesh/dns --log-facility=-

更新日志:

20161103: google,youtube的老IP已无法访问,更新了新IP。已同步发到docker hub镜像。
20161121: google IP已经不稳定,更换新IP。
20170307: 更新github使用的amazon s3地址
20170308: 更新fb地址, 移除某cdn不可用的地址
20170309: 增加gist.github.com地址
20170314: 移除fonts.googleapis.com地址, 官方有国内ip的cdn
20170627: 更新googleusercontents ip address
20170706: 原google IP 不可用,已更新
20170925: 原google IP 不可用,已更新

重新部署最新的dns服务步骤

docker pull firesh/dns && \
docker rm -f dns && \
docker run -d --name dns -p 53:53/tcp -p 53:53/udp --restart always --cap-add=NET_ADMIN firesh/dns --log-facility=-

申明

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.