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
The Linux hostname and FQDN (Fully qualified Domain Name) have been confusing for a long time, and today they are dedicated to figuring out the details of their use.First, set Hostname/fqdnSetting up hostname in a Linux system is simple, such as:$
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
DNS is an application-level protocol, and DNS provides a mechanism for translating a human-readable hostname or domain name into a computer or network-readable digital address, making it possible for the wide application of the interconnection
Each IP address can have a host name that consists of one or more strings separated by a decimal point. With the hostname, do not memorize each IP device IP address, just remember the relative intuitive meaningful host name on the line. This is the
Linux hostname has been developing for a long time. Here I will share my personal understanding. Next I will talk about Linux hostname. Today, I began to write network documents again. I first wrote a smaller trainer and planned a larger basic
Each computer in the Internet has a unique IP address that can be connected to the corresponding host by IP address. However, the IP address is a number of abstract numbers, inconvenient memory, it is best to use some meaningful combination of
Many applications will involve FQDNsWhat is the difference between a fqnd and a host that the salt gets to be different?The FQDNYou can ' t change the FQDN (as returned by hostname--fqdn) or the DNS domain name (as returned by DnsDomainName) with
DNS domain name resolution
The purpose of the domain name resolution is to convert the website name that users use to the TCP/IP protocol, and hostname is just convenient for people to remember, after all, IP is a pure digital address to the user
There are many solutions, such as using Windows2000 or WindowsServer2003 to provide Network Load balancing services, but the settings for this service are complex. And it is a simple method to realize Network Load Balancing through DNS server.
The
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.