Skip to content

Instantly share code, notes, and snippets.

@JuniYadi
Last active May 22, 2023 11:12
Show Gist options
  • Save JuniYadi/40b35c4f24f0a352be9ff74ae4b31830 to your computer and use it in GitHub Desktop.
Save JuniYadi/40b35c4f24f0a352be9ff74ae4b31830 to your computer and use it in GitHub Desktop.
#!/bin/bash
systemctl disable systemd-resolved
systemctl stop systemd-resolved
rm -rf /etc/resolv.conf
echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver 8.8.4.4" > /etc/resolv.conf
dig premiumfast.net
dig s3.ap-southeast-1.amazonaws.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment