Skip to content

Commit 937fdee

Browse files
committed
trying new fix
1 parent 2d6399c commit 937fdee

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/task_acceptance_tests.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@ jobs:
3030
env:
3131
TWINGATE_LOG_LEVEL: debug
3232

33-
- name: Fix DNS
33+
- name: Fix dns
3434
run: |
35-
echo "=== Current DNS config ==="
36-
cat /etc/resolv.conf
35+
echo "=== Remove Azure DNS from eth0 interface ==="
36+
sudo systemd-resolve --interface=eth0 --set-dns=""
3737
38-
echo "=== Remove Azure DNS interference (as documented) ==="
39-
sudo sed '/^nameserver 168.63.129.16$/d; /^search/d' /etc/resolv.conf > /tmp/resolv.conf && sudo cp /tmp/resolv.conf /etc/resolv.conf
38+
echo "=== Configure Twingate DNS properly ==="
39+
sudo systemd-resolve --interface=sdwan0 --set-dns=100.95.0.251 --set-dns=100.95.0.252 --set-domain=delivery.puppetlabs.net
4040
41-
echo "=== Updated DNS config ==="
42-
cat /etc/resolv.conf
41+
echo "=== Flush DNS cache ==="
42+
sudo systemd-resolve --flush-caches
4343
44-
echo "=== Check what Twingate created ==="
45-
resolvectl status || systemd-resolve --status
44+
echo "=== Check new configuration ==="
45+
resolvectl status
4646
47-
echo "=== Test internal domain resolution ==="
47+
echo "=== Test DNS resolution ==="
4848
nslookup artifactory.delivery.puppetlabs.net
4949
5050
- name: Checkout current PR code

0 commit comments

Comments
 (0)