Public NAT64/DNS64 (Workaround for Git Updates on IPv6 Only Nodes)
Languages
Reconfigure /etc/resolv.conf to use new name servers
Why should I care?
Will enable full use of GitHub on IPv6 limited nodes by using a public NAT64/DNS64 resolver
Description | Command | |
|---|---|---|
| 1 | Update /etc/resolv.conf to use 1.1.1.1 and the public NAT64/DNS64 resolver
| WARNING - This will overwrite any existing DNS entries, make sure you want to do this! echo \
"#Public DNS Servers
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 2606:4700:4700::1111
nameserver 2606:4700:4700::1001
#TREX Public DNS64 Resolvers
nameserver 2001:67c:2b0::4
nameserver 2001:67c:2b0::6" | sudo tee /etc/resolv.conf |
| 2 | Use chattr to prevent any VPS cloud configs from resetting /etc/resolv.conf | This will make /etc/resolv.conf immutable sudo chattr +i /etc/resolv.confOnly run this if you need to edit /etc/resolv.conf again, you must disable immutability sudo chattr -i /etc/resolv.conf |
| 3 | Check your node's DNS connection settings | systemd-resolve --status |