我的 PowerDNS DNS 服务器 3.3 无法解析 TXT 记录。
数据库如下所示:
当我尝试挖掘我的服务器以查找 TXT 条目时,它们没有显示:
[root@nowosci powerdns]# dig @ns1.nowosci.org private._domainkey.nowosci.org TXT
; <<>> DiG 9.9.3-rpz2+rl.13208.13-P2-RedHat-9.9.3-4.P2.el6 <<>> @ns1.nowosci.org private._domainkey.nowosci.org TXT
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 58314
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 2800
;; QUESTION SECTION:
;private._domainkey.nowosci.org. IN TXT
;; AUTHORITY SECTION:
nowosci.org. 1800 IN SOA ns1.nowosci.org. admin.adminonline.gr. 2013092526 3600 1800 604800 1800
;; Query time: 9 msec
;; SERVER: 62.21.44.49#53(62.21.44.49)
;; WHEN: śro wrz 25 13:36:45 CEST 2013
;; MSG SIZE rcvd: 119
和
[root@nowosci powerdns]# dig @ns1.nowosci.org nowosci.org TXT
; <<>> DiG 9.9.3-rpz2+rl.13208.13-P2-RedHat-9.9.3-4.P2.el6 <<>> @ns1.nowosci.org nowosci.org TXT
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3920
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 2800
;; QUESTION SECTION:
;nowosci.org. IN TXT
;; AUTHORITY SECTION:
nowosci.org. 1800 IN SOA ns1.nowosci.org. admin.adminonline.gr. 2013092526 3600 1800 604800 1800
;; Query time: 3 msec
;; SERVER: 62.21.44.49#53(62.21.44.49)
;; WHEN: śro wrz 25 13:37:31 CEST 2013
;; MSG SIZE rcvd: 100
如何解决这个问题?
答案1
域名末尾不能有点:
而不是这样:
_domainkey.nowosci.org.
private._domainkey.nowosci.org.
应该是这样的:
_domainkey.nowosci.org
private._domainkey.nowosci.org