Questions tagged [dns]

Domain Name System for computers, services, or any resource connected to the Internet. It translates domain names meaningful to humans into the numerical identifiers associated with networking equipment for the purpose of locating and addressing these devices worldwide.

1,140 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13 votes
2 answers
16k views

Getting openconnect vpn to work through network-manager

This is the same issue as here: Getting openconnect vpn to work through gui , but my additions to it were deleted and I was asked to create a new question. In fact, there are a number of folks asking ...
user avatar
9 votes
0 answers
2k views

Systemd-resolved not getting nameservers from DHCP

I'm running a few ubuntu 18.04 servers in a Windows AD environment. The servers have no problem getting IPs via DHCP, but the DNS settings specified in option-6 are not written to any files. ...
ShOC_lost's user avatar
7 votes
1 answer
12k views

Unable to connect to internet using Android wifi tethering (hotspot) in Ubuntu 14.04

I'm unable to connect to Internet when using Android WiFi hot-spot (I'm able to connect to hot-spot, but not able to access Internet). When I use a WiFi router Internet works fine. In chrome I get ...
zuke's user avatar
  • 266
6 votes
1 answer
5k views

cat: /var/lib/misc/dnsmasq.leases: No such file or directory

I've searched all over the internet, but couldn't find any answers of my problem.. I want to connect my Raspberry Pi to my laptop. But whenever i try to check the ip address of my raspberry, i get ...
lup0's user avatar
  • 61
5 votes
0 answers
11k views

Using degraded feature set (UDP) for DNS server

I have a problem with DNS on the wired connection. For some reason, DNS isn't working on it, though I can ping. Some logs: systemd[1]: Started Network Name Resolution. systemd-resolved[1060]: Using ...
Troll Hammaren's user avatar
5 votes
0 answers
932 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 ...
birdman's user avatar
  • 51
5 votes
1 answer
5k views

Ubuntu 18.04 does not get search domain from DHCP server?

I have a system with Ubuntu 18.04 on it, and there have been some (apparently) radical changes in the way DHCP client and DNS are handled. After stumbling through documentation on systemd-resolved, I'...
Locane's user avatar
  • 190
5 votes
0 answers
674 views

DNS and public WiFi portals

I use Ubuntu 17.10 and regularly encounter problems whilst connecting to public WiFi networks, especially those redirecting to a login portal. When working on my personnal network, /etc/resolv.conf ...
user avatar
5 votes
0 answers
12k views

EC2 sudo unable to resolve host

I have this issue on AWS on Ubuntu 16.04-amd64-server. Whenever I run sudo the terminal is stuck doing seemingly nothing, giving me the following error: root@ip-10-20-54-234:/home# sudo -s sudo: ...
Millat's user avatar
  • 51
5 votes
0 answers
7k views

DNS_PROBE_FINISHED_NO_INTERNET Ubuntu 16.04

When I connect to the router and navigate on Chrome I get this error: DNS_PROBE_FINISHED_NO_INTERNET I get the same even if I connect to another router in my area. I tried the command sudo -r ...
Davide 's user avatar
5 votes
0 answers
10k views

avahi daemon constantly needs restarting

