Questions tagged [resolvconf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
52 views

No DNS resolve on intranet clients when internet modem has disconnected from internet

This is a very peculiar issue. I have a SOHO in my home that looks roughly like this: internet->-|ISPmodem|->-|Firewall/DHCP/DNS/HTTP server|->-intranet where ISP modem is not used as a ...
user avatar
  • 1,408
0 votes
0 answers
44 views

avahi gives correct ip for local name, but ssh connects to 127.0.0.2

I have a current bullseye debian system with avahi installed and observe a puzzling problem: avahi-resolve gais.local -n4 returns: gais.local 10.0.0.106 which seems correct. However, ping or ssh ...
user avatar
2 votes
2 answers
1k views

How to configure resolv.conf

I recently run into an apparent DNS resolution issue which I documented here and this led me to investigate /etc/resolv.conf further. On my Linux Mint machine, this is a symlink that points to /run/...
user avatar
3 votes
1 answer
325 views

Domain names ending with .local not resolved

I have a strange problem resolving .local hosts on my linux (ubuntu) desktop. (I noticed that because my printer stops working. I figured out that the IP address of the printer is resolved using mdns ...
user avatar
  • 41
1 vote
1 answer
89 views

name_servers= from resolvconf.conf are not prepended, they're used alone

I enabled rc-manager=resolvconf in NetworkManager.conf and now resolvconf is used to maintain resolv.conf. Currently, I have just one wired connection and my dhcp server returns 2 search domains and 4 ...
user avatar
  • 1,801
0 votes
1 answer
1k views

Revert to default DNS /etc/resolv.conf settings on Debian

I had default Debian DNS settings on my laptop, but I couldn't connect to a corporate remote PC with it. Then I decided to edit DNS servers to corporate ones by editing /etc/resolv.conf. I've added ...
user avatar
0 votes
2 answers
3k views

Change resolv.conf

bug: resolv.conf auto-populates search and nameserver seeking: permanent or temporary (run each time system boots.) recommended solution: resolvconf package solves the auto-population issue (not to be ...
user avatar
  • 11
11 votes
1 answer
7k views

What is the difference between resolvconf, systemd-resolve, and avahi?

I'm currently working on a project that has required some DNS troubleshooting, however I am fairly new to the wonderful world of networking and am at a bit of a loss as to where to begin. My specific ...
user avatar
0 votes
1 answer
570 views

Host configured with both resolvconf and dnsmasq, restarting dnsmasq keeps pointing to old servers

I have an Ubuntu 16.04.2 LTS host. It is configured to use dnsmasq for DNS forwarding, rather than use resolv.conf populated with nameservers. The configuration is standard wherein resolv.conf just ...
user avatar
  • 1,500
0 votes
1 answer
463 views

fedora strongswan resolvconf: Interface can't be the loopback interface

I am getting this error when trying to use sudo strongswan up CONNECTION_NAME on Fedora 29 installing DNS server ###.##.#.## via resolvconf resolvconf: Interface can't be the loopback interface (lo). ...
user avatar
  • 101
1 vote
1 answer
5k views

how to install resolvconf in centos

I'm trying to install resolvconf in centos. In Ubuntu I'm able to install resolvconf sudo apt-get install resolvconf. For centos, I tried to do the same by sudo yum install resolvconf but I get ...
user avatar
0 votes
0 answers
526 views

How to update resolv.conf? [duplicate]

I am experiencing DNS resolution issues. I can ping an I.P. on my LAN but when I type it's URL into my browser it does not resolve to the I.P. and I can't access the webpage. I took a look at the ...
user avatar
  • 503
4 votes
1 answer
7k views

How to specify more than one DNS in resolvconf.conf?

I am trying to make resolvconf prepend two additional nameservers to /etc/resolv.conf when run with "resolvconf -u". My /etc/resolvconf.conf file is as follows: # Configuration for resolvconf(8) # ...
user avatar
  • 143
10 votes
6 answers
27k views

How to fix OpenVPN DNS leak

I just subscribed to a VPN provider. I have Xubuntu 17.10, openvpn 2.4.3. After launching the openvpn command I check the IP (fine) and performed a simple DNS leak test: not fine, it shows my ...
user avatar
1 vote
1 answer
669 views

How do I configure my DNS / DHCP / gateway server with 2 NICs to use its own DNS?

My SOHO lan is served by my main machine which operates as a router, firewall, gateway, DNS, DHCP server and backup server. I've set up bind9 and isc-dhcp-server to do DDNS for the lan clients, while ...
user avatar
  • 133
1 vote
0 answers
481 views

How do I mount a file on top of a broken symbolic link?

In preparation of a chroot I'm doing an mount --bind /etc/resolv.conf ${MOUNTPOINT}/etc/resolv.conf. I need this because the ${MOUNTPOINT} contains a broken etc/resolv.conf. However, mount is ...
user avatar
  • 401
1 vote
1 answer
2k views

Default DNS server settings

I recently updated my Ubuntu which ended in a shot DNS config. I am able to add a nameserver to /etc/resolvconf/resolv.conf.d/tail (and restart the service) to get DNS resolution for everything ...
user avatar
3 votes
4 answers
4k views

dnsmasq & systemd Causing Intermittent CPU Spikes

Problem: Running Ubuntu 17.10 I have been trying to resolv (hehe) this issue for about a week now and despite countless Google searches and about 20 different attempts, I can not stop dnsmasq from ...
user avatar
0 votes
0 answers
496 views

No DNS after upgrade-manager upgrade

I upgraded a Ubuntu Zesty to Artufl over SSH using upgrade-manager. All went well except for DNS. Name resolution fails, including ping. I still have an IP and I can SSH into it after reboot, but that ...
user avatar
5 votes
1 answer
748 views

How to query the resolvconf database?

The Description of resolveconf in it's manual page tells us: "The resolvconf package comprises a simple database for run-time nameserver information ...". What is clear in the manual page is how to ...
user avatar
  • 151
0 votes
0 answers
3k views

Configuring a dns server and client in Ubuntu

I have configured the following two ubuntu 16.04 machines: dns client: 192.168.248.190 dns server (bind9): 192.168.242.116 I basically followed this and only setup the forward zone file https://www....
user avatar
  • 181
2 votes
1 answer
197 views

Prevent resolvconf package assign localhost if named bind9/dnsmasq is found on host

Resolvconf is a package born to handle different specific situations like lans with dhcp, vpn, and other situation where everyone try to change manually the /etc/resolv.conf file. It has an algorithm ...
user avatar
  • 2,444
1 vote
3 answers
20k views

Kali Linux resolvconf symlinks broken after every reboot

I recently had to force my kali linux laptop to power off due to a desktop freeze. Now, after every reboot, DNS resolving is broken for browsers and tools like apt-get and ping, even though tools like ...
user avatar
7 votes
3 answers
21k views

Dhclient not updating /etc/resolv.conf

On Linux Mint, when I view the /etc/resolv.conf file, the first comment states that the /etc/resolv.conf file is generated by resolvconf(8). ~ $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file ...
user avatar
6 votes
3 answers
7k views

How to stop dhclient from updating resolvconf on Debian?

I want to use certain DNS servers on my Debian, regardless of whatever I get through DHCP. I'm trying to configure dhclient to ignore those, but I can't seem to get it to work. Per advice from this ...
user avatar
  • 1,362
2 votes
1 answer
4k views

How to know where resolv.conf entries come from?

I use resolvconf for nameserver management because my OpenVPN requires it. However, I notice that it generates nameserver information that is not exactly how I would want it: # Dynamic resolv.conf(5) ...
user avatar
  • 1,362
2 votes
3 answers
2k views

(Raspian) DHCP startup race conditions - lots of service failures at startup (no DNS for ~5-10 seconds)

(Edit: This applies to much more than postfix; it's just where I noticed/debugged it) I've installed postfix, but when it starts up and creates its chroot, it gets an empty copy of /etc/resolv.conf ...
user avatar
7 votes
2 answers
6k views

How to disable a specific interface (dhclient) from resolvconf?

I am using ubuntu/trusty64 Vagrant box with VirtualBox. I want to permanently disable nameserver 10.0.2.3 set by resolvconf based on Vagrant's default eth0 interface. I have a network defined in my ...
user avatar
  • 5,377
7 votes
3 answers
14k views

Preserving changed in resolv.conf across reboots with resolvconf

What is the best way to edit the resolv.conf file? I wasn't familiar with setting proxies until a task to configure a server came along. I manually edited my /etc/resolv.conf file and included the ...
user avatar
  • 331
1 vote
1 answer
199 views

Ubuntu 14.04.02LTS resolvconf -u creates an invalid line "nameserver Google's" in resolv.conf

NetworkManager is not installed. /etc/network/interfaces had a group of lines as follows; ###################### # EXTERNAL INTERFACE # ###################### auto eth2 iface eth2 inet static ...
user avatar
  • 11
8 votes
3 answers
4k views

OpenVPN, resolvconf, and DNS domain resolution

While at site1, I need to connect to site2 via OpenVPN. Once connected, the OpenVPN site2 pushes a DNS nameserver and domain search options. This causes all name resolutions for site1 to fail. ...
user avatar
  • 133
0 votes
1 answer
2k views

How to force nm-tool to update its DNS servers

Using Ubuntu 14.04LTS and having a problem with changing DNS. I can change servers in the /etc/resoolvconf/resolv.conf.d/base and head files and restart resolvconf using sudo resolvconf -u and it will ...
user avatar
  • 2,575
3 votes
1 answer
1k views

resolvconf writing invalid resolv.conf file

Every time I connect to my VPN I lose DNS with an error of, "cannot parse /etc/resolv.conf" The offending line is line 1 being an empty "domain". So after connecting to the VPN my resolv.conf file ...
user avatar
6 votes
4 answers
6k views

How to make resolvconf append nameservers to the list instead of prepending them?

I'm trying to configure OpenVPN to update DNS-servers as described here. That seems to work, but resolvconf prepends nameservers (and also search domains) to the list of existing nameservers. How can ...
user avatar
22 votes
4 answers
166k views

Ubuntu: How to configure DNS servers in /etc/network/interfaces correctly for resolvconf?

All examples I have seen of configurations (/etc/network/interfaces) showed that you configure an interface and then underneath that gave the dns-* lines such as: auto eth0 iface eth0 inet static ...
user avatar
  • 15.2k
11 votes
3 answers
27k views

How to get networkmanager to configure domain specific name servers with openresolv + dnsmasq

I often connect to multiple network simultaneously. Each of these networks provide nameserver configuration via dhcp. E.g. Network 1: (eth0): domain company1.corp # nameserver 192.168.0.253 ...
user avatar