Comments (5)
确定在你的zone_dir里这个文件是存在的么, /usr/local/open_dnsdb/tmp/var/named
里面的内容是从zone_dir中拷贝的
from open_dnsdb.
zone_dir指的是/var/named/chroot/var/named/dynamic 这个文件夹吗?这个文件夹下面没有相应的文件,这些文件添加域名解析时候不生成吗?需要手动创建?
from open_dnsdb.
etc/beta/supervisor-dnsdb.conf
文件中配置的, 添加解析不会自动创建的,系统只有在新建zone的时候会自动添加zone文件;
因为理论上只能添加解析到已经存下的zone(导入或者新建过),这时候zone文件应该都是存在了的
from open_dnsdb.
你说的新建zone的时候会自动添加zone文件
zone文件是保存在/var/named/chroot/var/named/下的,这个是有的,
但是/var/named/chroot/var/named/dynamic下没有那些zone文件,
/usr/local/open_dnsdb/tmp/var/named/dynamic/net58.linux.office.sh.sit.x2era.com下这个文件应该是从/var/named/chroot/var/named/dynamic下面拷贝把,不知道为何会要拷贝这个文件?
from open_dnsdb.
@LostSymbol
我新增普通域名后,mkrdns报错:
查到perl新版本正则表达式写法变了,然后改了报错文件/sbin/mkrnds所在行('{'->'\{'):
麻烦问一下,这个是哪里配置的有问题呢?谢谢~
我的配置信息:
common.conf
[etc]
env = beta
secret_key = SecretKeyForFlask
[log]
log-dir = /var/log/supervisor/
debug = True
verbose = True
[DB]
connection=sqlite:////home/dns-u/open_dnsdb/run/dnsdb.db
[mail]
server = mail.server.corp.com
port = 25
from_addr = [email protected]
password = xxxxxx
alert_list = [email protected];[email protected]
info_list = [email protected]
[web]
base_url = /
run-mode = werkzeug
bind = 0.0.0.0
debug = True
[gunicorn]
timeout=600
workers=4
worker_class = eventlet
daemon = False
loglevel = debug
ignore_healthcheck_accesslog=True
accesslog = /home/dns-u/open_dnsdb/log/access.log
[api]
dnsdbapi_url=http://127.0.0.1:8033/api
dnsupdater_port = 8034
dnsdb.conf
[etc]
allow_ip = 0.0.0.0
secret_key = SessionKeyForFalsk
header_template = /home/dns-u/open_dnsdb/etc/template/zone_header
[log]
log-file = dnsdb.log
[web]
port = 8033
[gunicorn]
bind = 0.0.0.0:8033
[view]
acl_groups = ViewSlave
cname_ttl = 300
view_zone = view.com
normal_view = corp.com:corp.view.com
normal_cname = corp.com:view.corp.com
dnsdb-updater.conf
[etc]
tmp_dir=/home/dns-u/open_dnsdb/tmp
log_dir = /home/dns-u/open_dnsdb/log
backup_dir=/home/dns-u/open_dnsdb/backup
pidfile=/home/dns-u/open_dnsdb/tmp/named_updater.pid
zone_update_interval = 5
allow_ip = 127.0.0.1
[log]
log-file = dnsdb_updater.log
[web]
port = 8034
[gunicorn]
bind = 0.0.0.0:8034
[bind_default]
named_dir = /etc/bind/named
zone_dir = /etc/bind/named
acl_dir = /etc/bind/named
named_checkconf = /usr/sbin/named-checkconf
named_zonecheck = /usr/sbin/named-checkzone
mkrdns = /sbin/mkrdns
rndc = /usr/sbin/rndc
from open_dnsdb.
Related Issues (20)
- 启动open-dnsdb-conf-updater和open-dnsdb-zone-updater报错 HOT 2
- 新加域名不展示 HOT 2
- 请问bind9可以与redis交互吗 HOT 2
- tools/with_venv.sh python setup.py install HOT 1
- 新手 小菜,能有更详细的安装教程吗
- 添加解析不生效 HOT 1
- 页面假死
- 启动失败 HOT 3
- 普通域名模块,新加域名时,提示“”未找到适配的zone,请检查后重试“
- 请问slave主机上要怎么配置呢,请指点,谢谢!
- dns_updater/api/worker.py:89 备份文件时chown命令的用户名和组写死了
- zone配置文件推送成功,但是host文件推送不成功。 HOT 2
- 安装异常 HOT 1
- 是否可以提供容器化部署指南
- dnsdb_fe 启动成功,页面打开404 HOT 1
- "支持RESTful API" API文档在哪里能看? HOT 1
- 【BUG】slave 添加zone提示: unable to find masters list 'ip_of_master'
- view域名中,创建了运营商之后,acl管理--新增网段 运营商下拉框不显示已经创建的运营商是怎么回事呢?
- view域名这里怎么配置啊?配置之后无法解析,感觉wiki写的太简单了看的懵。。有没有成功的朋友指导下 HOT 1
- 启动报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open_dnsdb.