DNS64 สาธารณะของ Google
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
บทนำ
ปัจจุบันเครือข่ายสแต็กคู่ที่มีการเชื่อมต่อ IPv6 และ IPv4 เหมือนกันทั่วไป แต่ก็ยังอยู่ไกลจากระดับสากล
หากต้องการยกระดับการเปลี่ยนไปใช้ IPv6 และติดตั้งใช้งานเครือข่ายที่ใช้ IPv6 เท่านั้น ผู้ให้บริการเครือข่ายจะยังต้องเข้าถึงเครือข่ายและบริการ IPv4 เท่านั้น
มีกลไกการเปลี่ยนมากมายเพื่อให้การเข้าถึง IPv6 สําหรับ IPv4
ตัวเลือกยอดนิยมของผู้ให้บริการเครือข่ายเพิ่มขึ้นคือ NAT64
การใช้เกตเวย์ NAT64 กับความสามารถในการแปล IPv4-IPv6 จะช่วยให้ไคลเอ็นต์แบบ IPv6 เท่านั้นสามารถเชื่อมต่อกับบริการเฉพาะ IPv4 ผ่านที่อยู่ IPv6 สังเคราะห์ โดยขึ้นต้นด้วยคํานําหน้าที่กําหนดเส้นทางไปยังเกตเวย์ NAT64
DNS64 เป็นบริการ DNS ที่แสดงระเบียน AAAA ด้วยที่อยู่ IPv6 สังเคราะห์เหล่านี้สําหรับปลายทาง IPv4 เท่านั้น (ที่มีระเบียน A แต่ไม่รวม AAAA ใน DNS)
วิธีนี้ทําให้เฉพาะไคลเอ็นต์ IPv6 ใช้เกตเวย์ NAT64 โดยไม่มีการกําหนดค่าอื่นๆ
Google Public DNS64 ให้บริการ DNS64 เป็นบริการทั่วโลกโดยใช้คํานําหน้า NAT64 ที่สงวนไว้ 64:ff9b::/96
สําคัญ: ก่อนที่จะเริ่มต้น
ก่อนกําหนดค่าระบบให้ใช้ DNS สาธารณะของ Google แบบ 64
โปรดพิจารณาข้อจํากัดต่อไปนี้ซึ่งอาจส่งผลต่อการใช้บริการของคุณ
Google Public DNS64 มีไว้สําหรับใช้ในเครือข่ายที่มีสิทธิ์เข้าถึงเกตเวย์ NAT64 เท่านั้นโดยใช้คํานําหน้า NAT64 ที่สงวนไว้ 64:ff9b::/96
อย่าใช้ในเครือข่ายที่เข้าถึงเกตเวย์ NAT64 ไม่ได้
DNS สาธารณะของ Google เวอร์ชัน 64 ไม่ให้สิทธิ์เข้าถึงโดเมนส่วนตัวที่ไม่สามารถแก้ไขได้จากอินเทอร์เน็ตสาธารณะ แต่สามารถแสดงผลระเบียน AAAA สําหรับที่อยู่ IPv4 ส่วนตัว (RFC 1918) ที่แสดงผลในการตอบสนอง DNS สาธารณะ
ไม่จําเป็นต้องใช้ DNS64 สาธารณะของ Google สําหรับเครือข่ายหรือโฮสต์แบบ 2 ชั้น แต่วิธีนี้ทํางานได้โดยแสดงทั้งระเบียน AAAA ดั้งเดิมและระเบียน A ดั้งเดิม (ซึ่งอาจส่งผลให้การรับส่งข้อมูลไปยังโฮสต์ IPv4 เท่านั้นดําเนินการผ่าน NAT64 โดยตรงไม่ใช่โดยตรงผ่าน IPv4 แต่โดยทั่วไปเฉพาะในกรณีที่การเชื่อมต่อ NAT64 เร็วขึ้นเท่านั้น)
การกําหนดค่า DNS64 สาธารณะของ Google
หากระบบไม่มีปัญหากับข้อจํากัด DNS สาธารณะของ Google ข้างต้น คุณทําตามวิธีการเริ่มต้นใช้งาน DNS สาธารณะของ Google ได้ตามปกติ โดยแทนที่ที่อยู่รีโซลเวอร์มาตรฐานด้วยข้อมูลต่อไปนี้
- 2001:4860:4860::6464
- 2001:4860:4860::64
อย่ากําหนดค่าที่อยู่ IPv6 อื่น: การดําเนินการนี้ทําให้ DNS64 ไม่น่าเชื่อถือ
หากคุณกําหนดค่าที่อยู่ IPv4 แบบ DNS สาธารณะของ Google ด้วย (8.8.8.8 หรือ 8.8.4.4) โฮสต์สแต็กคู่อาจไม่ได้รับระเบียน AAAA ในบางครั้ง
อุปกรณ์บางเครื่องใช้ช่องที่อยู่ IP ทั้ง 8 ส่วนแยกกัน แต่จะยอมรับไวยากรณ์ตัวย่อ IPv6 ::
ไม่ได้ สําหรับช่องดังกล่าว ให้ป้อน
- 2001:4860:4860:0:0:0:0:6464
- 2001:4860:4860:0:0:0:0:64
ขยายรายการ 0
เป็น 0000
และรายการ 64
เป็น 0064
หากต้องใช้เลขฐานสิบหก 4 หลัก
DNS64 ที่ปลอดภัย
Google Public DNS64 รองรับการส่ง DNS ผ่าน HTTPS (DoH) และ DNS ผ่าน TLS (DoT) ที่ปลอดภัยสําหรับ DNS โดยใช้โดเมน dns64.dns.google
แทน dns.google
โดเมนนี้แปลงเป็นที่อยู่ IPv6 ที่ระบุไว้ข้างต้น และบริการ DoH และ DoT ที่พอร์ต 443 และ 853 สําหรับที่อยู่เหล่านั้นมีใบรับรอง TLS สําหรับ dns64.dns.google
เทมเพลต URI ของ RFC 8484 DoH สําหรับ Google Public DNS64 คือ
https://dns64.dns.google/dns-query{?dns}
และรองรับ JSON API
ด้วย URL เช่น https://dns64.dns.google/resolve?name=ipv4only.arpa&type=AAAA
(เข้าถึงได้จากระบบ IPv6 เท่านั้น)
ทดสอบการตั้งค่า DNS64
โปรดทําตามขั้นตอนการทดสอบในคู่มือเริ่มต้นใช้งานเพื่อยืนยันว่าการกําหนดค่า DNS64 ใช้งานได้
หากคุณไม่มีสิทธิ์เข้าถึงเกตเวย์ NAT64
Wikipedia จะแสดงรายการการใช้งาน NAT64 หลายรายการที่คุณทําให้ใช้งานได้ด้วยตนเอง
การใช้งาน NAT64 บางอย่างเป็นที่ทราบกันว่าใช้ไม่ได้กับ Google Public DNS64 ของ Google
MacOS X 10.11 ขึ้นไปจะผสานรวม NAT64/DNS64 แต่จะไม่ผ่าน IPv6 ทําให้ไม่สามารถเข้าถึงรีโซลเวอร์ DNS สาธารณะของ Google เวอร์ชัน 64
ซึ่งมีไว้สําหรับการทดสอบอุปกรณ์แบบ IPv6 เท่านั้นเมื่อคุณมีการเชื่อมต่ออินเทอร์เน็ต IPv4 เท่านั้นและใช้งานได้กับ DNS64 ที่รวมอยู่เท่านั้น (อุปกรณ์แบบ IPv6 เท่านั้นที่เชื่อมต่ออยู่จะใช้ Google DNS DNS โดยตรงไม่ได้ แม้ว่าคุณจะกําหนดค่าระบบ MacOS X ให้ใช้ 8.8.8.8 และ 8.8.4.4 ได้)
Cisco ASA 9.0 ขึ้นไปจะมี NAT64 แต่ไม่รองรับคํานําหน้าที่เป็นที่รู้จัก 64:ff9b::/96
และคุณจะต้องเลือกคํานําหน้าของคุณเอง
โดยจะไม่นํา DNS64 มาใช้ แต่จะตรวจสอบและการเขียน HTTPS ใหม่ที่ทํากับการเข้าชม DNS ที่ส่งผ่านเกตเวย์ NAT64
เฉพาะอุปกรณ์ IPv6 ที่อยู่เบื้องหลัง Cisco ASA จะได้รับการเชื่อมต่อ IPv4 โดยใช้
DNS สาธารณะของ Google โดยการกําหนดค่าที่อยู่รีโซลเวอร์ต่อไปนี้
การดําเนินการนี้จะกําหนดเส้นทางการค้นหาไปยัง DNS สาธารณะของ Google ผ่าน Cisco ASA NAT64
หากมีการกําหนดค่า Cisco ASA เพิ่มเติม ระบบจะแปลคําค้นหา AAAA เป็นคําค้นหา A
และคําตอบ A จะได้รับการแปลเป็น AAAA ด้วยคํานําหน้าที่กําหนดค่าไว้
การใช้ทั้งที่อยู่ NAT64 และที่อยู่รีโซลเวอร์ DNS สาธารณะของ Google สําหรับ Google
(2001:4860:4860::8888 หรือ 2001:4860:4860::8844) จะใช้ไม่ได้เพราะคําตอบเชิงลบจากทั้ง 2 โดเมนจะไม่ถูกค้นหาอีกครั้ง
คุณต้องเลือกความละเอียด IPv6 หรือ IPv4 DNS สําหรับการค้นหาทั้งหมด
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-09-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2022-09-27 UTC"],[[["\u003cp\u003eGoogle Public DNS64 enables IPv6-only clients to access IPv4-only services via a NAT64 gateway using the reserved prefix \u003ccode\u003e64:ff9b::/96\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUse the Google Public DNS64 resolver addresses: \u003ccode\u003e2001:4860:4860::6464\u003c/code\u003e and \u003ccode\u003e2001:4860:4860::64\u003c/code\u003e for IPv6-only client configurations.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Public DNS64 supports secure DNS transports like DNS over HTTPS (DoH) and DNS over TLS (DoT) using the \u003ccode\u003edns64.dns.google\u003c/code\u003e domain.\u003c/p\u003e\n"],["\u003cp\u003eEnsure your network has access to a NAT64 gateway using the \u003ccode\u003e64:ff9b::/96\u003c/code\u003e prefix before using Google Public DNS64, as it's a requirement.\u003c/p\u003e\n"],["\u003cp\u003eCertain NAT64 implementations like MacOS X's built-in version and Cisco ASA may require specific configurations or are incompatible with Google Public DNS64.\u003c/p\u003e\n"]]],["Network operators can deploy IPv6-only networks while maintaining IPv4 access using NAT64 gateways and DNS64 services. Google Public DNS64 provides synthetic IPv6 addresses for IPv4-only destinations, enabling IPv6 clients to connect without extra configuration. To use it, configure systems with specific IPv6 addresses (2001:4860:4860::6464, 2001:4860:4860::64). Secure DNS options like DoH and DoT are available. Testing verifies proper configuration, but some NAT64 implementations are incompatible.\n"],null,["# Google Public DNS64\n\nIntroduction\n------------\n\nDual-stack networks with both IPv6 and IPv4 connectivity are now common,\nbut they are still far from universal.\nTo take the next step of the transition to IPv6 and deploy IPv6-only networks,\nnetwork operators must still preserve access to IPv4-only networks and services.\nThere are several [transition mechanisms](https://en.wikipedia.org/wiki/IPv6_transition_mechanism) to provide [IPv6 access to IPv4](https://tools.ietf.org/html/rfc6144#section-2.1);\nan increasingly popular choice with many network operators is [NAT64](https://tools.ietf.org/html/rfc6146).\nUsing a NAT64 gateway with IPv4-IPv6 [translation capability](https://tools.ietf.org/html/rfc6145) lets\nIPv6-only clients connect to IPv4-only services via synthetic IPv6 addresses\nstarting with a prefix that routes them to the NAT64 gateway.\n\n[DNS64](https://tools.ietf.org/html/rfc6147) is a DNS service that returns AAAA records with these synthetic IPv6\naddresses for IPv4-only destinations (with A but not AAAA records in the DNS).\nThis lets IPv6-only clients use NAT64 gateways without any other configuration.\n**Google Public DNS64** provides DNS64 as a global service using the reserved\nNAT64 prefix [64:ff9b::/96](https://tools.ietf.org/html/rfc6052#section-2.1).\n\nImportant: Before you start\n---------------------------\n\nBefore configuring your systems to use Google Public DNS64,\nconsider the following limitations that may affect your use of the service:\n\n- Google Public DNS64 is intended for use only on networks with access to\n a NAT64 gateway using the reserved NAT64 prefix `64:ff9b::/96`.\n *Do not use it on networks that cannot reach such a NAT64 gateway*.\n\n- Google Public DNS64 does not provide access to private domains that cannot be\n resolved from the public Internet,\n although it *can* return AAAA records for private (RFC 1918) IPv4 addresses\n returned in public DNS responses.\n\n- Google Public DNS64 is not needed for dual-stack networks or hosts,\n but it does work, returning both synthesized AAAA and original A records\n (this can result in traffic to IPv4-only hosts going through NAT64 rather than\n directly via IPv4, but generally only when the NAT64 connection is faster).\n\nConfiguring Google Public DNS64\n-------------------------------\n\nIf your systems have no problems with the above Google Public DNS64 limitations,\nyou can follow the usual Google Public DNS [getting started](/speed/public-dns/docs/using) instructions,\nreplacing the standard resolver addresses with the following:\n\n- 2001:4860:4860::6464\n- 2001:4860:4860::64\n\n*Do not configure any other IPv6 addresses*: doing so makes DNS64 unreliable.\nIf you also configure Google Public DNS IPv4 addresses (8.8.8.8 or 8.8.4.4),\ndual-stack hosts may not get synthesized AAAA records sometimes.\n\nSome devices use separate fields for all eight parts of IPv6 addresses and\ncannot accept the `::` IPv6 abbreviation syntax. For such fields enter:\n\n- 2001:4860:4860:0:0:0:0:6464\n- 2001:4860:4860:0:0:0:0:64\n\nExpand the `0` entries to `0000`\nand the `64` entry to `0064`\nif four hex digits are required.\n\n### Secure DNS64\n\nGoogle Public DNS64 supports [DNS over HTTPS (DoH)](/speed/public-dns/docs/doh) and\n[DNS over TLS (DoT)](/speed/public-dns/docs/dns-over-tls) secure DNS transports using the\n`dns64.dns.google` domain instead of `dns.google`.\nThis domain resolves to the IPv6 addresses listed above, and the DoH and DoT\nservices at ports 443 and 853 for those addresses have TLS certificates for\n`dns64.dns.google`.\n\nThe RFC 8484 DoH URI template for Google Public DNS64 is\n`https://dns64.dns.google/dns-query{?dns}` and the JSON API is also supported\nwith URLs like [https://dns64.dns.google/resolve?name=ipv4only.arpa\\&type=AAAA](https://dns64.dns.google/resolve?name=ipv4only.arpa&type=AAAA)\n(only accessible from IPv6-capable systems).\n\nTest your DNS64 settings\n------------------------\n\nYou can follow the [test steps](/speed/public-dns/docs/using#testing) in the getting started guide to verify that\nyour DNS64 configuration is working.\nIf you don't have access to a NAT64 gateway,\nWikipedia lists several [NAT64 implementations](https://en.wikipedia.org/wiki/NAT64#Implementations) you can deploy yourself.\n\nSome NAT64 implementations are known not to work with Google Public DNS64:\n\n- MacOS X 10.11 and later incorporates NAT64/DNS64 but cannot pass IPv6,\n preventing access to the Google Public DNS64 resolvers.\n It is intended for testing IPv6-only devices when you only have IPv4\n connectivity to the Internet, and only works with the included DNS64\n (IPv6-only devices connected to it cannot use Google Public DNS directly,\n although you can configure the MacOS X system to use 8.8.8.8 and 8.8.4.4).\n\n- Cisco ASA 9.0 and later incorporates NAT64 but does not support the\n well-known prefix `64:ff9b::/96` and requires you to select your own prefix.\n It does not implement DNS64 but provides inspection and NAT rewriting of\n DNS traffic passing through the NAT64 gateway.\n\n IPv6-only devices behind a Cisco ASA can get IPv4 connectivity using\n Google Public DNS by configuring the following resolver addresses:\n - *NAT64-prefix* `::0808:0808` (*8.8.8.8 via Cisco ASA NAT64*)\n\n - *NAT64-prefix* `::0808:0404` (*8.8.4.4 via Cisco ASA NAT64*)\n\n This routes queries to Google Public DNS through the Cisco ASA NAT64.\n With some additional [Cisco ASA configuration](http://geenetworks.tumblr.com/post/35363923666),\n AAAA queries are translated into A queries,\n and A responses are translated back into AAAA with the configured prefix.\n\n Using both NAT64 addresses and Google Public DNS IPv6 resolver addresses\n (2001:4860:4860::8888 or 2001:4860:4860::8844) does not work,\n as negative responses from either one will not be re-queried with the other.\n You must choose either IPv6 or IPv4 DNS resolution for all queries."]]