Skip to content

Commit 220f4ee

Browse files
authored
Merge pull request #140 from puppetlabs/twingate_artifactory
Adding Fix DNS step for puppetcore8-nightly collection
2 parents 27240a2 + 370cf17 commit 220f4ee

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/module_acceptance.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,24 @@ jobs:
8484
with:
8585
service-key: ${{ env.TWINGATE_PUBLIC_REPO_KEY }}
8686

87+
- name: Fix DNS
88+
run: |
89+
echo "=== Remove Azure DNS from eth0 interface ==="
90+
sudo resolvectl dns eth0 ""
91+
92+
echo "=== Configure Twingate DNS properly ==="
93+
sudo resolvectl dns sdwan0 100.95.0.251 100.95.0.252
94+
sudo resolvectl domain sdwan0 delivery.puppetlabs.net
95+
96+
echo "=== Flush DNS cache ==="
97+
sudo resolvectl flush-caches
98+
99+
echo "=== Check new configuration ==="
100+
resolvectl status
101+
102+
echo "=== Test DNS resolution ==="
103+
nslookup artifactory.delivery.puppetlabs.net
104+
87105
- name: "Checkout"
88106
uses: "actions/checkout@v4"
89107

0 commit comments

Comments
 (0)