echo -e "[network] generateResolvConf = false" > /etc/wsl.conf rm /etc/resolv.conf echo -e "options timeout:1 attempts:1 rotate nameserver 1.1.1.1 nameserver 1.0.0.1" > /etc/resolv.conf chattr -f +i /etc/resolv.conf
Random tech stuff
echo -e "[network] generateResolvConf = false" > /etc/wsl.conf rm /etc/resolv.conf echo -e "options timeout:1 attempts:1 rotate nameserver 1.1.1.1 nameserver 1.0.0.1" > /etc/resolv.conf chattr -f +i /etc/resolv.conf