Hello,
you can run post connect scripts. It's mentioned in the Remote Access Admin Guide. For clearing the dns cache there is already an option in the trac_client_1.ttm.
flush_dns_cache
See sk75221
Configuring Post Connect Scripts
The Post Connect feature lets you run a script on client computers after connection is established. You must make sure that the script resides on the client computers, in the correct path.
To set the script path:
- Open GuiDBedit.
- Set desktop_post_connect_script to a full path on client machines for a script that Remote Access Clients will run after a connection is established (leave empty to disable the feature).
- Set desktop_post_connect_script_show_window to true to make the script run in a new window. (The default is false. The script runs in a hidden window.).
- Save and close GuiDBedit.
- Install the policy.