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
Refer:Http://developer.yahoo.com/performance/rules.html#dns_lookups
DNSJust like the phone book, search for the specified website'sIPAddress. Search onceDNSGenerally20-120Milliseconds.
The Domain Name System (DNS) maps hostnames to IPAddresses,
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
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
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
There are two types of search zones in the DNS server for Windows 2000: Forward lookup Zones and reverse lookup zones. The forward lookup zone is used to process forward parsing, which resolves the host name to an IP address, and the reverse lookup
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 is one of the core Internet protocols. Whether it's surfing the web or programming, you need to know a little bit about it.This article describes in detail The principle of DNS and how to use the tool software to observe its operation. My goal
Yahoo's YSlow plugin one of the rules: rule 9–reduce DNS Lookups mentioned:
Reducing the number of unique hostnames has the potential to reduce the amount of parallel downloading The page. Avoiding DNS lookups cuts response times, but reducing 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.