diff options
Diffstat (limited to 'hosts/vidhar')
| -rw-r--r-- | hosts/vidhar/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 8f378e6f..568faac3 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
| @@ -276,6 +276,21 @@ | |||
| 276 | interface = ["127.0.0.1" "10.141.0.1" "::0"]; | 276 | interface = ["127.0.0.1" "10.141.0.1" "::0"]; |
| 277 | access-control = ["0.0.0.0/0 allow" "::/0 allow"]; | 277 | access-control = ["0.0.0.0/0 allow" "::/0 allow"]; |
| 278 | root-hints = "${pkgs.dns-root-data}/root.hints"; | 278 | root-hints = "${pkgs.dns-root-data}/root.hints"; |
| 279 | |||
| 280 | num-threads = 12; | ||
| 281 | so-reuseport = true; | ||
| 282 | msg-cache-slabs = 16; | ||
| 283 | rrset-cache-slabs = 16; | ||
| 284 | infra-cache-slabs = 16; | ||
| 285 | key-cache-slabs = 16; | ||
| 286 | |||
| 287 | rrset-cache-size = "100m"; | ||
| 288 | msg-cache-size = "50m"; | ||
| 289 | outgoing-range = 8192; | ||
| 290 | num-queries-per-thread = 4096; | ||
| 291 | |||
| 292 | so-rcvbuf = "4m"; | ||
| 293 | so-sndbuf = "4m"; | ||
| 279 | }; | 294 | }; |
| 280 | }; | 295 | }; |
| 281 | }; | 296 | }; |
