-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zone配置文件推送成功,但是host文件推送不成功。 #46
Comments
补充日志[root@localhost open_dnsdb]# cat /var/log/open_dnsdb/mkrdns.log |
你的安装成功了吗? |
问题描述
zone配置文件推送成功,但是host文件推送不成功。
环境配置
CentOS Linux release 7.4.1708 (Core)
python3.6.8
bind-9.11.4
复现步骤
1.web页面配置域名和host。
2.查看系统推送文件。
[root@localhost open_dnsdb]# find / -name china.com
/var/named/chroot/var/named/china.com
/usr/local/open_dnsdb/tmp/var/named/china.com
[root@localhost open_dnsdb]# cat /var/named/chroot/var/named/china.com
$TTL 7200 ; 2 hours
@ IN SOA localhost. root.localhost. (
3000000000 ; Serial
3600 ; Refresh (1 hour)
900 ; Retry (15 minutes)
3600000 ; Expire (5 weeks 6 days 16 hours)
3600 ; Minimum (1 hour)
)
@ 2D IN NS localhost.
$ORIGIN china.com.
[root@localhost open_dnsdb]# cat /usr/local/open_dnsdb/tmp/var/named/china.com
$TTL 7200 ; 2 hours
@ IN SOA localhost. root.localhost. (
3000000001 ; Serial
3600 ; Refresh (1 hour)
900 ; Retry (15 minutes)
3600000 ; Expire (5 weeks 6 days 16 hours)
3600 ; Minimum (1 hour)
)
@ 2D IN NS localhost.
$ORIGIN china.com.
www IN A 10.0.0.1
3.
实际输出结果
期望输出结果
正常
The text was updated successfully, but these errors were encountered: