104 lines
2.1 KiB
Markdown
104 lines
2.1 KiB
Markdown
# dns服务搭建
|
||
|
||
| ID | Creation Date | Assignee | Status |
|
||
|----|----------------|----------|--------|
|
||
| OSS-249 | 2022-10-13T17:54:08.000+0800 | 程磊 | 完成 |
|
||
|
||
|
||
---
|
||
|
||
需求
|
||
|
||
1、使用虚拟机搭建一台dns服务器。
|
||
|
||
2、可以实现向上级运营商dns服务同步域名解析
|
||
|
||
3、可以实现自己配置一些静态的解析需求
|
||
|
||
4、可以支持ipv6的域名解析
|
||
|
||
5、如果需要运营商配合提供的内容可以联系栗文联系运营商提供
|
||
|
||
根据需求在本任务下面阶段性汇报完成功能的进度。**anran** commented on *2022-10-14T11:33:25.740+0800*:
|
||
|
||
DNS服务器 IP : 192.168.44.40 配置为: 2c 4g 100G
|
||
|
||
默认dns
|
||
*{color:#de350b}ipv4指向了 121.14.154.93{color}*
|
||
*{color:#de350b}ipv6指向了 2001:4860:4860::8888{color}*
|
||
|
||
目前测试阶段,只添加了www.baidu.com域名做了dns劫持
|
||
|
||
如果通过192.168.44.40 当做dns服务器,那么访问www.baidu.com
|
||
{color:#4c9aff}ipv4会返回1.1.1.1{color}
|
||
{color:#4c9aff}ipv6会返回fe80::40aa:adff:fe95:1771{color}
|
||
|
||
!image-2022-10-14-11-27-22-806.png!
|
||
|
||
通过 192.168.44.40访问解析其他域名,均会通过下面对应的dns地址做解析
|
||
{color:#de350b}*ipv4 121.14.154.93*{color}
|
||
{color:#de350b}*ipv6 2001:4860:4860::8888*{color}
|
||
|
||
!image-2022-10-14-11-29-28-242.png!
|
||
|
||
!image-2022-10-14-11-31-37-820.png!
|
||
|
||
|
||
|
||
---
|
||
|
||
**anran** commented on *2022-10-17T15:47:21.123+0800*:
|
||
|
||
笔记本电脑连接有线网络后{*}{color:#de350b}手动配置ipv4 dns为指定服务器192.168.44.40{color}{*}
|
||
|
||
!image-2022-10-17-15-42-47-741.png!
|
||
|
||
!image-2022-10-17-15-43-46-307.png!
|
||
|
||
|
||
|
||
*{color:#de350b}开启ipv6地址后 手动指定ipv6 dns 地址为2607:5d00:2:2::44:5555{color}*
|
||
|
||
!image-2022-10-17-15-46-42-567.png!
|
||
|
||
!image-2022-10-17-15-47-07-189.png!
|
||
|
||
|
||
|
||
|
||
|
||
---
|
||
|
||
|
||
|
||
## Attachments
|
||
|
||
**31630/image-2022-10-14-11-27-22-806.png**
|
||
|
||
---
|
||
|
||
**31631/image-2022-10-14-11-29-28-242.png**
|
||
|
||
---
|
||
|
||
**31632/image-2022-10-14-11-31-37-820.png**
|
||
|
||
---
|
||
|
||
**31687/image-2022-10-17-15-42-47-741.png**
|
||
|
||
---
|
||
|
||
**31688/image-2022-10-17-15-43-46-307.png**
|
||
|
||
---
|
||
|
||
**31689/image-2022-10-17-15-46-42-567.png**
|
||
|
||
---
|
||
|
||
**31690/image-2022-10-17-15-47-07-189.png**
|
||
|
||
---
|
||
|