Update dns_ops.py
Update check_by_yaml