check process named with pidfile /run/named/named.pid start program "/usr/bin/systemctl start named.service" stop program "/usr/bin/systemctl stop named.service" if failed host 127.0.0.1 port 53 type tcp protocol dns then restart if failed host 127.0.0.1 port 53 type udp protocol dns then restart if 4 restarts within 8 cycles then timeout