Hi
I'm getting a strange delay when binding to a SwitchBinary.Set call.
I have bound a php script to a switch. The php script can be executed from a web browser or the command line. The phpscript has one line - a curl command to call Razberry to effect a different switch. I can call this script from the command line and the second switch is effected immediately.
Everything works with the BIND and I can call my script on the server when first switch state changes, however there is a delay of about 8 seconds from the time that my script sends the curl command to Razberry to the time Razberry excutes the command.
Can anyone explain why there is a difference here? Any idea why a script called from a BIND is 8 seconds slower than the same script called from a web browser or the command line?
I assume something in Razberry's automation engine is slowing it down.
Delay with automation BIND call
This is a problem of your dns
This is a problem of your dns settings. please check /etc/resolv.conf or other place in your system.
Also check reverse DNS records.
Also check reverse DNS records.
Still a problem
Thanks for this - I don't think it is a DNS problem. The bind method just calls a local script "/opt/TVSwitch.sh" while the TVSwitch.sh script calls SET command using the IP address of my Razberry. Its not using DNS at all.
Just in case I've checked /etc/resolv.conf and its fine.
Just in case I've checked /etc/resolv.conf and its fine.
Excuse, for me BIND is always
Excuse, for me BIND is always the most popular DNS server, not bind() call 
Now re-reading you post...
Please paste your scripts here, so we can get a better understanding. Also the log at the time of execution will be good to get more info about what happened in between.

Now re-reading you post...
Please paste your scripts here, so we can get a better understanding. Also the log at the time of execution will be good to get more info about what happened in between.