Questions tagged [resolvconf]

Synonym to resolv.conf.

Filter by
Sorted by
Tagged with
6
votes
4answers
4k views

resolv.conf limited to six domains with a total of 256 characters

I've got a machine (Debian jessie) used to "jump" to another machines, with different domains.... actually many domains. As man resolv.conf tell us, search list for host-name lookup is limited up to ...
23
votes
8answers
91k views

What overwrites /etc/resolv.conf on every boot?

I was given the files for a mini linux, that boots directly into firefox. It works for all it should be doing, only that I do not get an internet connection. We have 3 DNS servers in the network, ...
0
votes
3answers
1k views

resolv.conf overwritten every time [duplicate]

I got this drwxrwxr-x 3 root tunnel 100 date and time . drwxr-xr-x 33 root root 860 date and time … -rwxrwxr-x 1 root tunnel 0 date and time enable-updates drwxrwxr-x 2 root tunnel 40 date and time ...
3
votes
0answers
279 views

Adding additional nameservers with resolvconf, dnsmasq & networkmanager

I'm running resolvconf, dnsmasq and interfaces&connections are managed by NetworkManager (nm). dnsmasq is supposed to cache dns entries, and use upstream servers configured via DHCP and manually. ...
8
votes
2answers
2k 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. ...
0
votes
2answers
125 views

resolv.conf with DHCP and local DNS server

I have installed a local DNS server (coredns) onto my machine and activate it by setting name_servers=127.0.0.1 within resolvconf.conf. Now I switch networks and want to have the DHCP provided ...
0
votes
1answer
251 views

Force run a dhclient script?

I'm seeking to prepend a local resolver into /etc/resolv.conf using a dhclient script at /etc/dhcp/dhclient.conf: prepend domain-name-servers 127.0.0.1; Is there a way for me to force dhclient to ...
0
votes
1answer
129 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). ...
0
votes
0answers
190 views

NixOS + docker nginx + dnsmasq for local somethingsomething.dev domains

I have been configuring NixOS as a dev machine lately (and so far I really love it). I was planning of using a nginx image as reverse proxy to route all *.dev requests to running docker images. This ...
1
vote
1answer
3k 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) # ...
0
votes
1answer
1k 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 ...
6
votes
4answers
5k 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 ...
0
votes
1answer
168 views

How can I apply domain search paths to /etc/hosts lookups?

I have a server with search example.com in resolv.conf, and it works correctly for DNS lookups. That is, if I ping host, and host1.example.com is in DNS, it is found. But if host1.example.com is in /...
1
vote
1answer
1k 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 ...
2
votes
2answers
1k views

concurrent curl could not resolve host

I try to run cocurrent curl but it can easily report "Could not resolve host". To run curl parallel, I use "parallel". parallel :::: ./a.sh ./a.sh from api server % Total % Received % Xferd ...
7
votes
3answers
42k views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
3
votes
1answer
344 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 ...
5
votes
1answer
2k views

NetworkManager-configured dnsmasq failing to forward requests

I use Lubuntu 17.04, on which the NetworkManager service (subsystem?) performs some configuration actions when I connect to a new network. One of these is (re)setting the /etc/resolv.conf file to: # ...
7
votes
2answers
2k 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 ...
0
votes
2answers
34k views

Where to locate resolv.conf file in CentOS 7

I know that "/etc/resolv.conf" is auto generated file by "/etc/resolvconf/resolv.conf.d/head" when reboot Ubuntu 14.04. It's ok But where i can locate same "/etc/resolvconf/resolv.conf.d/head" file ...
2
votes
0answers
950 views

Some services on debian 9.0, can not resolve domain names

Recently, after a dist-upgrade to Debian 9.0, I happened to notice that danted (a socks v5 proxy server) and stunnel4 (an SSL/TLS tunneling service) services can not resolve domain names. In danted ...
10
votes
5answers
98k 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 ...
2
votes
1answer
129 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 ...
1
vote
1answer
640 views

Ubuntu 16.04 - DNS problem when waking laptop up from suspend-mode

I am on Ubuntu 16.04 LTS, Dell XPS 15 9550. Since one week ago (which probably matches last kernel update), every time I wake up my Laptop from suspend-mode, it correctly connects to the WiFi, but ...
4
votes
2answers
4k views

Make dnsmasq not altering resolv.conf

Every time I (re)start dnsmasq it replaces /etc/resolv.conf with nameserver 127.0.0.1 .... However that maschine has not to use the local DNS service. (Please don't ask why, the whole environment is ...
1
vote
2answers
1k views

Networkmanager is populating resolv.conf with the wrong information which results in failed DNS queries

Ever since I installed a client from a VPN service, I'm unable to use the internet when not using a VPN connection. I figured out that this is because /etc/resolv.conf is being populated with the ...
5
votes
3answers
4k views

How to stop dhclient from updating resolvconf on Debian?

I want to use certain DNS servers 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 article I added ...
2
votes
3answers
3k views

What happens when we delete resolv.conf file from a Linux server?

I have deleted the resolv.conf file from a Linux server and now I am not able to login to that server. What is the logic behind this and how can this be resolved?
3
votes
1answer
9k views

Ubuntu server cannot access the Internet: appears DNS related

This is a Drupal website running Ubuntu 12.04 LTS on Linode. The server is just a website. It is not a DNS server or anything else. Here are my issues. It seems they are all related to DNS issues. (I'...
7
votes
1answer
3k views

Why is dnsmasq putting my router IP in /etc/resolv.conf instead of 127.0.0.1?

I'm having DNS resolution issues in various contexts which appear to trace back to my networking configuration. I'm running just the dnsmasq-base installation of dnsmasq on two Linux installations (...
2
votes
1answer
3k 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) ...
17
votes
1answer
77k views

BOOTPROTO=none | static | dhcp and /etc/resolv.conf

What does it mean when it says BOOTPROTO=none in the /etc/sysconfig/network-scripts/ifcfg-eth0 file. I remember there used to be BOOTPROTO=static and it was very clear and straight-forward in telling ...
8
votes
2answers
38k views

How to auto generate resolv.conf on Centos 6.5

I just installed CentOS 6.5 and configured the following files: /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=aa:bb:dd:dd:ee:ff TYPE=Ethernet UUID=adfddfaf-9sda-adse-dfs4-asdfsdfdfg97 ...
6
votes
3answers
10k 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 ...
0
votes
0answers
256 views

NetworkManager issue with DNS

My NetworkManager randomly empties /etc/resolv.conf for no apparent reason. After connecting to a network, the file contains whatever was obtained via DNS. Usually it keeps its contents, but sometimes ...
1
vote
1answer
154 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 ...
2
votes
1answer
10k views

openwrt: can't change dns server setting in order to resolve non FQDN hostnames

ssh'ing to my openwrt (ver. 10.03.1-RC6) shows that there is something wrong with its dns server: root@OpenWrt:~# nslookup starkill Server: 127.0.0.1 Address 1: 127.0.0.1 localhost. nslookup: can'...
3
votes
1answer
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 ...
3
votes
1answer
3k views

Can subsequent nameservers defined in /etc/resolv.conf be used if the previous nameservers can not be resolved?

I don't know much about networking...but I've been spending a lot of time reading about it. In my /etc/resolv.conf I have listed 3 nameservers. I understand that the second name namer is used only ...
7
votes
1answer
19k views

Why do DNS queries fail if the first nameserver is not recursive?

I have a Linux box (Ubuntu server 11.10) inside a Windows Active Directory domain, and is joined the domain using likewise-open. The resolv.conf file looks like this: domain mydomain.com nameserver ...
1
vote
2answers
972 views

issues with resolv.conf

I was tinkering with my resolv.conf file. I logged in to root and made the changes to it there. All of a sudden, I cannot get through to any websites using my Firefox browser. The file looks like ...
4
votes
1answer
2k views

List all DNS Servers, including those pushed by VPN

I want to know which DNS servers are in effect when I run commands like nslookup, dig, host, ping, etc. The general answer is to cat /etc/resolv.conf, or to look at NetworkManager, but that's only ...