Questions tagged [resolvconf]
a program that manages the resolv.conf file.
96
questions
0
votes
1
answer
4k
views
resolvconf-pull-resolved.path error
GoodDay all,
New day, new linux adventures on my home server:
Can resolvconf-pull-resolved.path be blocking my servers internet connection ?
Background info:
I updated/upgraded my server to the ...
0
votes
1
answer
106
views
Should I edit resolv.conf?
I am using U20 LTS, our Search Domain changed. I did change that in netplan Config but when I grep for old domain in /etc there is still the old one in resolv.conf.
In the file it says I shouldn't ...
12
votes
4
answers
60k
views
/etc/resolv.conf" E166: Can't open linked file for writing
Unable to update resolv.conf file.
/etc/resolv.conf" E166: Can't open linked file for writing
Ubuntu 18.04.1
0
votes
0
answers
92
views
Ubuntu 22.04 ethernet icon appeared and the internet is is not working websites giving dns error
So I was using a vpn on Ubuntu 22.04 and when I switched country it gor stuck and crashed after I which rebooted my system but when I checked the location and time it was still showing the VPN ...
1
vote
1
answer
5k
views
Ubuntu 22.04 wipes out /etc/resolv.conf symlink on reboot!
I'm trying to transition from an older Debian 10 container to a fresh Ubuntu 22.04 container. When re-installing and configuring everything I'm having a heck of a time with resolvconf.
For some reason,...
0
votes
0
answers
402
views
Netplan, networkd, resolvconf conflicts: Can't change DNS servers
I'm running Ubuntu 22.04.1 on a headless server and trying to change the DNS that the server uses. I set up the netplan .yaml file like this to use Cloudflare's servers:
network:
version: 2
...
0
votes
1
answer
7k
views
Wireguard resets its DNS settings on 20.04
Wireguard resets its DNS settings on restart.
I have WG tunnel with following settings:
[Interface]
Address = 10.8.0.2/32
Address = <public IPv6 ip>
DNS = 2001:4860:4860::8888
DNS = 2001:4860:...
0
votes
0
answers
2k
views
restarting resolvconf service not update /etc/resolv.conf in Ubuntu 22.04
I'm following the method 2 in https://linuxhint.com/update-resolv-conf-on-ubuntu/ to updating resolve.conf file. So when I changed file /etc/resolvconf/resolv.conf.d/head, and restart service by ...
0
votes
1
answer
443
views
`resolvconf` changing current DNS. Netplan stict using nameserver
I need to have my own DNS server in the corporate.
I have the following config set for netplan:
network:
version: 2
renderer: NetworkManager
ethernets:
eno1:
dhcp4: yes
...
0
votes
1
answer
3k
views
Default search domain for /etc/resolv.conf
With systemd-resolved, where does DOMAINS in search come from?
/etc/systemd/resolved.conf
[Resolve]
DNS=1.1.1.1
Domains=lan
/etc/resolv.conf
nameserver 127.0.0.53
search lan DOMAINS <----
lan is ...
1
vote
2
answers
6k
views
/run/resolvconf/resolv.conf ubuntu 18.04
I do need some clarifications for resolv.conf handling on ubuntu 18.04.02
My host is configure to use the old interfaces files.
But the interface itself is configured to use dhcp
auto enp2s0
iface ...
0
votes
1
answer
2k
views
Where is the resolvconf database, and how to reset it?
I am running Ubuntu 21.10 Desktop. For my work, I have to jump between different VPNs, and in the past I had to adjust DNS
nameservers for some of them, too. I did this just with editing my /etc/...
1
vote
0
answers
1k
views
resolvconf-pull-resolved.service is a disabled or a static unit
I am having a problem with the WIFI connection. The installed os is Ubuntu 18.04 and I got the following error on the browser.
Error on Browser: activation of network connection failed
Based on the ...
1
vote
0
answers
165
views
How can I tell what app, script, or service is responsible for changing resolv.conf?
I am aware that DNS and other name resolution is controlled most proximately by /etc/resolv.conf, and that resolvconf / resolvectl / systemd-resolve is most proximately responsible for the contents of ...
4
votes
1
answer
18k
views
How to disable 127.0.0.53 as DNS?
For some reason, my DNS seems to be set to 127.0.0.53. It's not really a problem, since my local (i.e. on my laptop) DNS seems to redirect DNS requests to the default gateway. But I would like it to ...
10
votes
5
answers
62k
views
How to add two IPv6 dns-nameservers into /etc/network/interfaces?
With IPv4, I can add two DNS Name Servers without any problem, like this:
"dns-nameservers 8.8.4.4 8.8.8.8"
Then on my resolv.conf I got:
nameserver 8.8.4.4
nameserver 8.8.8.8
BUT, ...
0
votes
0
answers
358
views
how come resolvconf update /etc/resolve.conf file even if systemd-resovled service is disabled?
I disabled systemd-resoved service and set nameserver in raspberry pi to my local dns, but I discovered it on reboot it got changed. To nameserver I don't know where it came from and how it is ...
1
vote
1
answer
358
views
DHCP dns stopped working on ubuntu 18.04
I have setup new ubuntu 18.04 server which has dhcp assigned ip and dns 192.168.120.62 , after setup when i checked i waw able to get result using nslookup for local dns entries of 192.168.120.62 but ...
2
votes
1
answer
620
views
resolvconf-pull-resolved.service and plymouth-quit-wait.service slows down my ubuntu 20.04
The problem is resolveconf-pull-resolved.service and plymouth-quit-wait.service are taking a lot of time to start making the overall boot process slow. The first one upon searching, I found various ...
0
votes
0
answers
538
views
/etc/resolv.conf not populated on boot, only after subsequent reboot
We have an Ubuntu Server 16.04.7 virtual machine running on top of Proxmox 6.3.
On reboot of the host, this machine comes up with an "empty" /etc/resolv.conf:
# Dynamic resolv.conf(5) file ...
1
vote
3
answers
13k
views
Is /etc/resolv.conf a symbolic link, and are changes to it persistent?
Is /etc/resolv.conf a symbolic link? If so, how can one make persistent changes to the DNS?
63
votes
4
answers
98k
views
nameserver 127.0.1.1 in resolv.conf won't go away!
I've read that I should have nameserver 127.0.1.1 in my /etc/resolv.conf file only if my machine has its own DNS server. Since it doesn't, having it causes problems. But no matter what I do I can not ...
1
vote
1
answer
4k
views
resolvconf got uninstalled and can't install it again
So when I do:
sudo apt-get install *Package*
It says:
dpkg: too many errors, stopping
Errors were encountered while processing:
resolvconf
Processing was halted because there were too many errors.
E:...
1
vote
1
answer
829
views
How to route DNS resolver to a different DNS based on the URL hostname?
This is why I would like to do:
Most hostnames -> Resolved by DNS1.
Some hostnames -> Resolved by DNS2 (I don't know IP addresses just the hostname).
It should look as creating a whitelist/...
1
vote
3
answers
8k
views
DNS settings messed up and resolvconf uninstalled
Yesterday I messed up my network settings on Lubuntu 16.04. Wifi had problems and I thought it was my problem, it turned out later, that the problem was a temporary problem with the central wifi, it ...
5
votes
1
answer
9k
views
How do you update the DNS resolver configuration without causing downtime?
A note
New question, since everything else on this matter appears to be outdated and/or conflicting. Hold your close votes, please :)
The problem
On stock installs of Ubuntu 12 and 14 Server, the ...
0
votes
1
answer
778
views
Can't connect to the internet after purging resolvconf
I was trying to fix my internet because it wasn't working randomly, so I used the command
sudo apt-get remove --purge resolvconf && sudo apt-get install --reinstall resolvconf
Anyways, I got ...
3
votes
1
answer
3k
views
ubuntu 18.04 DNS issue
I have an ubuntu 18.04 server running apache/mysql that can't seem to resolve DNS anymore.
I didn't do anything, but maybe I missed something when checking the server after the last update.
Here's ...
4
votes
3
answers
25k
views
Removed resolvconf can't install anymore
As stated in the title, I removed resolvconf (with reinstalling in mind because name resolution was acting up) but now I'm unable to install this package.
I tried two things:
apt-get install --...
7
votes
2
answers
15k
views
Accidentally deleted /etc/resolv.conf and now can't access any domain
I was getting dns probe finished message in chrome on Ubuntu 18.04 so I looked up on the internet and tried to run the following commands.
sudo rm/etc/resolv.conf
sudo ln -s /var/run/resolvconf/...
2
votes
2
answers
10k
views
Resolv.conf: presence of 'search localdomain' fails correct DNS lookup
Scenario:
Attempt to resolve host named 'puppet' in domain 'puppet.mydomain.com'
Resolution is successful if the resolv.conf file does not include search directive for 'localdomain' and only the ...
5
votes
0
answers
933
views
systemd-resolved and resolvconf : is it ok to have both installed?
Systemd-resolved is present by default in Ubuntu 18.04. Resolvconf pkg is not.
From reading around, systemd-resolved provides name resolution while resolvconf provides multi-client access to update ...
0
votes
0
answers
229
views
How to NetworkManager, resolvconf, and dsnmasq work together?
Running Kubuntu 16.04
Sometimes the name resolution gets slow. In previous Ubuntu versions, the problem was usually in resolv.conf and was easy to fix. In 16.04 all the DNS resolution is hidden in a ...
0
votes
0
answers
349
views
Is resolvconf hard-coded its nameserver setting?
First of all, this is not a duplicate of How do I include lines in resolv.conf that won't get lost on reboot?, as
A) It has not been working since 14.04. See the comment:
In 14.04 this answer ...
0
votes
1
answer
867
views
UBUNTU 18.04 Desktop Resolved DNS problems and updating /etc/resolv.conf
I have several questions about the internal workings of network-manager, systemd-resolve, and the /etc/resolv.conf and any other files such as nsswitch.conf.
Is there a file or several files, where ...
0
votes
1
answer
2k
views
Set the nameserver in ubuntu with netplan
I'm working on an ansible playbook to set the dns server addresses in my Ubuntu Bionic 18.04.2 server.
I don't want to use resolv.conf cause I learned it's deprecated in the new Ubuntu.
My question ...
1
vote
1
answer
978
views
DNS resolving of localhost subdomains stopped working after resolvconf update
For years I'm using Ubuntu (currently on 18.10) to develop PHP applications on domains like foo.bar.localhost for local testing. These domains were resolved to 127.0.0.1 and handled by Apache 2.4. ...
-1
votes
1
answer
230
views
Package resolvconf 1.79ubuntu10.18.04.1 is broken
Updating Ubuntu 18.04 resolvconf with version 1.79ubuntu10.18.04.1 breaks DNS record resolution.
Bug reference: 1819625
0
votes
1
answer
1k
views
Network issues - resolvconf problem
Internet access is available for a brief second when the browser is initiated, but after a split second, internet connection is unavailable.
Searching a bit in the forum, I found out that
dpkg-...
0
votes
1
answer
769
views
unable to retain 4 nameservers in resolvconf
Here is my /etc/resolvconf/resolv.conf.d/base file contents:
# leave commented out above line lin resolvconf...as its listed in another file.
options timeout:1 attempts:1
nameserver 10.0.4.15
...
1
vote
1
answer
5k
views
DNS resolution broke after upgrading to 18.04, resolvconf broken or not fully installed
when googling i find stuff like this: askubuntu resolvconf
but /etc/resolv.conf doesn't seem to exist
sudo dpkg-reconfigure resolvconf
returns that resolvconf is broken or not fully installed
...
1
vote
1
answer
5k
views
How to execute resolvconf without warning?
I configured NetworkManager, so that it maintains symbolic link from /etc/resolv.conf to file in its directory - /var/run/NetworkManager/resolv.conf
ls -l /etc/resolv.conf
... /etc/resolv.conf -> /...
1
vote
1
answer
3k
views
DNS/systemd-resolve/dnsmasq/resolvconf problems. Errors in syslog. 18.04
I'm trying to resolve these two repeating errors in /var/log/syslog...
nf_conntrack: nf_conntrack: table full, dropping packet
Maximum number of concurrent DNS queries reached (max: 150)
Looking at ...
6
votes
1
answer
4k
views
Why there are resolvconf.service and systemd-resolved.service services present in ubuntu at the same time
In ubuntu there are two solutions that provide dns cache and configure functionality. One is resolvconf.service (part of resolvconf package). Another is systemd-resolved.service (part of systemd ...
1
vote
2
answers
718
views
Resolver: LAN, VPN and WAN name resolution
I have read the man pages on resolv.conf and resolvconf and resolvconf.conf but don't understand everything and feel I'm a tad lost on how I might (ahem) resolve this problem:
Scenario:
I have a LAN ...
0
votes
0
answers
3k
views
how to update dns after a changing resolvconf
I need to edit my system's dns nameservers, without rebooting, on a system i believe uses resolveconf. The changes i make to /etc/resolvconf/resolve.conf.d/base ARE reflected on full reboot, but I ...
5
votes
0
answers
7k
views
How can I repair /run/resolvconf/interface missing error? [closed]
An upgrade from Ubuntu 14.04 LTS to Ubuntu 15 failed. Package repair hangs at this point:
Setting up resolvconf (1.77ubuntu1) ...
Processing triggers for resolvconf (1.77ubuntu1) ...
resolvconf: ...
-1
votes
1
answer
1k
views
Wifi in Ubuntu 17.10 is not sensing nearby networks
When I typed sudo dpkg-reconfigure resolvconf this was the error.
dpkg-query: package `resolvconf' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine ...
0
votes
2
answers
14k
views
Auto generate /etc/resolv.conf [duplicate]
I have manually edited /etc/resolvconf/base to add openDNS name servers, and then run sudo resolvconf -u to update the /etc/resolv.conffile.
However changes are discarded on each reboot.
How do I ...
4
votes
1
answer
10k
views
Setting DNS via NetworkManager/nm-applet doesn't update the /etc/resolv.conf (17.10)
My /etc/resolv.conf shows
# Generated by NetworkManager
search [value provided by local network]
nameserver 127.0.1.1
The nameserver value is not the one provided by the local network (checked using ...