the following command to set the host name of the current host: Sudo/bin/hostname newname when the system starts, it Etc/hostname to read the name of the host. 5. Configure DNS First, you can add some host names and IP addresses for these host names in/etc/hosts, which is a static query that uses native computers simply. To access the DNS
Preface:If you are lucky to be seen by a friend and find something wrong in this article, you may want to criticize and correct it. If you have any questions, we hope you can discuss them together.
Because I have not registered a valid domain name, I only need to configure the DNS server in my LAN.
DNS Environment Planning
Vm
DNS is the basic service of the internet, and bind is the most popular open-source DNS software. Because it is very popular, it is very aggressive. Therefore, we need to build a secure DNS server. There are several measures to build a secure DNS Service (for basic bind compi
addresses for these host names in/etc/hosts, which is a static query that uses native computers simply. To access the DNS server for querying, you need to set the/etc/resolv.conf file. Assume that the IP address of the DNS server is the contents of the 203.171.230.6 resolv.
Domain Name Systems Dns:domain Name System
A distributed network directory service, which is mainly used for the mutual conversion between domain name and IP address.
Use UDP protocol 35 ports for communication.
How to work: in order to map a domain name to an IP address, the application invokes a program called a parser that transmits the domain name as a parameter to the program, and the parser encapsulat
1. The public port of DNS protocol is 53, which is commonly used for UDP encapsulation (TCP encapsulation can also be used ).
DNS (Domain Name System) is a distributed database (IP-name)
2. concepts:
(1) The DNS domain name can contain a maximum of 63 characters, regardless of case. For example, top-level (level-1) do
We have completed most of the work before configuring static IP addresses, DNS settings, and host names in Linux. However, a small part of the work will be continued here. Continue with the article for configuration, soon you will complete a server host.
③ Configure the secondary DNS
Easily convert IP addresses and DNS settings
Problem description:
For people who use laptops, they may often need to use them in different networks, such as the company network, customer network, or home broadband network. For this reason, you often need to set IP addresses and DNS servers based on the no-need network.
And then, in the unfinished part of section nineth, we'll go on to explore the properties of the DNS server, the main content today is the Advanced tab, which is also an important part of the DNS attribute, but interestingly, we rarely modify the content here. However, the meaning of each option needs to be carefully understood.
Open the
At present, many enterprises and institutions have set up units within the LAN, the internal network are equipped with related servers (such as Web, FTP and other servers). Internal network users want all servers to use domain names to access, network administrators can use the way to build a DNS server to achieve.
Set up a DNS
compile and install
#/Usr/local/named/sbin/rndc-confgen>/usr/local/named/etc/rndc. conf generate the key file of the rndc control command
# Tail-10/usr/local/named/etc/rndc. conf | head-9 | sed s/# \ // g>/usr/local/named/etc/named. conf from rndc. extract named. key used by conf
# Vi/usr/local/named/etc/named. conf edit named. conf
Add the following content to named. conf:
# Specify the resource file storage path and pid file name.
Options {
Directory "/usr/local/named/
People may have such a puzzle: computers on the network can only identify such as "123.123.123.123" such as digital address, so why when we open the browser, in the Address bar to enter the domain name dns.qy.com.cn, we can see the page we need?
In fact, just an IP address and domain name each other "translation" process. The former has to establish a domain name Mapping record that points to the corresponding IP
Overview: What is DNS spoofing?
DNS Spoofing is the art of changing the original IP address of DNS. For better understanding, let's look at an example. If you want to use a browser to search for some information on Google, you can enter the information in the address bar without a doubt.
Www.google.com
And press Enter
Recently found that a number of installation Win8.1 system users encountered Win8.1 application store and Updata Automatic Updates, the presence of the application store can not open and can not get automatic update information and so on. And these two kinds of problems, we can usually modify the DNS server address to be resolved, so the following article will be a detailed introduction to the next Win8.1 h
Concept FinishingAlthough the common protocol is easy to understand, but after looking after a period of time not to see or easy to forget, note the following, more fragmented, reluctantly for you to review. If there is a mistake, please correct me.DNS ProtocolThe role of the DNS protocol is to resolve the domain name to IP, the number of domain names is very large, and the corresponding relations
D:/>netshNetsh>ipNetsh>interfaceNetsh interface>ipCommands in this context:Set address-Sets the IP or default gateway for the specified interface.Set DNS-sets the DNS server mode and address.Set wins-sets the WINS server mode and address.netsh interface
Tags: file handle relative path CDC receive sbin data notation Windows ASI"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
achieve communication between the two networks, you must pass through the gateway. If the host in Network a discovers that the destination host for the packet is not on the local network, forwards the packet to its own gateway, which is then forwarded by the gateway to Network B's gateway, and the gateway of Network B is forwarded to a host on network B. The same is true of network B's process of forwarding packets to network A. Therefore, only if the IP
Use DNS-views to resolve IP addresses in different regions-Linux Enterprise Application-Linux server application information. For more information, see the following section.
I. Introduction
In actual network applications, we sometimes hope that the same Domain Name can be resolved to different corresponding IP address
found12-dec-2005 13:55:46. 825 listening on IPv4 interface fxp0, 219.132.1.1 #5312-dec-2005 13:55:46. 825 listening on IPv4 interface lo0, 127.0.0.1 #53......12-dec-2005 13:55:46. 866 runningAs long as there is the last line, your configuration is basically successful.Press Ctrl + C on the keyboard to stop BIND 9 first.
6. Add an NSWhen you modify the domain name information, you will find that there is a DNS information modification, there will be s
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.