For details about dns settings in linux-Linux Enterprise Application-Linux server application, see the following. ① Introduction
DNS is the Domain Name System, which can convert a Domain Name such as www.21php.com to an IP address such as 211.152.50.
Create a DNS server on Linux-Linux Enterprise Application-Linux server application information. For more information, see. I. Assumptions
Many DNS articles start with the DNS principle. From the perspective of my use, I will provide some simple and
"The main content of this blog post"
Introduction to bind server (including Introduction to Client Tools Dig)
Configuring forward parsing DNS servers
Configure Reverse resolution DNS server
Configuring a secondary DNS server and
Users who frequently access the Internet may often go to large websites such as Sina and Sohu. They only need to enter their URLs in the browser to access the website. It seems very simple, but technically speaking, but it contains a complicated
ConceptDefault dns lookup sequence for linux clients:
Local DNS Cache → local hosts file → preferred DNS server (recursive)
Linux DNS Server Query sequence:The DNS cache of the preferred server → the domain in which the preferred server is
Dns.c
Copy Code code as follows:
/*
* DNS Query Program on Linux
*
* author:ismdeep@live.com
*
* */
Header Files
#include #include #include #include #include #include #include
List of DNS Servers registered on the systemChar
DNS ServiceDNS: Domain Nsme ServiceRole: Resolving the domain name to IP (forward parsing) or resolving IP to a domain name (reverse parsing)Classification of DNS top-level domains:Organization domain:. com. net. org .....Country domain:. CN. tw. JP
One, the role of domain from DNS serverAs we mentioned in our previous essay, there are generally three types of DNS servers, one is primary DNS server (primary DNS server), one is secondary DNS server (from DNS servers), and the other is caching
Transferred from: http://369369.blog.51cto.com/319630/812889The principle of DNS and its parsing processWonderful anatomyMost of the network traffic is based on TCP/IP, and TCP/IP is based on the internet, so when the computer communicates on the
The configuration file is located:/Etc/sysconfig/network-ScriptS/ifcfg-eth0Device = eth0Onboot = YesBootproto = staticIpaddr = 192.168.0.3Netmask = 255.255.255.0Gateway = 192.168.0.1
Make the IP address take effect:/Sbin/ifdown eth0/Sbin/IFUP
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.