| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | .\" Generated by Mmark Markdown Processer - mmark.miek.nl | 
					
						
							| 
									
										
										
										
											2021-03-08 11:15:45 +00:00
										 |  |  | .TH "COREDNS-DNS64" 7 "March 2021" "CoreDNS" "CoreDNS Plugins" | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | .SH "NAME" | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | \fIdns64\fP - enables DNS64 IPv6 transition mechanism. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .SH "DESCRIPTION" | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | The \fIdns64\fP plugin will when asked for a domain's AAAA records, but only finds A records, | 
					
						
							|  |  |  | synthesizes the AAAA records from the A records. | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | The synthesis is \fIonly\fP performed \fBif the query came in via IPv6\fP. | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-26 09:22:29 +01:00
										 |  |  | .PP | 
					
						
							|  |  |  | This translation is for IPv6-only networks that have NAT64 | 
					
						
							|  |  |  | \[la]https://en.wikipedia.org/wiki/NAT64\[ra]. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | .SH "SYNTAX" | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							|  |  |  | dns64 [PREFIX] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .fi | 
					
						
							|  |  |  | .RE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .IP \(bu 4 | 
					
						
							|  |  |  | \fBPREFIX\fP defines a custom prefix instead of the default \fB\fC64:ff9b::/96\fR. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | Or use this slightly longer form with more options: | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							|  |  |  | dns64 [PREFIX] { | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  |     [translate\_all] | 
					
						
							|  |  |  |     prefix PREFIX | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .fi | 
					
						
							|  |  |  | .RE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .IP \(bu 4 | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | \fB\fCprefix\fR specifies any local IPv6 prefix to use, instead of the well known prefix (64:ff9b::/96) | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | .IP \(bu 4 | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | \fB\fCtranslate_all\fR translates all queries, including responses that have AAAA results. | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .SH "EXAMPLES" | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | Translate with the default well known prefix. Applies to all queries (if they came in over IPv6). | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | \&. { | 
					
						
							|  |  |  |     dns64 | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | .fi | 
					
						
							|  |  |  | .RE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-03-26 09:22:29 +01:00
										 |  |  | Use a custom prefix. | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | \&. { | 
					
						
							|  |  |  |     dns64 64:1337::/96 | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-13 07:41:05 -07:00
										 |  |  | .fi | 
					
						
							|  |  |  | .RE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | Or | 
					
						
							| 
									
										
										
										
											2020-06-13 07:41:05 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | \&. { | 
					
						
							|  |  |  |     dns64 { | 
					
						
							|  |  |  |         prefix 64:1337::/96 | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .fi | 
					
						
							|  |  |  | .RE | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							| 
									
										
										
										
											2020-03-26 09:22:29 +01:00
										 |  |  | Enable translation even if an existing AAAA record is present. | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | .RS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .nf | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | \&. { | 
					
						
							|  |  |  |     dns64 { | 
					
						
							|  |  |  |         translate\_all | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .fi | 
					
						
							|  |  |  | .RE | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-31 18:03:49 +00:00
										 |  |  | .SH "METRICS" | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | If monitoring is enabled (via the \fIprometheus\fP plugin) then the following metrics are exported: | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .IP \(bu 4 | 
					
						
							|  |  |  | \fB\fCcoredns_dns64_requests_translated_total{server}\fR - counter of DNS requests translated | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | The \fB\fCserver\fR label is explained in the \fIprometheus\fP plugin documentation. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | .SH "BUGS" | 
					
						
							|  |  |  | .PP | 
					
						
							|  |  |  | Not all features required by DNS64 are implemented, only basic AAAA synthesis. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .IP \(bu 4 | 
					
						
							|  |  |  | Support "mapping of separate IPv4 ranges to separate IPv6 prefixes" | 
					
						
							|  |  |  | .IP \(bu 4 | 
					
						
							|  |  |  | Resolve PTR records | 
					
						
							|  |  |  | .IP \(bu 4 | 
					
						
							| 
									
										
										
										
											2020-03-26 09:22:29 +01:00
										 |  |  | Make resolver DNSSEC aware. See: RFC 6147 Section 3 | 
					
						
							|  |  |  | \[la]https://tools.ietf.org/html/rfc6147#section-3\[ra] | 
					
						
							| 
									
										
										
										
											2020-03-26 08:42:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-05 13:37:38 +00:00
										 |  |  | .SH "SEE ALSO" | 
					
						
							| 
									
										
										
										
											2020-04-23 08:22:49 +00:00
										 |  |  | .PP | 
					
						
							|  |  |  | See RFC 6147 | 
					
						
							|  |  |  | \[la]https://tools.ietf.org/html/rfc6147\[ra] for more information on the DNS64 mechanism. | 
					
						
							|  |  |  | 
 |