mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
Update multisocket README.md (#7621)
* Update multisocket README.md
I was a bit confused why `multisocket` wasn't working for me, but I eventually found 38c020941b/core/dnsserver/register.go (L308):
```
// create one server by default if no NumSockets specified
numSockets := 1
if group[0].NumSockets > 0 {
numSockets = group[0].NumSockets
}
```
I tried to summarize my understanding in the README
Signed-off-by: Ryan Brewster <rpb@anthropic.com>
* Update plugin/multisocket/README.md
Co-authored-by: Ville Vesilehto <ville@vesilehto.fi>
Signed-off-by: Ryan Brewster <rpb@anthropic.com>
---------
Signed-off-by: Ryan Brewster <rpb@anthropic.com>
Co-authored-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
@@ -62,6 +62,10 @@ If conducting such tests is difficult, follow these recommendations:
|
||||
|
||||
## Limitations
|
||||
|
||||
The `multisocket` value used for a given listen address is taken from the first server block that binds to that address
|
||||
in the Corefile. Subsequent server blocks using the same address will not change it. Different addresses may use
|
||||
different values.
|
||||
|
||||
The SO_REUSEPORT socket option is not available for some operating systems. It is available since Linux Kernel 3.9 and
|
||||
not available for Windows at all.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user