Giter Site home page Giter Site logo

dev_dns's Introduction

apt-get install dnsmasq -y

56 # Example of routing PTR queries to nameservers: this will send all 57 # address->name queries for 192.168.3/24 to nameserver 10.1.2.3 58 #server=/3.168.192.in-addr.arpa/10.1.2.3

/etc/hosts

/etc/hostname

/etc/reslov.com

2 # Add the IPs of all queries to yahoo.com, google.com, and their 73 # subdomains to the vpn and search ipsets: 74 #ipset=/yahoo.com/google.com/vpn,search

fully qualified domain names

Ubuntu14.04修改DNS服务

http://www.netroby.com/view.php?id=3630#.U4aRT_mSzVo

Persist dns nameserver for ubuntu 14.04

If you are using ubuntu 14.04, you may find you can not setting dns on your /etc/resolv.conf

This is because ubuntu using resolvconf to manage the dns setting, every times system boot, resolvconf will regenerate resolv.conf file.

But there always have way to do this.

vim /etc/resolvconf/resolv.conf.d/head

put your nameserver list in

nameserver 8.8.8.8 nameserver 8.8.4.4 then run

resolvconf -u

this command tell resolvconf to regenerate the resolve file

enjoy it.

dev_dns's People

Contributors

perfectfoolish 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.