Questions tagged as ['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.
Score: 0
Lost_Ones avatar
Issue with bridge br0 DNS when I change the nameserver address 20.04
pk flag

So basically I have an issue when I change my bridge br0 namerserver from which points to a pfSense router, to my PiHole ad blocker. All clients get dhcp from the PiHole and are working as expected via DNS from the Pihole.

The PiHole is hosted on a qemu/kvm on a 24/7 Computer.

kvm Host: Kubuntu 20.04 Virt Manager 2.2.1

  version: 2
  #renderer: NetworkManager
  renderer: ...
Score: 0
Ubuntu DNS resolver not use DNS Over TLS port 853 for DNS resolve
tf flag

I have Ubuntu 20.04 server. This server is set up to run WordPress sites (LEMP stack). In this server, I have set up an ubuntu DNS resolver to use "DNS Over TLS". Use Cloudflare DNS service.

When I run the following commands I can see that it use port 53, not use DNS Over TLS port 853. In my CSF firewall, I have allowed port 853 in TPC and UDP (in/out).

What could be the reason for this? How do I for ...

Score: 0
nimish patel avatar
Reverse DNS lookup of Linux system not function with Windows Active Directory
ng flag

My Linux system (KUbuntu 20.04 KDE) is connected with Windows Active Directory.

I am able to ping the IP address of Linux box from the network PCs of the Domain. I can see the hostname of my Linux box as well using the ping -a command.

The problem is that, when I am pinging the hostname instead of IP address, then it's not getting a response from the Linux box.

Score: 1
Yann Monnier avatar
DNS configuration problem after restarting my computer
cn flag

Good day everyone,

I had no problem with my internet and browser, when I decided to restart my computer.

And now, Internet is not anymore functioning (while it does work with other devices)

Browser message says "DNS probe finished bad config". How can I fix this DNS problem?

  1. I attempted: apt-get purge rdnssd apt-get purge resolvconf service NetworkManager restart

But, the terminal gives the err ...

Score: 0
Minsky avatar
Can we set up a DNS server to override the Router DNS server?
mx flag

I am aware that when we type a domain name, unless it is cached in the pc or router, it requests the DNS to an external server, to get the IP address.

Apparently, the DHCP server from the router is setting itself for DNS ( Issuing systemd-resolv --status or resolverctl status gives

Link 3 (wlp1s0)
      Current Scopes: DNS
DefaultRoute setting: yes
       LLMNR setting: yes
MulticastDNS  ...
Score: 0
Required to call `systemd-resolve` each time I connect to VPN
cn flag

Whenever I connect to a VPN using OpenVPN I have to run the following command or I cannot access some websites:

sudo systemd-resolve --set-dns= --interface=wlp111s0

Is there a way to permanently fix this so that I don't have to run the command every time I connect to the VPN?

In my /etc/openvpn/client.conf I have the following dhcp-option set, where "" are specific DNS serve ...

Score: 0
Michael IV avatar
Cannot connect to the wired internet on Ubuntu 20.04
us flag

I have an issue similar to what is described here. I tried all the answers in that posting as well as other similar questions with no luck. I have also zero understanding in networking and really need help with it. The fresh installation worked fine,but then I have probably run the system upgrade and since then the internet access is broken. One thing I have noticed that when modifying nameserver  ...

Score: 0
ledufAkaDemy ledufAkaDemy avatar
Ubuntu 20.04 LTS : is DNS solver is really buggy?
cn flag

my ubuntu desktop is receiving DNS server via DHCP server (a pfsense router).

systemd-resolve --status

       LLMNR setting: no                  
MulticastDNS setting: no                  
  DNSOverTLS setting: no                  
      DNSSEC setting: no                  
    DNSSEC supported: no                  
  Current DNS Server:          
         DNS Servers: ...
Score: 0
Paul Wellner Bou avatar
Where is the resolvconf database, and how to reset it?
in flag

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/resolv.conf file.

I do not need this anymore, but somehow this nameserver IP is still stored somewhere in resolvconf's configuration. And I was not able to find out where resolvconf is storing these IPs.

For  ...

Score: 0
Internet connection problems with ubuntu server VM network
in flag

so i'm pretty new in networks and wanna test some stuff in a virtual machine first.

I've build a small VM network with Ubuntu Servers. You can look at network diagramm by clicking on this link (ignore the switches, they are only for ilustrational purpose). So basically i wanted to connect two networks with a linux server which is configured as a router. The problem is that now the communication between t ...

Score: 0
dNyrM avatar
Unexpected end of input | BIND9
de flag

I'm getting the error from below when starting bind9 (I'm using Ubuntu 20.04.3 LTS and bind 9.16.1):

enter image description here

I'm almost sure that the issue is related to /var/cache/bind/managed-keys.bind but I don't know where the problem is exactly.

enter image description here

Any help would be very much appreciated.


Score: 0
How to split DNS resolution based on the target domain?
cn flag

Note: I read two other questions (here and here) that address the same problem but none of the solutions is applicable to my case.

I run Pi-hole in a docker container as my DNS server - for the server it is running on (Ubuntu 18.04), and the rest of my home network. It works fine, everything resolves as expected.

Except in one specific case: when Pi-hile itself is starting. It wants to check something  ...

Score: 1
dNyrM avatar
Can't start BIND9 | Requests repeated too quickly
de flag

I'm having a problem when starting BIND9 using sudo systemctl start bind9. I get a random error and when I examine it with sudo systemctl status bind9, I get this:

bind9.service: Failed with result 'exit-code'.
Failed to start BIND Domain Name Server.
bind9.service: Schedule restart job, restart counter is at 20.
Stopped BIND Domain Name Server.
bind9.service: Start request repeated too quickly.
Score: 0
Ubuntu 18.04: DHCP server is not giving out IPs to my DHCP client
mx flag

I need to setup a DHCP server and client. I tried everything, but my server isn't giving any IPs. I work with VMware, and I have disabled the DHCP setting in VMware. My DHCP server states active to.

netplan of my DHCP client and DHCP server status

netplan client config:

      dhcp4: true
        addresses ...
Score: 0
Henry Haze avatar
dns probe finished nxdomain linux ubuntu 20.04
vn flag

I'm having problems with my DNS in Ubuntu. The webpage won't show up. I've been trouble shooting for hours.

I have tried clearing the cache but none of the commands work.

I have tried it this way below and it hasn't worked. The restart commands don't work.


  • Step 1. Open terminal and add below command
sudo nano /etc/dhcp/dhclient.conf
  • Step 2. Now add ...
Score: 1
kuma avatar
Unable to resolve other hostnames but can ping them (without FQDN)
cn flag

I have 2 Ubuntu machines. Host1 is 20.04 LTS, Host2 is 18.04.3 LTS.

Both have no search option configured, however Host2 can actually ping Host1 (without FQDN) even if it's unable to resolve it.

This is for Host1

user1@host1:~$ hostname -f
user1@host1:~$ dnsdomainname
user1@host1:~$ ping host2
ping: host2: Temporary failure in name resolution
user1@host1:~$ ping host2.domain.c ...
Score: 1
Barnercart avatar
Speeding up apt update by changing the nameservers on Ubuntu21.10 (impish)?
au flag

I just installed Ubuntu Impish on my work laptop. I was wondering why my apt update was being so slow. After digging a bit I found that someone proposed to change the name server to have it pointed towards After changing the /etc/resolv.conf file accordingly, magically the update was running lighting fast (as expected). My previous configuration had:

options edns0 trus ...
Score: 1
teppo avatar
Ubuntu 21.10: Problems with Internet access / DNS
ca flag

The question is partly a duplicate of multiple questions, but since I don't have enough reputation for commenting, this is my take on trying to understand the issue and prevent it from repeating.

So, I installed Ubuntu 21.10 on ASUS MINIPC PN51-E1 (AMD® Ryzen 7 5700u, radeon graphics AMD® Renoir) a few weeks ago and, mostly, all seemed ok. Then, the other day, probably after sudo apt upgrade, I tried  ...

Score: 1
T0adMomo avatar
Ubuntu 20.04.3 LTS: Etherrnet Connection DNS address could not be found DNS_PROBE_POSSIBLE
in flag

I have run into this problem before using ubuntu 20.04.03 desktop and I had to reinstall the OS. I cant afford to do that this time so I hope you can help. I have no idea how to diagnose the issue, but was working one moment, my computer froze up a bit so I rebooted, when it came back on it wont connect to any website.

DNS adress could not be found Diagnosing the problem. DNS_PROBE_POSSIBLE

is what ...

Score: 0
ritvik.ranadive avatar
Ping to a machine on LAN with hostname fails but ssh works
th flag

I have a Lenovo Thinkpad and a NVIDIA Jetson Xavier NX, both connected over wifi to a Fritzbox 7590. The Thinkpad has Ubuntu 20.04 LTS installed on it. I am not sure which is the version Jetpack installed on the NVIDIA Jetson Xavier NX but running lsb_release -a gives output Ubuntu 18.04.6 LTS. I have assigned the hostname ritvik-nx to the NVIDIA Jetson Xavier NX and compile to the Thinkpad.

I get the fol ...

Score: 1
My local DNS is continuously changed
hu flag

At home I run a Raspberry Pi with PiHole. Every device obtain its IP via DHCP and some devices have a reserved address. The router is configured to offer my Raspberry Pi as primary DNS, for every device this works well, except for my laptop with Ubuntu.

Quite often (like every day) my DNS is changed to my second DNS option. I can revert this change with resolvectl dns <interface> <ip>

Score: 0
Joshua Robison avatar
How do I script resolve.conf to force only a specific url to use a DNS in Ubuntu 21.10
in flag

Here is my current /etc/resolvconf/resolv.conf.d/head file in Ubuntu 21.10

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

nameserver ...
Score: 0
Ledi avatar
nameserver goes missing from /etc/resolv.conf
ro flag

I have a problem where the line nameserver just disappears from my /etc/resolv.conf.

This might happen every few days or so and I haven't noticed anything that would be linked to this issue. Then I add it back manually and restart my forever looping scripts. This is pretty annoying to do and I'd like to know why this happens.

Score: 0
DNS Error after the crash of VPN and the file get's over written
cn flag

I was using a proton VPN for some purpose of testing and Due to some reason I needed to shut down my laptop as it was stuck(Hang) and as I restarted My laptop I opened a browser to resume my work and I noticed I was not able to connect to the internet after checking my internet connection I noticed that my browser was showing some DNS error so I googled and I got the solution.

Q1. Can anyone help ...

Score: 0
BIND - named.conf.local and define variables/functions?
br flag

I'm using Ubuntu 20.04 and BIND 9.16.1. In named.conf.local i'm using three zones

zone "lan" in {

        type slave;

        file "/var/cache/bind/db.lan";

        masters { };


zone "local2" in {

        type slave;

        file "/var/cache/bind/db.local2";

        masters { };

        masterfile-format text;


zone "p2p" in {

        type slave;

        file "/va ...
Score: 1
Computer claims it's connected to wifi, but it's not
cn flag

Ubuntu 20.04.3 LTS, 64-bit.

I know close to nothing at all about Linux so please go easy on me.

Connection dropped - possibly because I apparently opened too many tabs at once over my VPN.

Now my wifi isn't connecting at all. I've tried multiple networks, both wireless and ethernet.

However, both the network name & wifi icon are displayed in top right dropdown menu, somehow with varying network streng ...

Score: 0
Custom DNS server is not working
sa flag

I've got Ubuntu 21.10 installed on a new Framework laptop. I would like it to use my local, custom DNS Server that I set up on a Synology NAS. So, I put that IP address in the correct (I hope) spot in the Ubuntu settings:

Custom DNS Added

However, it appears that this custom DNS server is not being used at all. I run an nslookup command on a local service and it appears to be using some other DNS server, thus it cannot  ...

Score: 4
DNS lookup issues only in specific network
cz flag

I am running Ubuntu 20.04 on my work computer and I have a few issues when working from home.

When I am at the office, I can browse the internet without issues. However, when I decide to work from home there are some sites (like that simply do not work.

$ nslookup
;; connection timed out; no servers could be reached

This is specific to my computer, as all the other devices in t ...

Score: 0
Netplan: Setting DNS results in "Temporary failure in name resolution"
us flag

I have multiple VMs with static IPs configured over netplan. This works as expected, but when it comes to set the DNS it's not.

My local DNS is If I enter it and try to ping Google/another Client via the hostname, it prints “Temporary failure in name resolution”.

But if I set it to instead of, it can resolve Google and other external sites.

Some additional infos:

Score: 0
geardogg avatar
Ubuntu Server 20.04.3 LTS 00-installer-config.yaml or resolv.conf for DNS settings
in flag

So I'm freaking confused. I'm trying to specify local DNS servers for our domain. This Ubuntu Server 20.04.3 doesn't use the old interfaces file. I configured the yaml file for netplan,

    # This is the network config written by 'subiquity'
      - eno1
      - eno2
      nameserv ...