mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Documentation improvements for dns64 plugin (#3777)
Minor typo and improvements to the dns64 plugin README. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
@@ -13,28 +13,30 @@ From Wikipedia:
|
||||
|
||||
The synthesis in only performed if the query came in via IPv6.
|
||||
|
||||
This translation is for IPv6-only networks that have [NAT64](https://en.wikipedia.org/wiki/NAT64).
|
||||
|
||||
See [RFC 6147](https://tools.ietf.org/html/rfc6147) for more information.
|
||||
|
||||
## Syntax
|
||||
|
||||
~~~
|
||||
dns64 [PREFIX] {
|
||||
[translate\_all]
|
||||
[translate_all]
|
||||
}
|
||||
~~~
|
||||
|
||||
* [PREFIX] defines a custom prefix instead of the default `64:ff9b::/96`
|
||||
* [PREFIX] defines a custom prefix instead of the default `64:ff9b::/96`.
|
||||
* `translate_all` translates all queries, including respones that have AAAA results.
|
||||
|
||||
## Examples
|
||||
|
||||
Translate with the default well known prefix. Applies to all queries
|
||||
Translate with the default well known prefix. Applies to all queries.
|
||||
|
||||
~~~
|
||||
dns64
|
||||
~~~
|
||||
|
||||
Use a custom prefix
|
||||
Use a custom prefix.
|
||||
|
||||
~~~
|
||||
dns64 64:1337::/96
|
||||
@@ -44,7 +46,7 @@ dns64 {
|
||||
}
|
||||
~~~
|
||||
|
||||
Enable translation even if an existing AAAA record is present
|
||||
Enable translation even if an existing AAAA record is present.
|
||||
|
||||
~~~
|
||||
dns64 {
|
||||
|
||||
Reference in New Issue
Block a user