Open 437049211 opened 4 years ago
[root@localhost open_dnsdb]# cat /var/log/open_dnsdb/mkrdns.log (fatal) Can't open /usr/local/open_dnsdb/tmp/var/named/dynamic/china.com:No such file or directory at /sbin/mkrdns line 436.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Command "tools/with_venv.sh pip install --upgrade -r /home/open_dnsdb-master/requirements.txt -r /home/open_dnsdb-master/test-requirements.txt" failed. None
问题描述 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.
实际输出结果
期望输出结果 正常