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:
rpb-ant
2025-10-17 12:16:29 -04:00
committed by GitHub
parent f4ab631ae4
commit 109b3f47de

View File

@@ -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.