Comments (4)
I'm experiencing the same thing on both Debian and Ubuntu 20.04 LTS server it seems
from wireguard-install.
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.
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.
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)
- Stopped working for no reason HOT 3
- Error bringing up tunnel: Bad address HOT 1
- Support different public interface for ipv6 traffic
- No time and traffic restrictions
- Vpn
- Add option not to use IPv6
- [feature request] check if systemd-resolved in installed
- failed to installed systemd service
- Wrong IP when installing, better to use "dig" than "ip"
- script generates invalid key? HOT 4
- Error Happens in Oracle Linux 9 HOT 1
- Command deprecated HOT 1
- Vpn
- script blindly assumes packages will be installed HOT 1
- multiple ipv4 missing in .sh
- iptables rules based on port - multiple LAN interfaces on server
- wg-quick: `/etc/wireguard/wg0.conf' does not exist HOT 2
- Allow /16 nets
- Detect public interface bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wireguard-install.