All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
0answers
15 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. ...
2
votes
1answer
102 views

How do I to debug a slow network? (ArchBang)

Situation: MacBook Pro (late 2011/i3) with ArchBang has inconsistent network issues (very slow speed, pages fail to load, dns resolution failing). The workaround: systemctl restart NetworkManager....
1
vote
0answers
61 views

Fedora 29 VirtualBox will not use DNS from host VPN

I am running a Windows 10 machine for work (required) and so use VirtualBox to get a Fedora 29 machine so I can run code locally before pushing to production. Our github is behind a VPN and we use ...
0
votes
2answers
260 views

nmcli won't let me remove DNS entry from /etc/resolv.conf

Centos 7.5, nmcli version 1.20.2 Whenever I try to remove entries from /etc/resolv.conf I get the following errors. [root@client ~]# cat /etc/resolv.conf # Generated by NetworkManager search home ...
2
votes
0answers
62 views

Use DHCP-provided DNS or not based on connected network

My current networking setup (on Arch Linux) involves: stubby to resolve DNS requests with DNS-over-TLS. dnsmasq to cache DNS queries (and nothing else). openresolv to manage resolv.conf. ...
1
vote
1answer
312 views

How do I specify the order that Network-Manager populates /etc/resolv.conf

Network Manager is posting the correct name servers and search domains into /etc/resolv.conf when I restart the network. However, it is not in an order I like. How can I tell Network Manager to ...
0
votes
1answer
1k views

DNS is not applied with systemd-resolved

I'm using Kubuntu 18.04. When I'm in the office network, everything works fine, but when I connect to any other network (wired of wifi) I don't get proper DNS names - the old ones are still in systemd-...
0
votes
0answers
154 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 ...
16
votes
3answers
3k views

Who reads /etc/resolv.conf?

My Centos 7 server doesn't resolve domain names properly. From what I see, in modern Linux systems /etc/resolv.conf is often generated with dhclient, dnsmasq or Network Manager. Thus I have a ...
0
votes
2answers
995 views

How to let resolveconf update DNS configuration when using NetworkManager

I've recently noted that my /etc/resolve.conf.head and /resolve.conf.tail files were being ignored by NetworkManager DNS changes. How to make use of them to add defaults nameserver configuration when ...
1
vote
1answer
358 views

dnsmasq's server option doesn't work for a specific domain

I have configured dnsmasq as a local DNS server. Now since my ISP does not resolve some-company.sharepoint.com I want to use Google's servers for the domain sharepoint.com. (See here for the windows ...
2
votes
1answer
417 views

NetworkManager(dhclient) fails to update DNS server

I'm getting troubles trying to navigate in a new network, Network manager starts dhclient as follows: root 981 0.0 0.0 16124 3660 ? S 11:31 0:00 /sbin/dhclient -d -q -sf /usr/...
3
votes
1answer
719 views

How to override a vm DNS servers?

I'm running a CentOS 7 Virtual machine and it's picking up the DNS nameservers from my Fedora 27 system via DHCP I believe. I am trying to change the DNS nameserver in /etc/resolv.conf to google name ...
2
votes
2answers
2k views

I can't ping6 my domains from outside. Destination unreachable: Administratively prohibited

