fixed typo in dns sync condition