0

我正在尝试将 URI 记录添加到我的 PowerDNS 服务器并且没有任何运气。PowerDNS-Admin Web 界面的记录类型下拉列表中没有“URI”,并且该pdnsutil命令给出的错误对我来说毫无意义。

我要添加的记录是:

_kerberos.example.com. 3600 IN URI 0 100 "krb5srv:m:tcp:freeipa.example.com."

我以多种方式尝试了 pdnsutil 命令,但仍然出现错误:

powerdns-master:~$ pdnsutil add-record example.com _kerberos URI 3600 0 100 krb5srv:m:tcp:freeipa.example.com.
Error: Parsing record content (try 'pdnsutil check-zone'): missing field at the end of record content '0'

powerdns-master:~$ pdnsutil add-record example.com _kerberos URI 3600 0 "100 krb5srv:m:tcp:freeipa.example.com."
Error: Parsing record content (try 'pdnsutil check-zone'): missing field at the end of record content '0'

powerdns-master:~$ pdnsutil add-record example.com _kerberos URI "0 100 krb5srv:m:tcp:freeipa.example.com."
Error: Parsing record content (try 'pdnsutil check-zone'): Data field in DNS should start with quote (") at position 6 of '0 100 krb5srv:m:tcp:freeipa.example.com.'

powerdns-master:~$ pdnsutil add-record example.com _kerberos URI 0 100 "krb5srv:m:tcp:freeipa.example.com."
Error: Parsing record content (try 'pdnsutil check-zone'): missing field at the end of record content '100'

powerdns-master:~$ pdnsutil add-record example.com _kerberos URI 3600 "0 100 krb5srv:m:tcp:freeipa.example.com."
Error: Parsing record content (try 'pdnsutil check-zone'): Data field in DNS should start with quote (") at position 6 of '0 100 krb5srv:m:tcp:freeipa.example.com.'

powerdns-master:~$ pdnsutil add-record example.com _kerberos URI 3600 0 100 "krb5srv:m:tcp:freeipa.example.com."
Error: Parsing record content (try 'pdnsutil check-zone'): missing field at the end of record content '0'

关于我做错了什么的任何想法?

提前致谢。

4

0 回答 0