How Linux looks at modifying DNS configuration

Source: Internet
Author: User
Tags domain name server
Introduction to DNS Servers

DNS is the abbreviation for a computer domain Name System or domain name Service, which consists of a domain name resolver and a domain name server. A domain name server is a domain name and corresponding IP address that holds all the hosts in the network, and a server that converts the domain name to the IP address feature. Where the domain name must correspond to an IP address, an IP address can have more than one domain name, and the IP address does not necessarily have a domain name. The domain Name system uses a hierarchical structure similar to the directory tree. A domain name server is typically a server side in client/server mode, and it has two main forms: the primary and the forward server. The process of mapping a domain name to an IP address is called "Domain name resolution." The DNS server is the one that provides the DNS service. A DNS server can be divided into three cache servers (cache-only server), a primary server (Primary name server), and a secondary server (Second name server).

Generally operating domain names preferably have two or more DNS servers, one is called the primary domain name server, and the other is called from the domain name server. A second DNS server is typically used for failover: if one is down, the other is activated as a DNS server.

To view DNS information for a server

How do you view the configured DNS server information in a Linux system? Generally there are several methods
1: View/etc/resolv.con file

[Email protected] ~]# cat/etc/resolv.conf
NameServer 192.168.xxx.xxx
#search Localdomain
[Email protected] ~]#

How Linux looks at modifying DNS configuration

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.