我的阿里云 rds 公网 host 为 xxxxo.mysql.rds.aliyuncs.com 我用 dig, nslookup 命令解析不到对应的 ip 。
dig 输出的信息如下:
; <<>> DiG 9.18.1-1ubuntu1.1-Ubuntu <<>> xxxxo.mysql.rds.aliyuncs.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 26374
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;xxxxo.mysql.rds.aliyuncs.com. IN A
;; AUTHORITY SECTION:
rds.aliyuncs.com. 460 IN SOA hidden-master.aliyun.com. hostmaster.aliyun-inc.com. 2072074962 7200 900 2592000 600
;; Query time: 39 msec
;; SERVER: 172.18.208.1#53(172.18.208.1) (UDP)
;; WHEN: Thu Apr 27 10:34:30 CST 2023
;; MSG SIZE rcvd: 138