Skip to content

Commit 7293198

Browse files
committed
WIP
1 parent 511413e commit 7293198

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.github/workflows/task_acceptance_tests.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222

2323
runs-on: 'ubuntu-latest'
2424
steps:
25-
26-
- name: Network diagnostics
27-
run: |
28-
nslookup puppet.twingate.com
2925

3026
- name: Connect to Twingate
3127
uses: twingate/[email protected]
@@ -34,6 +30,24 @@ jobs:
3430
env:
3531
TWINGATE_LOG_LEVEL: debug
3632

33+
- name: Fix dns
34+
run: |
35+
echo "=== Remove Azure DNS from eth0 interface ==="
36+
sudo resolvectl dns eth0 ""
37+
38+
echo "=== Configure Twingate DNS properly ==="
39+
sudo resolvectl dns sdwan0 100.95.0.251 100.95.0.252
40+
sudo resolvectl domain sdwan0 delivery.puppetlabs.net
41+
42+
echo "=== Flush DNS cache ==="
43+
sudo resolvectl flush-caches
44+
45+
echo "=== Check new configuration ==="
46+
resolvectl status
47+
48+
echo "=== Test DNS resolution ==="
49+
nslookup artifactory.delivery.puppetlabs.net
50+
3751
- name: Checkout current PR code
3852
uses: actions/checkout@v4
3953

0 commit comments

Comments
 (0)