Skip to content
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

普通域名管理,新增域名解析后,未生效,另外发送邮件的配置里,没有邮箱密码的设置项 #15

Closed
Atlas-2020 opened this issue Mar 14, 2019 · 2 comments

Comments

@Atlas-2020
Copy link

问题描述
em9uZSBrZWRvdS5jb20g5pu05paw5aSx6LSlCuWOn+WboDogRmFpbGVkIHRvIGNvcHkgem9uZSBm
aWxlcyB0byB0bXBfZGlyLg==
, because:
2019-03-14 09:52:04.560 58783 ERROR dns_updater.utils.updater_util [-] Failed to copy zone files to tmp_dir.
2019-03-14 09:52:14.589 58783 ERROR dnsdb_common.library.email_util [-] Failed to send email:From nobody Thu Mar 14 09:52:14 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Subject: [DNSDB-UPDATER alarm: XYMaster]
From: =?utf-8?q?alert=40sendmail=2Eshunwang=2Ecom?=
To: =?utf-8?q?tx=2Eshi=40shunwang=2Ecom?=

环境配置

复现步骤
1.
2.
3.

实际输出结果

期望输出结果

@LostSymbol
Copy link
Contributor

"Failed to copy zone files to tmp_dir": 这步是将所有的zone文件拷贝到tmp目录,请确认下信息:
1、etc/beta/dnsdb-updater.conf 中 zone_dir 目录是否存在, 目录下是否包含所有必要的zone文件
2、etc/beta/dnsdb-updater.conf 中 tmp_dir 下面是否存在 var/named目录(程序应该是自动创建了的)
3、手动测试下命令 cp -Rf zone_dir/ tmp_dir/var/named/

发送邮件的那个我看下

@LostSymbol
Copy link
Contributor

邮箱密码配置

etc/beta/common.conf

[mail]
server = mail.server.corp.com
port = 25
from_addr = dnsdb@corp.com
password = xxxxxx
alert_list = ops@corp.com;opsdev@corp.com
info_list = ops@corp.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants