{"id":4039,"date":"2014-01-08T01:14:03","date_gmt":"2014-01-07T17:14:03","guid":{"rendered":"https:\/\/www.icocean.com\/wp\/?p=4039"},"modified":"2014-01-08T01:14:03","modified_gmt":"2014-01-07T17:14:03","slug":"%e7%94%a8postgresql%e4%bd%9c%e4%b8%babind9-%e6%95%b0%e6%8d%ae%e5%ad%98%e5%82%a8%e6%83%85%e5%86%b5%e4%b8%8btxt%e7%ad%89%e5%8c%85%e5%90%ab%e7%a9%ba%e6%a0%bc%e8%ae%b0%e5%bd%95%e7%9a%84%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.icocean.com\/blog\/?p=4039","title":{"rendered":"\u7528Postgresql\u4f5c\u4e3aBIND9 \u6570\u636e\u5b58\u50a8\u60c5\u51b5\u4e0bTXT\u7b49\u5305\u542b\u7a7a\u683c\u8bb0\u5f55\u7684\u5904\u7406"},"content":{"rendered":"<p>\u524d\u6bb5\u65f6\u95f4\u5c1d\u8bd5\u7528PostgreSQL \u4f5c\u4e3aBIND9\u7684\u540e\u7aef\u6570\u636e\u5b58\u50a8\u73a9\u73a9\uff0c\u53d1\u73b0\u771f\u4e0d\u9519\uff0c\u9700\u8981\u7684Postgresql\u6570\u636e\u5e93\u8868\u7ed3\u6784\u7b80\u5355\uff0c\u67e5\u8be2\u6548\u7387\u9ad8\u3001\u53ca\u65f6\u751f\u6548\u3002SOA\u8bb0\u5f55\u4e5f\u662f\u4e00\u6761\u8bed\u53e5\uff0c\u4f46\u53d1\u9001\u90ae\u4ef6\u9700\u8981\u7684TXT\u8bb0\u5f55\u51fa\u73b0\u4e86\u95ee\u9898\uff0c\u6309\u7167SPF\u683c\u5f0f\u5199\u5165\u4e86\u4ee5\u4e0bTXT\u8bb0\u5f55\uff1a\u201cv=spf1 ip4:60.166.118.xxx include:xuplus.com -all\u201d\uff0c\u7ed3\u679c\u4f7f\u7528nslookup\u67e5\u8be2\u51fa\u6765\u7684\u60c5\u51b5\u7adf\u7136\u662f\u8fd9\u6837\u7684\uff1a<!--more--><\/p>\n<p>\u670d\u52a1\u5668:  google-public-dns-a.google.com<br \/>\nAddress:  8.8.8.8<\/p>\n<p>\u975e\u6743\u5a01\u5e94\u7b54:<br \/>\nxuplus.com      text =<\/p>\n<p>        &#8220;v=spf1&#8221;<br \/>\n        &#8220;ip4:60.166.118.xxx&#8221;<br \/>\n        &#8220;include:xuplus.com&#8221;<br \/>\n        &#8220;-all&#8221;<\/p>\n<p>\u8fd9\u6837\u7684\u8bb0\u5f55\u662f\u6ca1\u6709\u529e\u6cd5\u4f7f\u7528\u7684\uff0c\u4f7f\u7528SPF\u8bb0\u5f55\u6d4b\u8bd5\u5de5\u5177\uff08http:\/\/www.openspf.org\/Tools\uff09\u662f\u6ca1\u6709\u529e\u6cd5\u901a\u8fc7\u3002\u67e5\u9605\u4e86\u4e00\u756a\u8d44\u6599\u53d1\u73b0\u65e0\u6cd5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u7ffb\u9605bind9 \u6e90\u4ee3\u7801\u53d1\u73b0\u5728rdata.c\u6587\u4ef6\u7684dns_rdata_tofmttext\u51fd\u6570\u4e2d\u4f7f\u7528\u4e86\u7684linebreak\u5c31\u662f\u7a7a\u683c\u5b57\u7b26\uff0c\u90a3\u4e48\u5411spf\u8fd9\u79cd\u9700\u8981\u5305\u542b\u7a7a\u683c\u7684\u8bb0\u5f55\u600e\u4e48\u529e\u5462\uff1f\u7ecf\u8fc7\u5c1d\u8bd5\u53ef\u4ee5\u6dfb\u52a0\u659c\u7ebf(\\)\u4f5c\u4e3a\u8f6c\u4e49\u5b57\u7b26\uff0c\u7531\u4e8e\u6570\u636e\u5e93\u8bb0\u5f55\u4e2d\u659c\u7ebf\u4e5f\u9700\u8981\u8f6c\u4e49\uff0c\u6240\u4ee5\u5c06\u8bb0\u5f55\u5bf9\u5e94\u7684rdata\u5b57\u6bb5\u503c\u6539\u6210 \u2018v=spf1\\\\ ip4:60.166.118.xxx\\\\ include:xuplus.com\\\\ -all\u2019\u8fd9\u6837\u7684\u5373\u53ef\uff0c\u8fd9\u6837\u4e4b\u540e\u518d\u6b21nslookup\u5c31\u53ef\u4ee5\u53d1\u73b0\u7ed3\u679c\u6b63\u5e38\u4e86\uff1a<\/p>\n<p>\u670d\u52a1\u5668:  cache2.ahwhtel.net.cn<br \/>\nAddress:  202.102.199.68<\/p>\n<p>\u975e\u6743\u5a01\u5e94\u7b54:<br \/>\nxuplus.com      text =<\/p>\n<p>        &#8220;v=spf1 ip4:60.166.118.xxx include:xuplus.com -all&#8221;<\/p>\n<p>xuplus.com      nameserver = dns2.xuplus.com<br \/>\nxuplus.com      nameserver = dns1.xuplus.com<br \/>\ndns1.gi-rms.com internet address = 60.166.118.xxx<br \/>\ndns2.gi-rms.com internet address = 60.166.118.xxx<\/p>\n<p>BIND 9\u4e5f\u6709\u8f6c\u79fb\u5b57\u7b26\uff1a\u659c\u7ebf(\\)\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u6bb5\u65f6\u95f4\u5c1d\u8bd5\u7528PostgreSQL \u4f5c\u4e3aBIND9\u7684\u540e\u7aef\u6570\u636e\u5b58\u50a8\u73a9\u73a9\uff0c\u53d1\u73b0\u771f\u4e0d\u9519\uff0c\u9700\u8981\u7684Postgresql\u6570 <a href='https:\/\/www.icocean.com\/blog\/?p=4039' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3508],"tags":[3921,1289,3920,3918,3919],"class_list":["post-4039","post","type-post","status-publish","format-standard","hentry","category-dnssec-and-dns-","tag-bind9","tag-dns","tag-postgresql","tag-txt","tag-3919","category-3508-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4039"}],"version-history":[{"count":1,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4039\/revisions"}],"predecessor-version":[{"id":4040,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4039\/revisions\/4040"}],"wp:attachment":[{"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icocean.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}