mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-06 16:18:00 +08:00

The behavior of `dig` version **9.11.25-RedHat-9.11.25-2.fc32** differs from macOS's `dig` version **9.10.6**. In other words, this test passes on my mac but not until now on (Linux-based) CI. I also took the opportunity to refactor our `dig` arguments to conform with the suggested usage: > Usage: dig [@global-server] [domain] [q-type] [q-class] {q-opt} fixes <https://ci.nono.io/teams/main/pipelines/sslip.io/jobs/unit/builds/145>: ``` Expected <int>: 9 to match exit code: <int>: 0 ``` Note that for the `any` test I had to append an additional `+notcp` argument to avoid an attempted TCP connection. I suspect a bug in `dig`: ``` dig any sslip.io @localhost ;; Connection to 127.0.0.1#53(127.0.0.1) for sslip.io failed: connection refused. ```