当前位置:网站首页>DNS正向解析实验
DNS正向解析实验
2022-07-28 05:28:00 【光的方向79】
正向解析实验
1.1 安装bind服务,查看配置文件
安装DNS服务,服务名在安装包bind中

查看配置文件(全局配置文件、区域配置文件、区域数据配置文件)

1.2 全局配置文件配置及文件内容说明
进入全局配置文件

修改全局配置文件内容(监听端口地址、允许通过的主机)

监听端口解释:
①为了开启这个端口,
②主进程会占用这个端口,进行监听,接待请求。
设置子文件是哪个(写入进去后,该文件内容也会被执行,相当于一个函数被调用的意思是)
1.3 进入区域配置文件
进入区域配置文件

首先选中正向还是反向解析,然后设置需要解析的域名,定义主服务器,定义区域数据文件的文件名(跟上面函数类似),是否允许其它主机从这进行更新数据。

注意:该配置文件可以进行正向解析和反向解析的定义

1.4 区域数据配置文件
查看以前的区域数据文件的路径位置,进入位置后

以原区域数据配置文件的为模板,复制一份在本地,并且修改名称为区域配置文件所指定的文件名。

进入修改后的区域数据配置文件中

设置域名和ip的映射,以及各种主机名所对应的关系(配置的时候注意下面的点)
1.5 启动服务、关闭防火墙

1.6 测试是否可解析域名
开启另一台虚拟机系统,配置DNS

然后进行解析域名

边栏推荐
- HDU-5805-NanoApe Loves Sequence(思维题)
- Question brushing record ---- reverse the linked list (reverse the whole linked list)
- NFS 共享存储服务
- JS variable is equal to 0, etc. '
- Compilation and preprocessing of C language
- 手把手教你三步完成测试监控系统搭建
- Redis cache design and performance optimization
- Redis implementation of distributed lock and analysis of the main process of redismission distributed lock
- KVM热迁移
- Personal understanding of Chinese remainder theorem
猜你喜欢

Rain Scene Effect (I)

技术分享 | 实战详解接口测试请求方式Get、post
![[dynamic planning -- the best period series for buying and selling stocks]](/img/90/9060eabc9b9e7f660504806fde282d.png)
[dynamic planning -- the best period series for buying and selling stocks]

设计测试用例的方法

Using C language to realize three piece chess games

What kind of air conduction Bluetooth headset with good configuration is recommended

技术分享 | 使用postman发送请求

MySQL index optimization

Optimization ideas from ordinary query commodities to highly concurrent query commodities

Project compilation nosuch*** error problem
随机推荐
Explain in detail
Build php7 private warehouse
File operation in C language
Hdu-5783 divide the sequence (greedy water question)
测试面试题集锦(二)| 测试工具篇(附答案)
单元测试框架Jest搭配TypeScript的安装与配置
CentOS7部署MySQL数据库服务器
Water bottle effect production
MySQL master master
Cocos2d-x learning notes Tile Map tiledmap
AQS之semaphore源码分析
JS four operations are repackaged to solve the problem of precision loss
PKU-2524-Ubiquitous Religions(并查集模板)
Using C language to realize three piece chess games
PKU-2739-Sum of Consecutive Prime Numbers(筛素数法打表)
Redis implementation of distributed lock and analysis of the main process of redismission distributed lock
JS variable is equal to 0, etc. '
Optimization ideas from ordinary query commodities to highly concurrent query commodities
Analysis of cyclicbarrier source code of AQS
Compilation and preprocessing of C language