{"id":3575,"date":"2023-02-06T11:02:09","date_gmt":"2023-02-06T03:02:09","guid":{"rendered":"http:\/\/blog.hoyo.idv.tw\/?p=3575"},"modified":"2023-02-06T11:02:09","modified_gmt":"2023-02-06T03:02:09","slug":"ipv6-%e5%9f%ba%e7%a4%8e%e3%80%81%e7%94%b3%e8%ab%8b%e3%80%81%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/blog.hoyo.idv.tw\/?p=3575","title":{"rendered":"IPv6 - \u57fa\u790e\u3001\u7533\u8acb\u3001\u8a2d\u5b9a"},"content":{"rendered":"<p>--<\/p>\n<h2>\u4ec0\u9ebc\u662f IPv6<\/h2>\n<ul>\n<li><a href=\"http:\/\/bonvoyagelin.blogspot.tw\/2011\/01\/ipv6.html\" target=\"_blank\" rel=\"noopener\">IPv6 \u4f4d\u5740\u8868\u793a<\/a><\/li>\n<li><a href=\"https:\/\/www.stackscale.com\/blog\/whats-ipv6\/\" target=\"_blank\" rel=\"noopener\">What is IPv6?<\/a><\/li>\n<\/ul>\n<p>--<\/p>\n<h2>\u64c1\u6709 IPv6<\/h2>\n<p>Hoyo \u4f7f\u7528\u5149\u4e16\u4ee3\u56fa\u5b9a\u5236\uff0c\u96d6\u7136\u5df2\u7d93\u662f\u56fa\u5b9a <span style=\"color: #333333; font-style: normal; font-weight: 400;\">\u00a0<\/span><span style=\"color: #333333; font-style: normal; font-weight: 400;\">IPv4\uff0c\u4f46\u662f IPv6 \u9084\u662f\u9700\u8981\u7533\u8acb \u300c<a href=\"https:\/\/fttb.hinet.net\/static_ipv6.html\" target=\"_blank\" rel=\"noopener\">HiNet\u56fa\u5b9a\u5236IPv6\u670d\u52d9\u8aaa\u660e<\/a>\u300d<\/span><\/p>\n<p><a href=\"https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2022\/06\/20220607_153608.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-10182\" src=\"https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2022\/06\/20220607_153608.png\" alt=\"\" width=\"967\" height=\"141\" srcset=\"https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2022\/06\/20220607_153608.png 967w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2022\/06\/20220607_153608-300x44.png 300w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2022\/06\/20220607_153608-768x112.png 768w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2022\/06\/20220607_153608-500x73.png 500w\" sizes=\"(max-width: 967px) 100vw, 967px\" \/><\/a><\/p>\n<p>--<\/p>\n<h2>\/etc\/named.conf<\/h2>\n<pre class=\"lang:default decode:true \">options {\r\n\tlisten-on port 53 { 127.0.0.1; 192.168.0.3; }; \/\/ 127.0.0.1;\r\n\tlisten-on-v6 port 53 { any; }; \/\/ ::1\r\n\tdirectory \t\"\/var\/named\";\r\n\tdump-file \t\"\/var\/named\/data\/cache_dump.db\";\r\n\tstatistics-file \"\/var\/named\/data\/named_stats.txt\";\r\n\tmemstatistics-file \"\/var\/named\/data\/named_mem_stats.txt\";\r\n\tallow-query     { any; }; \/\/ localhost\r\n\r\n\trecursion no; \/\/ yes\r\n\r\n\tdnssec-enable yes;\r\n\tdnssec-validation yes;\r\n\r\n\t\/* Path to ISC DLV key *\/\r\n\tbindkeys-file \"\/etc\/named.iscdlv.key\";\r\n\r\n\tmanaged-keys-directory \"\/var\/named\/dynamic\";\r\n\r\n\tpid-file \"\/run\/named\/named.pid\";\r\n\tsession-keyfile \"\/run\/named\/session.key\";\r\n};\r\n\r\nlogging {\r\n        channel default_debug {\r\n                file \"data\/named.run\";\r\n                severity dynamic;\r\n        };\r\n};\r\n\r\nzone \".\" IN {\r\n\ttype hint;\r\n\tfile \"named.ca\";\r\n};\r\n\r\nzone \"hoyo.idv.tw\" in {\r\n    type master;\r\n    file \"\/etc\/named\/hoyo.idv.tw.db\";\r\n};<\/pre>\n<p>--<\/p>\n<h2>\/etc\/named\/hoyo.idv.tw<\/h2>\n<pre class=\"lang:default decode:true\">$TTL 1h\r\n@                  IN SOA @ root (\r\n                            2017032901  ; serial\r\n                            30M         ; refresh\r\n                            10M         ; retry\r\n                            3D          ; expiry\r\n                            1D )        ; minimum\r\n\r\n\r\n@                  IN NS      @\r\n@                  IN AAAA    2001:B030:D81A:FF01::163\r\nWWW                IN AAAA    2001:B030:D81A:FF01::163\r\n@                  IN A\t      61.216.48.163\r\nWWW                IN A       61.216.48.163\r\nHOYO.IDV.TW.       IN MX  1   ASPMX.L.GOOGLE.COM.\r\nMAIL               IN CNAME   GHS.GOOGLE.COM.<\/pre>\n<p>--<\/p>\n<p>\u4f7f\u7528 dig<\/p>\n<pre class=\"lang:default decode:true\">yum install bind-utils<\/pre>\n<p>--<\/p>\n<h2>\u7dda\u4e0a\u6e2c\u8a66<\/h2>\n<ul>\n<li>dig online\u00a0<a href=\"https:\/\/toolbox.googleapps.com\/apps\/dig\/\">Dig<\/a><\/li>\n<li><a href=\"http:\/\/test-ipv6.com\/\" target=\"_blank\" rel=\"noopener\">\u6e2c\u8a66\u4f60\u7684 IPv6 \u9023\u7dda<\/a><\/li>\n<\/ul>\n<p><a href=\"\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-491.png\" target=\"_blank\" rel=\"noopener\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" class=\"alignnone wp-image-3578 size-medium\" src=\"https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-491-300x193.png\" alt=\"\" width=\"300\" height=\"193\" srcset=\"https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-491-300x193.png 300w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-491-466x300.png 466w, https:\/\/blog.hoyo.idv.tw\/wp-content\/uploads\/2017\/03\/Image-491.png 756w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>--<\/p>\n<h2><strong>ping<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/www.cyberciti.biz\/faq\/windows-vista-server-xp-pingexe-ipv6-command\/\" target=\"_blank\" rel=\"noopener\">HowTo: Ping IPv6 Address Using Windows Vista \/ Xp or Windows Server 2008 \/ 2003 Server<\/a><\/li>\n<li><a href=\"http:\/\/blog.xuite.net\/lyround\/pcblog\/32961133-%E4%BD%BF%E7%94%A8+ping6\" target=\"_blank\" rel=\"noopener\">\u4f7f\u7528 ping6<\/a><\/li>\n<\/ul>\n<p><strong>Windows 7<\/strong><\/p>\n<pre class=\"lang:default decode:true\">&gt;ping -6 2001:B030:D81A:FF01::163<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">ping6 -I ens192 fe80::b91e:87fb:c677:4f42<\/pre>\n<p>--<\/p>\n<h2>\u4f7f\u7528 IPv6 IP \u7db2\u5740\u4e0a\u7db2<\/h2>\n<ul>\n<li><a href=\"https:\/\/tw.answers.yahoo.com\/question\/index?qid=20090513000015KK08869\" target=\"_blank\" rel=\"noopener\">\u5982\u4f55\u7528 ipv6\u700f\u89bd\u7db2\u9801?? 20\u9ede!!!!!!!!<\/a><\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\">http:\/\/[2001:b030:d81a:ff01::163]\/<\/pre>\n<p>--<\/p>\n<h2>telnet<\/h2>\n<pre class=\"lang:default decode:true \">&gt; ipconfig<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true\">Windows IP \u8a2d\u5b9a\r\n\r\n\u4e59\u592a\u7db2\u8def\u5361 \u4e59\u592a\u7db2\u8def:\r\n\r\n   \u9023\u7dda\u7279\u5b9a DNS \u5c3e\u78bc . . . . . . . . :\r\n   IPv6 \u4f4d\u5740. . . . . . . . . . . . .: 2001:288:731f::fe02\r\n   IPv6 \u4f4d\u5740. . . . . . . . . . . . .: fd34:84a0:38e7:0:d5b2:680a:a078:4f8b\r\n   \u81e8\u6642 IPv6 \u4f4d\u5740. . . . . . . . . . : fd34:84a0:38e7:0:4950:347a:8eae:798f\r\n   \u81e8\u6642 IPv6 \u4f4d\u5740. . . . . . . . . . : fd34:84a0:38e7:0:6d75:ecee:850b:f182\r\n   \u81e8\u6642 IPv6 \u4f4d\u5740. . . . . . . . . . : fd34:84a0:38e7:0:c543:e999:6cf2:5892\r\n   \u9023\u7d50-\u672c\u6a5f IPv6 \u4f4d\u5740 . . . . . . . : fe80::d5b2:680a:a078:4f8b%10\r\n   IPv4 \u4f4d\u5740 . . . . . . . . . . . . : 172.16.1.49\r\n   \u5b50\u7db2\u8def\u906e\u7f69 . . . . . . . . . . . .: 255.255.255.0\r\n   IPv4 \u4f4d\u5740 . . . . . . . . . . . . : 192.168.1.49\r\n   \u5b50\u7db2\u8def\u906e\u7f69 . . . . . . . . . . . .: 255.255.255.0\r\n   \u9810\u8a2d\u9598\u9053 . . . . . . . . . . . . .: 172.16.1.254<\/pre>\n<p>\u76f4\u63a5\u4f7f\u7528 IPv6 \u683c\u5f0f\u6e2c\u8a66\u5373\u53ef<\/p>\n<pre class=\"lang:default decode:true\">&gt; telnet fd34:84a0:38e7:0:4950:347a:8eae:798f 143<\/pre>\n<p>--<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"3575\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;1,772&nbsp;total views, &nbsp;2&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>-- \u4ec0\u9ebc\u662f IPv6 IPv...<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"3575\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;1,772&nbsp;total views, &nbsp;2&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[31],"tags":[322],"_links":{"self":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3575"}],"collection":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3575"}],"version-history":[{"count":14,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3575\/revisions"}],"predecessor-version":[{"id":11488,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3575\/revisions\/11488"}],"wp:attachment":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}