当前位置:网站首页>使用unbound在RHEL7上搭建DNS服务
使用unbound在RHEL7上搭建DNS服务
2022-08-03 23:33:00 【nginx】
[[email protected] ~]# vim /etc/unbound/unbound.conf……453 # You can add locally served data with454 # local-zone: "local." static455 # local-data: "mycomputer.local. IN A 192.0.2.51"//正向解析可参考语法456 # local-data: ‘mytext.local TXT "content of text record"‘457 #458 # You can override certain queries with459 # local-data: "adserver.example.com A 127.0.0.1"460 #461 # You can redirect a domain to a fixed address with462 # (this makes example.com, )463 # local-zone: "example.com" redirect464 # local-data: "example.com A 192.0.2.3"465 ## Shorthand to make PTR records, "IPv4 name" or "IPv6 name".467 # You can also add PTR records using local-data directly, but then468 # you need to do the reverse notation yourself.469 # local-data-ptr: "192.0.2.3//反向解析参考语法470471 include: /etc/unbound/local.d/*.conf472473 # service clients over SSL (on the TCP sockets), with plain DNS inside……---------------------------------查看本机FQDN---------------------------[[email protected] ~]# hostnamelinuxprobe.example.com//由此可知,域名为example.com--------------------------------创建解析文件-----------------------------[[email protected] ~]# vim /etc/unbound/local.d/example.conflocal-zone: "example.com." staticlocal-data: "example.com. 86400 IN SOA ns.example.com. root 1 1D 1H 1W 1H"local-data: "ns.example.com. IN A 192.168.10.10"local-data: "linuxprobe.example.com. IN A 192.168.10.10"local-data-ptr: "192.168.10.10 ns.example.com."local-data-ptr: "192.168.10.10 linuxprobe.example.com."------------------------查看RHEL6上解析文件以作对比--------------------[[email protected] ~]# vim /var/named/named.localhost$TTL 1D@ IN SOA @ rname.invalid. (0 ; serial1D ; refresh1H ; retry1W ; expire3H ) ; minimumNS @A 127.0.0.1AAAA ::1
边栏推荐
- Software testing is seriously involution, how to improve your competitiveness?
- The principle and use of AOSP CameraLatencyHistogram
- "Digital Economy Panorama White Paper" Financial Digital User Chapter released!
- 全球首款量产,获定点最多!这家AVP Tier1如何实现领跑?
- Three.js入门详解
- ML's yellowbrick: A case of interpretability (threshold map) for LoR logistic regression model using yellowbrick based on whether Titanic was rescued or not based on the two-class prediction dataset
- CAS: 178744-28-0, mPEG-DSPE, DSPE-mPEG, methoxy-polyethylene glycol-phosphatidylethanolamine supply
- utlis thread pool
- 使用tf.image.resize() 和tf.image.resize_with_pad()调整图像大小
- Scala basics [regular expressions, framework development principles]
猜你喜欢

用两个栈模拟队列

Zilliz 2023 Fall Campus Recruitment Officially Launched!

最小化安装debian11

Unity intercepts 3D images and the implementation of picture-in-picture PIP

In V8 how arrays (with source code, picture and text easier to understand)

HCIP BGP lab report

禾匠编译错误记录

OpenCV 图像拼接

OPC UA 与IEC61499 深度融合(1)

ML's yellowbrick: A case of interpretability (threshold map) for LoR logistic regression model using yellowbrick based on whether Titanic was rescued or not based on the two-class prediction dataset
随机推荐
- the skip/skipif Pytest learning
Work Subtotal QT Packing
Kotlin - extension functions and operator overloading
用队列模拟实现栈
代码随想录笔记_动态规划_416分割等和子集
V8中的快慢数组(附源码、图文更易理解)
Shell编程之循环语句与函数
牛客2022 暑期多校3 H Hacker(SAM + 线段树查询区间内部最大子段和)
rsync basic usage
HNUCM 您好中国
OPC UA 与IEC61499 深度融合(1)
internship:编写excel表的上传方法(导入)
2022/8/3 Exam Summary
Jmeter-参数化
密码学基础以及完整加密通讯过程解析
Minimized installation of debian11
冰河又一MySQL力作出版(文末送书)!!
Flutter教程之为什么 Flutter 是创业的最佳选择?
Recognized by International Authorities | Yunzhuang Technology was selected in "RPA Global Market Pattern Report, Q3 2022"
689. 三个无重叠子数组的最大和