Intranet Simple DNS System

Source: Internet
Author: User
Tags nameserver

Intranet DNS System

Function: Resolve intranet domain name and Dns-cache

Software: DNSMASQ

One. Installation
Yum-y Install DNSMASQ
Two. Server Configuration
1.vi/etc/resolv.conf using the DNSMASQ server when querying domain names locally
NameServer 127.0.0.1
2.vi/etc/dnsmasq.conf
RESOLV-FILE=/ETC/DNSMASQ.RESOLVCONF Specifies the DNS server files read from the upper layer
no-hosts specifies that the system default/etc/hosts file is not read
addn-hosts=/etc/dnsmasq_hosts specifies a hosts file that DNSMASQ reads
Strict-order is read strictly according to the server set order in the file specified by the Resolv-file parameter
3.vi/etc/resolv.dnsmaq.conf specifying upper-level servers
NameServer 202.106.46.151
4.touch/etc/dnsmasq_hosts Create a Hosts file that DNSMASQ read
Three. Client Configuration:
Vi/etc/resolv.conf
NameServer 192.168.7.163
Search lqhs.com

Three. Start
/ETC/INIT.D/DNSMASQ start
Chkconfig--level 235 DNSMASQ on

Intranet Simple DNS System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.