diff --git a/content/momentum/3/3-reference/3-reference-modules-dnsbuf.md b/content/momentum/3/3-reference/3-reference-modules-dnsbuf.md index b0dfeaa3c..23c5db521 100644 --- a/content/momentum/3/3-reference/3-reference-modules-dnsbuf.md +++ b/content/momentum/3/3-reference/3-reference-modules-dnsbuf.md @@ -6,7 +6,9 @@ description: "Configuration Change This feature is available as beta in Momentum -**Configuration Change. ** This feature is available as beta in Momentum 3.6.5. +**Configuration Change.** This feature is available as beta in Momentum 3.6.5. + +> **NOTE: This feature was DEPRECATED in Momentum 4.8 and is no longer supported.** Momentum does not manipulate the size of UDP sockets it creates and uses for DNS queries; instead, it will use the default sizes configured by the Operating System. This can create problems for clients with too many domains (e.g., tens of thousands) in the system. Responses may be dropped, causing unnecessary DNS failures and retries, thus further increasing the DNS query volume. The `dnsbuf` module enables the client to manipulate the DNS buffer sizes on demand, on the fly. @@ -150,4 +152,4 @@ The following is an example in which Momentum started with ~30,000 unresolvable DNS AAAA Queries: 0 DNS MX Queries: 908388 Pending DNS Queries: 311 -``` \ No newline at end of file +``` diff --git a/content/momentum/4/modules/dnsbuf.md b/content/momentum/4/modules/dnsbuf.md index 0a2f7349e..5fee9d18f 100644 --- a/content/momentum/4/modules/dnsbuf.md +++ b/content/momentum/4/modules/dnsbuf.md @@ -6,7 +6,9 @@ description: "Configuration Change This feature is available in Momentum 4 2 and -**Configuration Change. ** This feature is available in Momentum 4.2 and later. +**Configuration Change.** This feature is available from Momentum 4.2 through 4.7. + +> **NOTE: This feature was DEPRECATED in Momentum 4.8 and is no longer supported.** Momentum does not manipulate the size of UDP sockets it creates and uses for DNS queries; instead, it will use the default sizes configured by the Operating System. This can create problems for clients with too many domains (e.g., tens of thousands) in the system. Responses may be dropped, causing unnecessary DNS failures and retries, thus further increasing the DNS query volume. The `dnsbuf` module enables the client to manipulate the DNS buffer sizes on demand, on the fly. @@ -19,8 +21,8 @@ The `dnsbuf` module is configured as follows: ``` dnsbuf { - sndbuf_size = "65536" # Default value is 131072 - rcvbuf_size = "65536" # Default value is 131072 + sndbuf_size = "65536" # In Linux this is set to 131072 + rcvbuf_size = "65536" # In Linux this is set to 131072 interval = "30" # Default value is 60 seconds } ``` @@ -130,6 +132,8 @@ while sleep 1; do (netstat --udp -s | grep error; echo summary | /opt/msys/ecelerity/bin/ec_console | grep DNS); echo; done ``` +> **NOTE:** Whenever possible, prefer to use the [HTTP-API statistics](/momentum/4/http-api-stats/summary) instead of the `summary` command for performance reasons. + The following is an example in which Momentum started with ~30,000 unresolvable domains in the queue. Notice that the "packet receive errors" number has increased, and there are a high number of pending DNS queries. ``` @@ -150,4 +154,4 @@ The following is an example in which Momentum started with ~30,000 unresolvable DNS AAAA Queries: 0 DNS MX Queries: 908388 Pending DNS Queries: 311 -``` \ No newline at end of file +```