dnsforward: allowed clients private nets

This commit is contained in:
Dimitry Kolyshev
2023-05-18 13:59:37 +03:00
parent 9caf0d54c6
commit 668155b367
4 changed files with 25 additions and 11 deletions

View File

@@ -509,6 +509,7 @@ func (s *Server) Prepare(conf *ServerConfig) (err error) {
s.conf.AllowedClients,
s.conf.DisallowedClients,
s.conf.BlockedHosts,
s.privateNets,
)
if err != nil {
return fmt.Errorf("preparing access: %w", err)