当前位置:网站首页>Introduction to the principle of DNS
Introduction to the principle of DNS
2022-07-05 12:52:00 【Shizhenzhen's grocery store】
author : Shi Zhenzhen , CSDN Blog star Top5、Kafka Contributor 、nacos Contributor、 Hua Wei Yun MVP , Tencent cloud TVP, sound of dripping water Kafka technician 、LogiKM PMC( Change of name KnowStream).
Send books at the end of the article 5 Ben
Catalog

One 、 Ubiquitous threats
1. Preface
Relevant codes as the core assets of the company 、 Documents exist in our office environment , Many companies have written regulations that these core assets cannot be spread , But many times our computers have many threats , For example, phishing websites , Hacking Trojan horse and so on .
Some time ago, it was reported that NVIDIA's core code was under threat , Some core secrets of Intel have also been leaked , These shocking cases always remind us that we need to pay attention to the security of the office network .
2. Protection ideas
Many times, the reason why we get caught is that we visit websites that we shouldn't visit or open software that we shouldn't open , In essence, we exchange information with unknown websites , So if we maintain a list of dangerous websites , Just don't visit ? And now many websites have cdn Speed up our access , If we can access different acceleration nodes according to our location, we can even optimize the quality of our network , All the ideas are related to one called DNS It's all about .
Two 、DNS What is it?
1. Principle introduction
DNS: The domain name system (DomainNameSystem)
A core service of the Internet , Equivalent to the Internet GPS, It can be seen as a huge address book , When the host accesses the domain name , hold The URL is parsed into the corresponding IP Address .
Generally speaking , We will have a local cache DNS, If the local cache DNS
When there is no time, you will access the specified DNS The server goes to find the target address . Like the picture above ,DNS The server will find its own address book and return it to the terminal .
2. Tradition DNS The problem of
From the principle, we know that our network access mainly depends on DNS The server , however DNS Where does the address book in the server come from ? This is DNS The root domain name server in the infrastructure of .
For example, we visit baidu.com, But our DNS When there is no corresponding address in the server, it is the process in the following figure :
So our access speed will depend on DNS Does the server have this cache , If not, recursive access will take too long .
In addition, the final address we access depends on the records in a domain name server , quite a lot cdn The implementation of is to visit different top-level domain name servers and resolve to different locations to achieve acceleration , It's not particularly accurate .
And if we are in some bad online environment ( Internet cafes in childhood ) You can see many advertising pages on any page , One reason is DNS hijacked , In fact, no matter you go to any website, you will find a specific ip, Then it will add many small advertisements to the website you visit and return them to you .
Last , Remember that Russia was sanctioned , The way to erase Russia from the Internet is actually as long as the top-level domain name service and sub domain name servers restrict Russia ip Address access can be done , It's also a project that gets stuck .
3、 ... and 、 How to optimize
1. Solutions
With the above knowledge , We can have some optimization ideas .
We set up a local DNS The server , Record all analytic contacts , Then put all the dangerous ip Screen out , Then according to different visits ip To resolve to different cdn Accelerating the server can achieve our goal of optimization and security ?
But it seems a little too troublesome , Is there any ready-made solution ?
2. Out of the box way

The way mentioned above is actually OneDNS The core operation mode of , And because it is finished software , The information collected will be more comprehensive than ours , Improve more security . And the public service version of the software recently announced that it will be permanently free .
From the above DNS Knowledge points we find that it will have many advantages :
- light : Light access , Light operation and maintenance .10 Minutes to deploy , Detection upon access / Intercept , Visual management of multi branch workplace with a single console ;
- steady :9 Annual stability 100% Non disruptive operation , Automatic load balancing 、 Automatic failover , National Intelligence acceleration ;
- accurate :99% Accuracy of threat detection , The cloud Threat Intelligence base is updated in real time ;
- whole : Common office scenarios in enterprises are fully supported , Office terminal types are fully covered .
3.OneDNS The future of

OneDns In addition to the official announcement, the public service edition is permanently free , There are also major updates , such as :
- On a national scale OneDns Node expansion , Provide better parsing services with higher performance , In particular, the number of service nodes in Beijing, Shanghai and Guangzhou has more than doubled ;
- Full support IPv6, And support dynamic lines DDNS distinguish , Give Way OneDNS The public service version has a more comprehensive network access capability , Serve a broader group of enterprise users ;
- Lighter and quieter Agent.OneDNS To optimize the Agent, Support silent installation 、 Silent operation , Make it easier for enterprises to manage remote office terminals , At the same time, it does not compete for terminal resources , Does not affect the end user experience ;
- Make the switch between public service version and enterprise version more smooth , Provide more flexible choices for enterprise office network security .
5、 ... and 、 summary

OneDns utilize DNS Optimize our network quality and improve security , It provides us with out of the box DNS Server Solutions
And it's free forever , It is strongly recommended that you try it yourself , As long as you register, you can try it for free. Move your little finger to apply .
Of course, if you are right DNS Domain name resolution catch up with interest or have any questions , Can contact me to communicate , We study together, make progress and become stronger .
Give away books :《 Statistical analysis ( With R Language is a tool )》
Free quantity :5
Gift rules : This article will be shared for three times
Enter the lottery group : Jiazhen brother's welfare assistant enters the Group ( szzdzhp002 ) Reply code : 18
This book focuses on classical statistical methods and R Language tools , Starting from the basic statistical description analysis method , Parameter estimation and hypothesis testing are explained 、 Linear regression 、 Logical regression 、 Dimension reduction analysis method , Each chapter focuses on a classical method or statistical model , Basic definition 、 Model form 、 The derivation and interpretation of statistical methods are explained in detail . Besides , In order to combine theory with practice , Each chapter of this book provides information about R Examples of language programming , Help readers practice consolidating . This book is suitable for undergraduates and postgraduates of related disciplines , And readers interested in data analysis and modeling
边栏推荐
- Alipay transfer system background or API interface to avoid pitfalls
- Simply take stock reading notes (3/8)
- What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
- Install rhel8.2 virtual machine
- Rasa Chat Robot Tutorial (translation) (1)
- Compilation principle reading notes (1/12)
- 在家庭智能照明中应用的测距传感芯片4530A
- Difference between JUnit theories and parameterized tests
- 研究:数据安全工具在 60% 的情况下无法抵御勒索软件
- A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
猜你喜欢

深度长文探讨Join运算的简化和提速

Taobao order amount check error, avoid capital loss API

Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution

JSON parsing error special character processing (really speechless... Troubleshooting for a long time)

实战模拟│JWT 登录认证

Compilation principle reading notes (1/12)

2021-12-22 transaction record

Pytorch two-layer loop to realize the segmentation of large pictures

CVPR 2022 | 基于稀疏 Transformer 的单步三维目标识别器

石臻臻的2021总结和2022展望 | 文末彩蛋
随机推荐
Distributed solution - completely solve website cross domain requests
Iterator details in list... Interview pits
How to connect the API interface of Taobao open platform (super detailed)
stm32和电机开发(从架构图到文档编写)
你的下一台电脑何必是电脑,探索不一样的远程操作
View and modify the MySQL data storage directory under centos7
Transactions from December 29, 2021 to January 4, 2022
Annotation problem and hidden Markov model
Taobao order amount check error, avoid capital loss API
Pytorch two-layer loop to realize the segmentation of large pictures
奔跑,开路
Anaconda creates a virtual environment and installs pytorch
Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
Transactions on December 23, 2021
[figure neural network] GNN from entry to mastery
Programming skills for optimizing program performance
mysql拆分字符串做条件查询
从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
Pytoch implements tf Functions of the gather() function
Clear neo4j database data
