Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Reconfigure /etc/resolv.conf para usar los nuevos nombres del servidor

¿Porqué me debería de importar?

  • Permite el uso completo de GitHub en IPv6
  • Will enable full use of GitHub on IPv6 limited nodes by using a public NAT64/DNS64 resolver

DescriptionCommand
1

Update /etc/resolv.conf to use the public NAT64/DNS64 resolver

WARNING - This will overwrite any existing DNS entries, make sure you want to do this!

echo \
"#TREX Public DNS64 Resolvers
nameserver 2001:67c:2b0::4
nameserver 2001:67c:2b0::6" | sudo tee /etc/resolv.conf
2

OPTIONAL - Append the 1.1.1.1 DNS name servers into /etc/resolv.conf

NOTE: If you cannot update from a GitHub repo after this step, repeat step 1 and do not perform step 2

echo \
"#Public DNS Servers
nameserver 2606:4700:4700::1111
nameserver 2606:4700:4700::1001
nameserver 1.1.1.1
nameserver 1.0.0.1" | sudo tee -a /etc/resolv.conf
3Use chattr to prevent any VPS cloud configs from resetting /etc/resolv.conf

This will make /etc/resolv.conf immutable

sudo chattr +i /etc/resolv.conf

If you need to edit /etc/resolv.conf again, you must disable immutability

sudo chattr -i /etc/resolv.conf
4Check your node's DNS connection settings
systemd-resolve --status



© 2019 Horizen. All rights reserved.


  • No labels