Flush DNS (Clear DNS cache)

Please use below script to clear DNS cache,

import os;
out=os.popen('ipconfig /flushdns').read();
print(out)

Sample output would be as below,

flush_dns.jpg

Hi @mkannan
i run this script for all devices and most result was

  
 Procedure process exited unexpectedly  
 

only some devices run successful

Thanks .

Hi @aghiad

We will update the script to fix the issue and inform you.

Thanks

Hi @aghiad , Please refer the below JSON format, to Flush DNS (clear cache)

20170612-flush_dns.json (1.2 KB)