当前位置:网站首页>DNS domain name resolution
DNS domain name resolution
2022-07-25 04:01:00 【1701y】
Catalog
build DNS Domain name resolution server
DNS
Domain name management system DNS(Domain Name System) It means domain name resolution server , Application layer protocol , Is a service of the Internet . It can be used to IP A distributed database with address mapping , Can make people more convenient access to the Internet , Instead of remembering what can be read directly by the machine IP Number string .
DNS The role of
Forward analysis : Domain name converted to IP A Record
Reverse DNS :IP Convert to domain name P Record
DNS Query mode of
1 recursive query
Recursive query is a kind of DNS The query mode of the server , In this mode DNS
The server received a client request , You must reply to the client with an accurate query result .
If DNS The server does not store queries locally DNS Information , Then the server will ask other servers ,
And submit the returned query results to the client
2 Iterative query
DNS Another query method of the server is iterative query , When the client sends a query request ,DNS The server
Do not reply directly to the query results , Instead, tell the client another DNS Server address , Client redirection
The machine DNS The server submits the request , Loop back and forth until the result of the query is returned
DNS Domain name system

The process
1 First check the cache record of this machine
2 Inquire about hosts file
3 Inquire about dns Domain name server , hand dns Domain name server processing
4 This dns The server may be a local domain name server . There's also caching , If there is a direct return result , If not, proceed to the next step
5 Help the root domain server , The root domain server returns the top-level server that may know the result and asks him to find the top-level server
6 Help the top-level domain server , The top-level server returns the secondary domain server that may know the result and asks him to find the server
7 Turn to the secondary domain server , The secondary domain server found that it is my host , Find out ip The address is returned to the local domain name server
8 The local domain name server logs the results to the cache , Then put the domain name and ip The corresponding relationship is returned to the client
build DNS Domain name resolution server
Install the software bind

Turn off firewall

vim /etc/named.conf Modify global profile
Listening address We changed it to local
Which network segments can be used DNS service
vim /etc/named.rfc1912.zones Modify area profile
Forward analysis “yanxiaoyun.com" Area
The specified area data file is yanxiaoyun.com.zone

Configure forward zone data file
cd /var/named/
cp -p named.localhost yanxiaoyun.com.zone
wq preservation
systemstl start named ## start-up DNS
Switch to another host for testing

边栏推荐
- Which stock exchange has the lowest commission? Is online account manager safe to open an account
- Which securities company do retail investors choose for stock speculation? Is it safe to open an account on your mobile phone
- Cluster clock synchronization configuration
- Use of CCleaner
- .net6 miniapi (V): Options
- Force deduction question 3
- DNS resolution experiment
- Advanced numbers | [calculus of multivariate function] chain derivation method, implicit function derivation method, total differential form invariance, multivariate function extremum
- Implementing DDD based on ABP -- domain logic and application logic
- Server status code
猜你喜欢

ES(8.1)认证题目

基于SSH婴幼儿产品销售系统

High temperature in Britain: two airport runways were burnt out, and several railways were restricted to ensure safety

Network security - comprehensive penetration test -cve-2018-10933-libssh maintain access

使用 “display: flex;justify-content: center;align-items: center; ” 解决流式栅格布局无法居中的问题

DIY can decorate the mall system, you can also have!

NC | progress has been made in the study of the ecological network relationship between dissolved organic carbon and microorganisms in the context of global change
![[laser principle and application -5]: laser diode LD (laser diode) and laser diode driver (LD driver)](/img/1f/4e8ea92a93ed16d8e7944d4a5d22c9.png)
[laser principle and application -5]: laser diode LD (laser diode) and laser diode driver (LD driver)

Force deduction problem 238. product of arrays other than itself

Chapter 3 business function development (modify the remarks of market activities)
随机推荐
Bond network card mode setting
Servlet personal practice notes (I)
Chrome debugging skills
High temperature in Britain: two airport runways were burnt out, and several railways were restricted to ensure safety
How to do a good job in safety development?
Force deduction brush question 26. Delete duplicates in the ordered array
MySQL
Postgraduate entrance examination experience
Openharmony Mengxin contribution Guide
原创 | ueditor1.4.3-asmx绕过waf
Roleapp focuses on Web3 and opens the door of Web3 with the key of "data can be held"
Implementation of online number or fan query of the scene
Memory leak due to improper handling of custom view
Experience sharing of system architecture designers in preparing for the exam: how to prepare for the exam effectively
Unity: text input box for numerical judgment
Pytorch deep learning practice lesson 8 importing data
基于ABP实现DDD--领域逻辑和应用逻辑
To clarify the tax arrears: there is no tax arrears, and will continue to operate in compliance, rooted in China
CVPR 2022 | content aware text logo image generation method
Oracle uses FY_ recover_ Data recover truncate deleted data