我已向A
我的域添加了一条记录,其名称为mcserverbox
,TTL 为1m
,值为myiphere
。我还SRV
向我的域添加了一条记录,其名称为_minecraft.tcp.mc.mydomain.com
,值为。0 5 25565 mcserverbox.mydomain.com.
然而,当我尝试mc.mydomain.com
在 Minecraft 中连接到 时,我收到错误io.netty.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information
。相比之下,尝试fakesubdomain.mydomain.com
给出错误Unknown host
。mcserverbox
在我的子网上。
$ dig _minecraft._tcp.mc.mydomain.com SRV
; <<>> DiG 9.9.5-3ubuntu0.17-Ubuntu <<>> _minecraft._tcp.mc.mydomain.com SRV
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12741
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;_minecraft._tcp.mc.mydomain.com. IN SRV
;; ANSWER SECTION:
_minecraft._tcp.mc.mydomain.com. 60 IN SRV 0 5 25565 mcserverbox.mydomain.com.
我已经等了大约一个小时,但仍然出现相同的错误。我做错了什么?