mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Use dns.port argument as default
Make DefaultPort just be 53. And use the value of Port to make the zone stanzas complete (instead of defaulting to 53 always). This allows you to override the port with dns.port.
This commit is contained in:
@@ -71,8 +71,8 @@ listening on port 2053, it should show the following:
|
||||
|
||||
~~~ txt
|
||||
.:2053
|
||||
2016/09/18 09:20:50 [INFO] CoreDNS-001 starting
|
||||
CoreDNS-001 starting
|
||||
2016/09/18 09:20:50 [INFO] CoreDNS-001
|
||||
CoreDNS-001
|
||||
~~~
|
||||
|
||||
Any query send to port 2053 should return some information; your sending address, port and protocol
|
||||
|
||||
Reference in New Issue
Block a user