點進去看到的是
意思是 Openfire 本身希望能找到最下面兩行類似的資訊,所以來幫忙如願即可。首先需要安裝名稱解析伺服器:
- sudo yum install bind bind-utils
- zone "acme.com" {
- type master;
- file "/etc/named/acme.com.hosts";
- };
- $ORIGIN acme.com.
- @ IN SOA openfire root.mail (
- 180214 ; serial
- 21600 ; refresh after 6 hours
- 3600 ; retry after 1 hour
- 604800 ; expire after 1 week
- 86400 ) ; minimum TTL of 1 day
- IN NS openfire
- openfire IN A 10.1.2.3
- _xmpp-client._tcp 86400 IN SRV 0 5 5222 openfire
- _xmpp-server._tcp 86400 IN SRV 0 5 5269 openfire
- systemctl start named
- nslookup -type=srv _xmpp-client._tcp.acme.com
如果找不到,可以試試指定本機擔任名稱伺服器:
- nslookup -type=srv _xmpp-client._tcp.acme.com localhost
若這樣才行,代表預設的名稱伺服器在別處,不是剛裝的這套,可以修改 /etc/resolv.conf 以解決。
沒有留言:
張貼留言