To make sure that DNS connections are delayed by the set value:
- Open several DNS connections from the same client to the same server
- Run:
fwaccel templates
The delay you see for the DNS template (under DLY field) should match the value specified for cphwd_udp_selective_delay_ha.
Note - The default value for this parameter is 30 seconds. The maximum value is 60.
To make the enhancements Permanent:
Update fwkern.con f by running:
> update_conf_file fwkern.conf cphwd_udp_selective_delay_ha=<delay>
To turn off the enhancements:
To turn off Delayed Connection and Delete on Response:
Extending Session Rate Enhancements to other UDP Services
By modifying the value of cphwd_delayed_udp_ports in fwkern.conf , you can extend the benefits of these two DNS session rate enhancements to other services. For example, to add UDP service 100 to the list, from gclish run:
> update_conf_file fwkern.conf cphwd_delayed_udp_ports=53,100,0,0,0,0,0,0
Note -
- The number of services is limited to 8.
- The command must contain 8 values. If you configure less than 8 services, enter 0 for the others.
- Directly updating
fwkern.conf is the only way to extend DNS session rate enhancements to other UDP services (fw ctl set int is not supported). - The configuration takes effect only after reboot.
|