I have Ubuntu 11 running on a Thinkpad W520. Things work great, but not avahi-daemon. It seems that my laptop becomes invisible (ssh [email protected] can't find the laptop) to other computers on ...
dan's user avatar
  • 3,053
4 votes
1 answer
3k views

Ubuntu 18.04 DNS Not Working

I'm having a problem with DNS on Ubuntu 18.04. I think there is a misconfiguration somewhere between netwrok-manager, systemd-resolved and resolvconf. I can ping IP addresses ok, but not host names: $ ...
cjt's user avatar
  • 153
4 votes
0 answers
5k views

how to turn on dnssec on ubuntu 20.04 as client via systemd-resolved

I want to turn on dnssec validation on ubuntu 20.04 as a normal client. When I do dig +dnssec on my router as name server it returns a rrsig. I assume that this means, that the router is capable of ...
John L.'s user avatar
  • 59
4 votes
1 answer
15k views

Ubuntu 20.04 "Temporary failure in name resolution" - recently reinstalled

I rent a vps from contabo for about half a year now, it worked fine until now, because it started producing "Temporary failure in name resolution" errors. I read that this is a DNS error, I tried ...
Áron Németh's user avatar
4 votes
0 answers
5k views

Ubuntu 18.04 server: Temporary failure in name resolution (LAN only)

I have a fresh installation of ubuntu 18.04 server and I cannot ping by hostname inside my own LAN. The installer updated to the new installer version before performing the install. ping: rpi3: ...
HamsDa's user avatar
  • 41
4 votes
0 answers
1k views

19.10 dhclient + resolvconf not updating resolv.conf

I am not running systemd.resolved, not do I wish to. Am am using netplan, systemd.networkd, resolvconf, dhclient /etc/resolv.conf is a link -> ../run/resolvconf/resolv.conf The resolvconf hook from ...
Paul Forgey's user avatar
4 votes
0 answers
1k views

systemd-resolve reset after wake from suspend

I'm using wireguard client with the following PostUp script: PostUp = systemd-resolve -i %i --set-dns=x.x.x.x --set-domain=~. systemd-resolve did set the DNS setting correctly and 127.0.0.53 was ...
Saftever's user avatar
  • 413
4 votes
0 answers
2k views

DNS resolution in LXC container

I'm using srsLTE-emane (https://github.com/adjacentlink/srsLTE-emane), an open source software that emulates LTE Network, on Ubuntu 18.04.2, and I have a problem with DNS resolution in LXC container. ...
Andrea Mori's user avatar
4 votes
0 answers
639 views

Ubuntu 18.04 using VPN have Ipv6 leak

I am using Ubuntu 18.04 with all the updates. I am also using a VPN that supports Ipv6. After setting up my VPN some time ago I kept getting stuff from Thailand where I live. I finally found doileak....
Michael Lempenau's user avatar
4 votes
0 answers
1k views

How can I prevent DNS leakage when using a VPN in Ubuntu 18.04?

I recently installed Ubuntu 18.04. I want to ensure that my DNS requests use my VPN DNS rather than my ISP DNS. In 16.04, preventing DNS leakage was easy: just disable the dnsmasq entry in /etc/...
user203748's user avatar
4 votes
1 answer
526 views

Ubuntu forgets custom DNS server after a while

I am using ubuntu 18.04 LTS and I have configured the IPv4 DNS to manual resolution always (Automatic = Off) and added 192.168.0.5 as my DNS server. So for a while it all works, pinging some servers ...
ariskk's user avatar
  • 193
4 votes
0 answers
415 views

dnsmasq for local resolution works after running dhclient, then stops working after a few minutes

I'm running into a strange issue. For the record, I'm using Ubuntu 17.10. I'm trying to configure a custom TLD, call it .mytld, to resolve to 127.0.0.1 so I can host local websites without needing to ...
momotaro's user avatar
4 votes
0 answers
2k views

DNSSEC problems in Ubuntu 17.04

I have installed Ubuntu 17.04. In the installer, I connected to a wifi, but the installation process could not connect, saying DNSSEC validation failed. The same situation was in the installed system. ...
Ondra Žižka's user avatar
4 votes
0 answers
2k views

How to forward specific domain queries to different dns server using dnsmasq?

I want that all http requests on the browser be directed to my local apache server but direct some https queries like facebook.com to google's dns 8.8.8.8 using dnsmasq. I've already tried adding an ...
Aditya Sharma's user avatar
4 votes
1 answer
2k views

why do all bad hostnames resolve to 198.105.254.23?

I'm running 14.04 on a desktop and laptop connected to a DSL router and am unable to get any of the internal hostnames to resolve correctly. When I dig desktopname: ; <<>> DiG 9.9.5-3-...
user avatar
4 votes
0 answers
531 views

DNS servers not correctly set in VPN

I have to use an OpenVPN network to work from home, and I occasionally have problems getting DNS to resolve. The problem comes and goes, and I can't reproduce it reliably. I took the OpenVPN config ...
dutchie's user avatar
  • 669
4 votes
1 answer
7k views

Regenerate resolv.conf from dhclient.conf without releasing/renewing IP?

When I make changes to dhclient.conf such as modifying the DNS search path (so that the changes don't get lost on reboot or DHCP renews), how do I regenerate /etc/resolv.conf? That page suggests ...
xyzzyrz's user avatar
  • 886
4 votes
1 answer
3k views

DNS Routing Fails for VPN Connections on Ubuntu 16.04 Out-of-the-Box

I would like to report some odd behavior, and my solution. I am left extremely unsatisfied as it relies on custom scripts and non-standard packages. I would like the community's help in figuring out a ...
ok123jump's user avatar
  • 161
3 votes
0 answers
4k views

Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 8.8.8.8 8.8.4.4 fe80::d635:1dff:fe01:1232%2

I have a Kubernetes cluster - version 1.24.3 - consisting of four ubuntu 20.04 servers. The only problem is I get constant warnings regarding "Nameserver limits were exceeded..." The image ...
Ross's user avatar
  • 131
3 votes
1 answer
5k views

Unable to set FQDN in Ubuntu 22.04

The instructions I have found say to edit the /etc/hostname file and add the hostname, without the domain portion. To set the domain portion, I should edit /etc/hosts and add an entry that looks ...
bp811's user avatar
  • 31
3 votes
0 answers
145 views

systemd-resolve always return same ip. Dns error

My network is good on other lan devices. But on my ubuntu server, systemd-resolve always return same ip. such as: kiddo@nas:~$ nslookup google.com Server: 127.0.0.53 Address: 127.0.0.53#...
kiddo shi's user avatar
3 votes
0 answers
2k views

How to get systemd-resolved to use /etc/hosts when openFortiVPN is active

Ubuntu 18.04. I have a host entry in /etc/hosts and this is being resolved correctly when I use nslookup. My /etc/nsswitch.conf looks like # /etc/nsswitch.conf # # Example configuration of GNU Name ...
Brett Bergquist's user avatar
3 votes
0 answers
1k views

How to enable Networking inside a `systemd-nspawn` container?

How can I get networking to work inside a systemd-nspawn container in Ubuntu 20.04? I want the container to get an IP address from local DHCP server, perform DNS lookups using my configured name ...
Enterprise's user avatar
  • 12.4k
3 votes
0 answers
4k views

problem using pritunl VPN client on ubuntu 20.04 due to faulty DNS resolution

I am having problems using a VPN with the pritunl client on Ubuntu 20.04. When using the VPN, I am able to get pings (i.e. ping 8.8.8.8 is fine), but websites are not loading. From searching online, ...
Zorglub29's user avatar
  • 479
3 votes
0 answers
3k views

Ubuntu 19.10, 20.04, DNS resolving to localhost - why?

This one has been perplexing me. Fresh installs of ubuntu 19.10 and 20.04 - the dns server defined always seems to point to localhost. I've tried hardcoding the dns server in network setting in gui. ...
nagchampa's user avatar
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 ...
grimnebluna's user avatar
3 votes
0 answers
2k views

DNS resolve stopped working after 19.10 update

I have this rather curious problem I have no idea how to debug -- I've updated a server from 19.04 to 19.10, and now the server cannot do DNS queries any more. For instance: $ nslookup google.com ...
Anteru's user avatar
  • 131
3 votes
0 answers
5k views

how to properly install and configure stubby on a ubuntu server

This is what I have done, according to this instructive: Protect Your DNS Privacy on Ubuntu 18.04/20.04 with DNS over TLS, but it does not work in my localnet. What am I missing? Install stubby on ...
acgbox's user avatar
  • 2,200
3 votes
0 answers
389 views

Ubuntu 18.04: Host name changes spontaneously from FQDN to PQDN in DNS

We are running Ubuntu 18.04 LTS with networking configured by Netplan. The network has a Windows DHCP server and a Windows DNS server. The Ubuntu 18.04 machine uses this Netplan cfg file to obtain a ...
DavidA's user avatar
  • 181
3 votes
1 answer
5k views

Unable to Download Updates / Cannot resolve hostname?

When launching Software, I'm getting errors stating: Unable to download updates: failed to refresh cache: E: http://dl.google.com/linux/chrome/deb stable InRelease is not (yet) available. (Temporary ...
Leslie Lemon's user avatar
3 votes
1 answer
2k views

How can I override netplan's per-interface nameservers, rather than appending to them?

I have an DigitalOcean server that's being configured via cloud-init. With Ubuntu Bionic Beaver, this creates a netplan file in /etc/netplan/50-cloud-init.yaml that contains nameserver addresses. ...
CodeGnome's user avatar
  • 240
3 votes
0 answers
1k views

After upgrade from 17.10 to 18.04 DNS Queries are totally broken. What causes this?

I just upgraded from 17.10 to 18.04. The update DID NOT go smoothly. Update complained about not being able to install "menu", and then locked up. I was able to recover the update manually from the ...
Steven Johnson's user avatar
3 votes
1 answer
320 views

My server stops responding for a few minutes, then starts again. How can I track down why this is happening?

I’m running Ubuntu on an Odroid Single Board Computer. Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 3.14.79-117 aarch64) * Documentation: https://help.ubuntu.com * Management: https://landscape....
WhiskerBiscuit's user avatar
3 votes
0 answers
2k views

Can't resolve hostname in local network - whats wrong with my resolver configuration?

I'm using kubuntu 18.04 (upgraded from various previous versions (non-LTS)) and have problems to resolv hostnames in my local network. No DNS query is sent to the resolver for local names (confirmed ...
IanH's user avatar
  • 201
3 votes
1 answer
264 views

My university network is changing resolv.conf. How do I prevent that?

When I connect to the internet in my university, through a PEAP, MSCHAPv2 protected WPA2 wifi network, it changes my resolv.conf to this: # Dynamic resolv.conf(5) file for glibc resolver(3) generated ...
Peterson Silva's user avatar
3 votes
0 answers
671 views

How can I enforce different DNS servers when connected to a VPN?

I have a variety of OpenVPN VPN servers I connect to from my Ubuntu 17.04 machine, all of which push DNS servers using the dhcp-option DNS A.B.C.D (which I know is a Windows extension, but that's how ...
detly's user avatar
  • 3,382
3 votes
0 answers
5k views

UBUNTU specific problem--(16.04)--Chrome 'ERR_ADDRESS_UNREACHABLE'

bI have been running dual boot UBUNTU 16.04 and Windows 7 for months. I recently asked software updater to do routine update and then rebooted. Afterwards, both chrome(ERR_ADDRESS_UNREACHABLE) and ...
b.jackki's user avatar
3 votes
1 answer
774 views

DNS leaking on Ubuntu 16

I use a VPN. When I check DNS leak testing sites, my original ISP is shown. My government in the UK logs and spies on every internet connection legally and I don't want this to happen because although ...
bluebird002's user avatar
3 votes
1 answer
587 views

dnsmasq not working when plugging in wired network

When connecting my Dell XPS13 laptop to a wired network via a Dell WD15 docking station, I'm unable to use the internet. I've identified that it's a DNS issue and dnsmasq is misbehaving. Killing ...
Arnold Daniels's user avatar
3 votes
2 answers
17k views

DNS cannot resolve hosts

I recently upgraded my ubuntu and suddenly lost DNS. By the looks of it, its related to https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1674532. But I cannot run the update to fix the issue ...
dj1635's user avatar
  • 31

1
2 3 4 5
23