Setup Desktop computer (MyComputer) Mobo: ASRock Distro: Arch Linux Yunohost Server (Yunohost) Mobo: Raspberry Pi 3 Distro: Debian Main App: Yunohost/NextCloud Domain registered at godaddy.com (...
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: # ...
2
votes
1answer
902 views

How to reorder /etc/resolv.conf at load time [duplicate]

I have a CentOS system that retrieves its upstream DNS servers via DHCP. I want to run DNSMasq on this box and use it as a server to resolve some hostnames for development. The problem is when my ...
1
vote
2answers
702 views

Change DNS servers but keep DHCP assigning IP address

I would like to change my DNS servers but keep whatever IP address is assigned by the DHCP (which runs on my Huawei HG255s router). I run Debian Testing with KDE 5. Changing resolv.conf doesn't help ...
0
votes
1answer
86 views

I can only connect internet to employers wifi. Apart from it, I am able to connect to wifi, but I am not getting internet

I have a strange issue. If I connect to Ethernet or wifi in my office, I get the internet. But I can't get the internet in the home wifi or my mobile phone hotspot. I get the following when I try to ...
0
votes
1answer
632 views

Network Manager DNS Issues

I'm on Debian Jessie Linux with LXDE. I'm getting some strange behaviors with my networking. I essentially want to disable IPv6, use custom OpenNIC DNS, and network-manager-gnome for wifi management. ...
1
vote
1answer
1k views

Where to find nameservers obtained from DHCP (via NetworkManager)?

To learn, I am writing my own caching DNS server (à la dnsmasq, but in Python instead). From DHCP, NetworkManager obtains upstream nameservers and places them in /etc/resolv.conf. My system also looks ...
3
votes
1answer
1k views

NetworkManager should ask only the “top” DNS server

I'm in a WLAN which is censoring web sites by their DNS server. As I want not to be censored I use a VPN (OpenVPN, NetworkManager) for all of my traffic. If I try to resolve a domain, NetworkManager'...
0
votes
1answer
306 views

Local device DNS thinks I am in the wrong country

I recently traveled to Canada, and once I arrived my Ubuntu 16.10 laptop started having DNS resolution issues after a couple days when it became confused about what country I was in. Initially I could ...
3
votes
3answers
20k views

CentOS7: Network Manager is using wrong search domain

With Network Manager in Red Hat 7, I am seeing an issue where the old/wrong search domain is being used after changing the hostname. In /etc/resolv.conf, I see: # Generated by NetworkManager search **...
2
votes
0answers
1k views

NetworkManager Default Connection Settings

I'm trying to modify NetworkManager's default DNS settings so that whenever I add a new connection it uses 127.0.0.1 instead of the default DNS for that connection. I still would like to be able to ...
3
votes
1answer
795 views

NetworkManager corrupted ipv6 dns settings

Today, I started having most web sites failing to load in browsers. Checking my network settings, I discovered those strange settings in ipv6 tab: Switching back to my usual dns for ipv6 (Google's ...
0
votes
1answer
1k views

Purpose of ipv4.dns-option in nmcli

dns-options can be changed for connection name myname to the value value using nmcli con modify myname ipv4.dns-options value Using interactive mode, I get a short description of what dns-options ...
6
votes
1answer
2k views

nmcli: dns settings duplicate? IP4.DNS vs. ipv4.dns

~ $ lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 18 Sarah Release: 18 Codename: sarah ~ $ uname -r 4.4.0-21-generic ~ $ nmcli -v nmcli ...
0
votes
1answer
1k views

Configuring automatic DHCP network connection via command-line on Ubuntu 14.04

Our server (Ubuntu 14.04) has recently been migrated to a new web server network. It has been assigned a DNS name and an IP address which will be assigned to it by the DHCP server (static addressing ...
0
votes
0answers
252 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 ...
0
votes
1answer
164 views

set network manager dns in ubuntu

I have Ubuntu 14.10. When I'm at work I can browse the internet without problems. Now that I'm at home, I can connect, but I'm not able to browse the web. Some informations: the output of ifconfig: ...
6
votes
4answers
11k views

OpenConnect not resolving hostnames

I'm running LMDE 17, and I've installed OpenConnect v6 and the repository version of network-manager-openconnect. Everything is peachy, except any address for the domain companyname.local doesn't ...
3
votes
1answer
1k views

How do I manage resolv.conf with Puppet and NetworkManager?

I have some hosts that have explicitly managed resolv.conf files. I have others that rely on NetworkManager, which does many things including writing the resolv.conf file. Is there a consistent way ...
7
votes
3answers
40k 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 ...
15
votes
5answers
66k views

How to set DNS resolver in Fedora using network-manager?

I want to try out Google public DNS. For this I need to change the nameserver address. I know it's in the file /etc/resolv.conf, but whenever I start network-manager, it overwrites the values in that ...
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 ...
7
votes
2answers
796 views

Firefox unable to access domains defined in /etc/hosts if Network Manager is disconnected from a network

For developing web sites, I define test domains in /etc/hosts : 127.0.0.1 example.org I can then access example.org in the browsers. However I when the Network Manager is not connected to any ...
4
votes
3answers
10k views

Change default DNS on openvpn connect

I am using Network Manager on Ubuntu 12.10 to connect to an openvpn server. The connection works without problems. However, when I connect, I would like to change my default DNS server to a server ...
8
votes
2answers
22k 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 ...