mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-07 00:23:44 +08:00
🐞 dig
: "any" type query works on macOS & Linux
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. ```
This commit is contained in:
@@ -60,7 +60,6 @@ docker run --rm -it \
|
||||
--issue \
|
||||
--staging \
|
||||
--debug \
|
||||
-d $FQDN \
|
||||
-d *.$FQDN \
|
||||
--dns dns_acmedns
|
||||
```
|
||||
@@ -96,8 +95,6 @@ docker run --rm -it \
|
||||
--issue \
|
||||
--staging \
|
||||
--debug \
|
||||
-d $FQDN \
|
||||
-d *.$FQDN \
|
||||
--dns dns_acmedns
|
||||
|
||||
```
|
Reference in New Issue
Block a user