mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-22 11:41:52 +00:00
- Adds a `search_domain` of `httpbin.test` in seeds - Updates one of our DNS resources under CI test to use this
18 lines
507 B
Bash
Executable File
18 lines
507 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
source "./scripts/tests/lib.sh"
|
|
|
|
client sh -c "apk add bind-tools" # The compat tests run using the production image which doesn't have `dig`.
|
|
|
|
echo "Resolving DNS resource over TCP with search domain"
|
|
client sh -c "dig +search +tcp dns"
|
|
|
|
echo "Resolving DNS resource over TCP with FQDN"
|
|
client sh -c "dig +tcp download.httpbin"
|
|
|
|
echo "Resolving non-DNS resource over TCP"
|
|
client sh -c "dig +tcp example.com"
|
|
|
|
echo "Testing TCP fallback"
|
|
client sh -c "dig 2048.size.dns.netmeister.org"
|