Remove if condition to clear DNS.

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>