coredns now need golang1.6 to compile (#4964)

This commit is contained in:
ZhangJian He 2021-11-07 10:34:59 +08:00 committed by GitHub
parent f60fabc875
commit ac83f05338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ out-of-tree plugins.
To compile CoreDNS, we assume you have a working Go setup. See various tutorials if you dont have
that already configured.
First, make sure your golang version is 1.12 or higher as `go mod` support is needed.
First, make sure your golang version is 1.16 or higher as `go mod` support and other api is needed.
See [here](https://github.com/golang/go/wiki/Modules) for `go mod` details.
Then, check out the project and run `make` to compile the binary:
@ -87,7 +87,7 @@ and starts listening on port 53 (override with `-dns.port`), it should show the
~~~ txt
.:53
CoreDNS-1.6.6
linux/amd64, go1.13.5, aa8c32
linux/amd64, go1.16.10, aa8c32
~~~
The following could be used to query the CoreDNS server that is running now: