func/core/pkg_bind/10-test-lookup.sh
2024-08-14 20:52:26 -07:00

5 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 $?