Skip to content

zone配置文件推送成功,但是host文件推送不成功。 #46

@437049211

Description

@437049211

问题描述
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.

实际输出结果

期望输出结果
正常

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions