当前位置:网站首页>DNS forward resolution experiment
DNS forward resolution experiment
2022-07-28 06:52:00 【Direction of light 79】
Forward analysis experiment
1.1 install bind service , View the configuration file
install DNS service , The service name is in the installation package bind in

View the configuration file ( Global profile 、 Zone profile 、 Zone data profile )

1.2 Global configuration file configuration and file content description
Go to global profile

Modify the contents of the global configuration file ( Listening port address 、 Allowed hosts )

Listening port explanation :
① To open this port ,
② The main process will occupy this port , monitor , Reception request .
Set which sub file is ( Write it in , The contents of this file will also be executed , Equivalent to a function being called means )
1.3 Enter the area configuration file
Enter the area configuration file

First, select forward or reverse parsing , Then set the domain name to be resolved , Define the master server , Define the file name of the area data file ( Similar to the above function ), Whether to allow other hosts to update data from here .

Be careful : This configuration file can be used to define forward parsing and reverse parsing

1.4 Zone data profile
View the path and location of the previous area data file , After entering the position

Take the of the original regional data configuration file as the template , Copy one locally , And modify the name to the file name specified by the area configuration file .

Enter the modified area data configuration file

Set the domain name and ip Mapping , And the corresponding relationship of various host names ( Pay attention to the following points when configuring )
1.5 Start the service 、 Turn off firewall

1.6 Test whether the domain name can be resolved
Start another virtual machine system , To configure DNS

Then resolve the domain name

边栏推荐
- yapi漏洞挂马程序chongfu.sh处理
- feignclient @RequestMapping参数设置及请求头简易方式设置
- 搭建PHP7私有仓库
- ---栈&队列---
- Question brushing record - linked list
- 数组转链表
- [dynamic planning -- the best period series for buying and selling stocks]
- @PostConstruct注解及用处示例
- 订单交易简析
- What is the most practical gift for Tanabata? A gift that will never go wrong is worth buying
猜你喜欢

Build php7 private warehouse

NIO示例

mongo ssl 配置实战

prometheus监控nacos

Analysis of the semaphore source code of AQS

Optimization ideas from ordinary query commodities to highly concurrent query commodities

Centos7 deploy MySQL database server
![[c language] - step by step to achieve minesweeping games](/img/ee/49ddfcd948ccd5c8c9dec3c48c6112.png)
[c language] - step by step to achieve minesweeping games

iptables防火墙

Project compilation nosuch*** error problem
随机推荐
Compilation and preprocessing of C language
Source code analysis of countdownlatch of AQS
SSAO by computer shader (II)
NiO example
测试面试题集锦(五)| 自动化测试与性能测试篇(附答案)
MySQL master-slave
技术分享 | 接口测试价值与体系
iptables防火墙
@Postconstruct annotations and useful examples
Graphic pipeline foundation (part outside)
Scratch command
OSI七层模型
[the beginning of self redemption]
SSAO by computer shader (III)
redis缓存设计与性能优化
mysql索引优化
[realize the simple version of minesweeping games]
单元测试框架Jest搭配TypeScript的安装与配置
NFS 共享存储服务
KVM hot migration