Code Monkey home page Code Monkey logo

Comments (4)

Techwizz-somboo avatar Techwizz-somboo commented on July 18, 2024 1

I'm experiencing the same thing on both Debian and Ubuntu 20.04 LTS server it seems

from wireguard-install.

Paderman avatar Paderman commented on July 18, 2024 1

I'm experiencing the same thing on both Debian and Ubuntu 20.04 LTS server it seems

OK, you have the same problem 😢🫣

from wireguard-install.

hdn012 avatar hdn012 commented on July 18, 2024 1

I encountered the same issue while using a VPS with Debian 12. I followed these manuals (https://wiki.debian.org/resolv.conf, https://manpages.debian.org/bookworm/resolvconf/resolvconf.8.en.html) and it appears to help me solve the problem.

Option 1:

When resolveconf was installed, it copied the old /etc/resolv.conf to /etc/resolvconf/resolv.conf.d/original so the manual suggests

Note also that the administrator can choose to create a symbolic link in /etc/resolvconf/resolv.conf.d/ from tail to original so that the contents of original are always added to the end of the dynamically generated file.

Option 2:

Edit /etc/network/interfaces and add dns-nameserver entries in the appropriate stanza for example. Mine is as follow:

Details
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address xxx
        netmask xxx
        broadcast xxx
        network xxx
        gateway  xxx
        # BELOW ENTRIES WERE ADDED
        dns-nameserver 1.1.1.1
        dns-nameserver 1.0.0.1

auto eth0:1
iface eth0:1 inet static
        address xxx
        netmask xxx
iface eth0:1 inet6 static
        address xxx
        netmask xxx
        gateway  xxx

auto eth0:2
iface eth0:2 inet static
        address xxx
        netmask xxx
iface eth0:2 inet6 static
        address xxx
        netmask xxx

auto eth0:3
iface eth0:3 inet static
        address xxx
        netmask xxx
iface eth0:3 inet6 static
        address xxx
        netmask xxx

then sudo ifup -a, then reboot for safe measure.

from wireguard-install.

Techwizz-somboo avatar Techwizz-somboo commented on July 18, 2024

I usually just make my resolv.conf immutable which also works well. (After making it a real file instead of a symlink)

from wireguard-install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.