Files
firezone/scripts/tests/direct-dns-api-down.sh
Jamil 06aa485e18 ci: Use search_domain for one resource in CI test (#8393)
- Adds a `search_domain` of `httpbin.test` in seeds
- Updates one of our DNS resources under CI test to use this
2025-03-15 13:27:22 +00:00

20 lines
321 B
Bash
Executable File

#!/usr/bin/env bash
source "./scripts/tests/lib.sh"
HTTPBIN=dns
function run_test() {
echo "# Access httpbin by DNS"
client_curl_resource "$HTTPBIN/get"
echo "# Make sure it's going through the tunnel"
client_nslookup "$HTTPBIN" | grep "100\\.96\\.0\\."
}
run_test
docker compose stop api
run_test