![Prosody XMPP 服务器表示 A 记录指向未知地址](https://linux22.com/image/1603778/Prosody%20XMPP%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%A1%A8%E7%A4%BA%20A%20%E8%AE%B0%E5%BD%95%E6%8C%87%E5%90%91%E6%9C%AA%E7%9F%A5%E5%9C%B0%E5%9D%80.png)
我正在 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.