我正在尝试在正在工作的 Openstack 指定服务中设置 DKIM 记录集,但由于 TXT 记录集太大,因此必须分段完成,而我无法做到这一点。
# openstack recordset create --type TXT --record "\"v=DKIM1; k=rsa; p=adfsdfdasfadsfasdfadsfadsfasdfdasffdasfadafdsfdzig2yAU1eszFpVdgxZEW6hD9gECcLxqsz+VUt4+6GdoLwtPfPtYZiYY25Rhx5wr3z3Z6bBhqfNfrqPNj8YH0WtU+5U9mV0Ou5tjGktePykqd/W6WlB8/EkLpVZon6kWnCLCwNy3Ad0PpquMviTimqUUQWF/zk9Q8KV40gZWkqeU29cTU1mZK8SdGrmDZrdhkQEA\" \"iVyzXCry841a5tlRDuQwcAvEVIxal9dNXN4lsCOj3cCVSJOkhfgsfgsdgsdgsdgsdgsgsdgDBU805LMGdg8dlHNqVm883wbZLOuS73IzlC+dq7hW0pbTScY61SABC9qxlRB14Sd3FQIDAQAB\"" XXXXXXXXXxX-d50b-4f4f-bf36-53cf23345b25 0A98446E-9755-11EE-BDE5-8E9233BD404C._domainkey.mydomain.com.
我收到错误:Provided object is not valid. Got a InvalidObject error with message Quotation marks should be escaped with backslash.
所以我用单引号将其改为
# openstack recordset create --type TXT --record '"v=DKIM1; k=rsa; p=adfsdfdasfadsfasdfadsfadsfasdfdasffdasfadafdsfdzig2yAU1eszFpVdgxZEW6hD9gECcLxqsz+VUt4+6GdoLwtPfPtYZiYY25Rhx5wr3z3Z6bBhqfNfrqPNj8YH0WtU+5U9mV0Ou5tjGktePykqd/W6WlB8/EkLpVZon6kWnCLCwNy3Ad0PpquMviTimqUUQWF/zk9Q8KV40gZWkqeU29cTU1mZK8SdGrmDZrdhkQEA\" \"iVyzXCry841a5tlRDuQwcAvEVIxal9dNXN4lsCOj3cCVSJOkhfgsfgsdgsdgsdgsdgsgsdgDBU805LMGdg8dlHNqVm883wbZLOuS73IzlC+dq7hW0pbTScY61SABC9qxlRB14Sd3FQIDAQAB"' XXXXXXXXXxX-d50b-4f4f-bf36-53cf23345b25 0A98446E-9755-11EE-BDE5-8E9233BD404C._domainkey.mydomain.com.
新的错误是:Provided object is not valid. Got a InvalidObject error with message Empty spaces are not allowed in TXT record, unless wrapped in double quotes.
当我尝试使用 Horizon Dashboard 时,它会按照我在其上设置的顺序反转链条。
有人可以帮我完成这个设置吗?有没有办法在 Openstack 指定服务上设置 DKIM TXT 记录?