Questions tagged as ['dns']
So basically I have an issue when I change my bridge br0 namerserver from 192.168.50.1 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
netplan-
network:
version: 2
#renderer: NetworkManager
renderer: ...

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 ...
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.
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?
- I attempted: apt-get purge rdnssd apt-get purge resolvconf service NetworkManager restart
But, the terminal gives the err ...
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 (192.168.1.254
). Issuing systemd-resolv --status
or resolverctl status
gives
Link 3 (wlp1s0)
Current Scopes: DNS
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS ...

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=1.1.1.1 --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 "xxx.xxx.xxx.xxx" are specific DNS serve ...
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 ...
my ubuntu desktop is receiving DNS server via DHCP server (a pfsense router).
systemd-resolve --status
Global
LLMNR setting: no
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Current DNS Server: 10.0.0.254
DNS Servers: 10.0.0.25 ...
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 ...

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 ...

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 ...
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.

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:
network:
ethernets:
ens33:
dhcp4: true
addresses:
gateway4: 192.160.207.49
nameservers:
addresses ...
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.
Resolved: DNS_PROBE_FINISHED_NXDOMAIN in Linux
- Step 1. Open terminal and add below command
sudo nano /etc/dhcp/dhclient.conf
- Step 2. Now add ...
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
host1.domain.com
user1@host1:~$ dnsdomainname
domain.com
user1@host1:~$ ping host2
ping: host2: Temporary failure in name resolution
user1@host1:~$ ping host2.domain.c ...
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 8.8.8.8
. After changing the /etc/resolv.conf
file accordingly, magically the update was running lighting fast (as expected). My previous configuration had:
nameserver 127.0.0.53
options edns0 trus ...
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 ...
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 ...
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 ...

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>
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)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 185.228.168.10
nameserver 185.228.169.11 ...
I have a problem where the line nameserver 8.8.8.8
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.

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 ...

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 { 192.168.0.7 };
};
zone "local2" in {
type slave;
file "/var/cache/bind/db.local2";
masters { 192.168.0.7 };
masterfile-format text;
};
zone "p2p" in {
type slave;
file "/va ...

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 ...

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:
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 ...

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 github.com) that simply do not work.
$ nslookup www.github.com
;; connection timed out; no servers could be reached
This is specific to my computer, as all the other devices in t ...

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 192.168.2.1. 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 8.8.8.8 instead of 192.168.2.1, it can resolve Google and other external sites.
Some additional infos:
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'
network:
bonds:
bond0:
addresses:
- 172.17.17.71/24
gateway4: 172.17.17.1
interfaces:
- eno1
- eno2
nameserv ...