Get ExpressVPN on your Linux.
Linux için VPN'e mi ihtiyacınız var?
Hemen ExpressVPN Edinin
Refer a friend to use ExpressVPN.
ExpressVPN'i seviyor musunuz? Bir ay ücretsiz hizmet ister misiniz?
Hemen bir arkadaşınıza önerin

This guide will show you how to manually configure your Linux computer with other DNS server addresses to activate the ExpressVPN app.

Important: Setting a third-party DNS may cause DNS leaks.

To manually configure specific DNS server addresses on Linux:

  1. Run the following command:
    sudo apt-get install resolvconf
  2. Open the following file in a text editor of your choice, such as Vim:
    /etc/resolvconf/resolv.conf.d/base
  3. Enter the following lines, replaced with the DNS server addresses you want to use. The example below uses OpenDNS’s secure DNS servers:
    nameserver 208.67.222.222
    nameserver 208.67.220.220
  4. Remove any nameserver lines that you configured in the past.
  5. Save the file.
  6. Backup the current configuration file by running:
    sudo mv /etc/resolv.conf /etc/resolv.conf.backup
  7. Link to the new resolvconf configuration file by running:
    sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf
    sudo resolvconf -u
  8. Restart network services by running:
    sudo /etc/init.d/networking restart

You have changed the DNS server used on your Linux computer. If you had trouble activating the ExpressVPN app for Linux before, try activating the ExpressVPN app again.

Need help? Contact the ExpressVPN Support Team for immediate assistance.

Back to top

Bu yazı faydalı oldu mu?

Bunu duyduğumuza üzüldük. Nasıl geliştirebileceğimiz hakkında bizi bilgilendirin.

Destek Ekibimizden bir üyemiz sorununuzla ilgili sizinle iletişime geçecek.