我正在 noisytoot.org 上设置 XMPP 服务器(Prosody)。
我正在运行 Fedora Server 30。
我已经在 xmpp.noisytoot.org 上设置了 A 记录,并为 noisytoot.org 设置了 SRV 记录。
noisytoot.org 的配置文件(/etc/prosody/conf.d/noisytoot.org.cfg.lua):
VirtualHost "noisytoot.org"
Prosody 启动失败,提示 xmpp.noisytoot.org 无法解析到该服务器,xmpp.noisytoot.org 指向 2.29.34.180,这是我的网络的 IP 地址,并指向服务器
以下是输出sudo prosodyctl check
:
Checks will be skipped for these disabled hosts: example.com
Checking config...
Done.
Checking DNS for host localhost...
Target 'localhost' cannot be accessed from other servers
Checking DNS for host noisytoot.org...
xmpp.noisytoot.org. A record points to unknown address 2.29.34.180
Host xmpp.noisytoot.org. does not seem to resolve to this server (IPv4/IPv6)
No targets for noisytoot.org appear to resolve to this server.
For more information about DNS configuration please see https://prosody.im/doc/dns
Checking certificates...
Checking certificate for localhost
Certificate: /etc/pki/prosody//localhost.crt
Not valid for client connections to localhost.
Not valid for server-to-server connections to localhost.
Checking certificate for noisytoot.org
Error: No certificate present in SSL/TLS configuration for noisytoot.org
For more information about certificates please see https://prosody.im/doc/certificates
Problems found, see above.