toolkit/func/core/pkg_bind/10-test-lookup.sh
2021-07-04 23:50:25 -07:00

4 lines
139 B
Bash
Executable file

#!/bin/bash
r_log "bind" "Testing bind lookups work"
dig +timeout=5 +short @127.0.0.1 localhost | grep -q "127.0.0.1"
r_checkExitStatus $?