If you run this in your terminal:
if (echo > /dev/tcp/localhost/53) >/dev/null 2>&1; then echo "DNS service is running"; else echo "DNS service is NOT running"; fi;
what does it print?
If you run this in your terminal:
if (echo > /dev/tcp/localhost/53) >/dev/null 2>&1; then echo "DNS service is running"; else echo "DNS service is NOT running"; fi;
what does it print?