- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
We are experiencing DNS resolution problems on our Firewall and currently engaging TAC. However, there is not a fix at this moment except I have to manually reboot the firewalls or stop and start the wsdnsd process every few hours.
I wonder if there is a way to schedule a job to run the following two commands (expert mode) every day, at 6:30AM.
cpwd_admin stop -name WSDNSD -path "$FWDIR/bin/wsdnsd" -command "kill -SIGTERM $(pidof $FWDIR/bin/wsdnsd)"
cpwd_admin start -name WSDNSD -path "$FWDIR/bin/wsdnsd" -command "wsdnsd"
Thanks
Sure. Pur them in a Bash script and source the CP environment, then run this script via Gaia‘a Job Scheduler at your prefered time.
I don't know how to script... Can you please give detail instructions?
Thanks
Ok, just put this script into a file named /home/admin/restart_wsdnsd
#!/bin/bash
source /etc/profile.d/CP.sh
if [[ -e /etc/profile.d/vsenv.sh ]]; then source /etc/profile.d/vsenv.sh fi
cpwd_admin stop -name WSDNSD -path "$FWDIR/bin/wsdnsd" -command "kill -SIGTERM $(pidof $FWDIR/bin/wsdnsd)"
cpwd_admin start -name WSDNSD -path "$FWDIR/bin/wsdnsd" -command "wsdnsd"
Make the file executable with this command:
chmod +x /home/admin/restart_wsdnsd
And finally run this script via Gaia‘a Job Scheduler at your prefered time.
./restart_wsdnsd
./restart_wsdnsd: line 7: syntax error: unexpected end of file
I tried to run it but it returned an error.
Thanks
I see the following result when the script runs, is that ok?
/home/admin/restart_wsdnsd: line 6: pidof: command not found
cpwd_admin:
Process WSDNSD (pid=22370) stopped with command "kill -SIGTERM ". Exit code 0.
cpwd_admin:
Process WSDNSD started successfully (pid=2701)
Thanks
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 16 | |
| 15 | |
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY