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.

Filter by
Sorted by
Tagged with
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
1 vote
0 answers
2k views

Ping seems to send packets but not receiving them (please can somebody help)

I'm tethering Internet from my phone to Ubuntu (18.04.3 LTS bionic) it was working fine until suddenly stopped working, I can't access Internet When I try google.com in Firefox it says: The ...
Mostapha's user avatar
1 vote
1 answer
882 views

Mass DNS Requests from an unknown program. How to identify?

I run a PiHole dns server, I keep seeing mass dns requests for the domain mariadb from my Ubuntu Server. About 50,000 a day, 3 A and 3 AAAA every 10 seconds. I can't seem to find a way to identify the ...
Jacob's user avatar
  • 13
0 votes
2 answers
4k views

systemd resolvectl drop in files for dns

My Setup Ubuntu 20.04 dumb proprietary vpn client which changes /etc/resolv.conf problem each time any interface re-connect, NetworkManager come into play, redo resolv.conf So far so good. With ...
Pipe's user avatar
  • 516
0 votes
0 answers
387 views

Error when compiling OpenFOAM-8

Error occurs when I try to compile OpenFOAM-8. I type ./Allwmake and it reports: wmake DNS make[1]: Entering directory '/home/ht45454/OpenFOAM/OpenFOAM-8/applications/solvers/DNS' wmake dnsFoam ...
ht45454's user avatar
3 votes
2 answers
12k views

Ubuntu 20.04.1 systemd-resolved error NXDOMAIN

I'm currently testing Ubuntu 20.04.1 (after decades using Fedora from Core 2 to 31), and I have currently issue with local/private DNS resolution. Getting systematically error messages linked to this ...
Bsquare ℬℬ's user avatar
1 vote
1 answer
163 views

Why is wlo1 not routing DNS response back to enp4s0?

I'm sharing my wifi connection (wlo1) via ethernet (enp4s0) to another device. The packet forwarding worked until the host device rebooted. All routes and IP addresses are static, set up using NMCLI. ...
Kaleb Burklow's user avatar
0 votes
1 answer
1k views

Firefox uses remote name lookup before /etc/hosts

I have added the following line to my /etc/hosts file on Ubuntu: 192.168.0.104 www.tondering.dk www.xzutsfsdet.com 192.168.0.104 is an IP address on my LAN. www.tondering.dk is a server that exists ...
oz1cz's user avatar
  • 912
0 votes
1 answer
371 views

Ubuntu Server 20.04 and Postfix: configure SPF for a subdomain return error: spf=neutral and all emails marked as spam

I'm trying to set up Postfix in Ubuntu Server 20.04 as an email sender (I don't need to receive emails) in my subdomain server. I have the main domain that works with one server, and a subdomain that ...
MarGraz's user avatar
  • 171
2 votes
1 answer
16k views

How to use domain name to connect via ssh into your linux server

I have an own linux server (ngnix, gunicorn, python flask) connected it via dyndns to my frtizbox and to my domain and dyndns provider (selfhost.de). Now I would like to connect to this linux server ...
sqp_125's user avatar
  • 351
2 votes
2 answers
2k views

DNS server does not listen on IPv6 after a reboot

I have two newly created 20.04 instances on AWS (Amazon Web Services). One is of type t2, the other of type t3. These instances have both IPv4 and IPv6 configured. As you probably know, these ...
FedKad's user avatar
  • 10.6k
3 votes
2 answers
6k views

resolv.conf mismatch netplan configuration

I'm setting up an Ubuntu Server 20.04 system as a gateway between my LAN and the WAN. I'm not able to configure the DNS properly. I have 2 netplan config files for my 2 interfaces. Internal eth ...
il_mix's user avatar
  • 131
0 votes
1 answer
251 views

Unable to perform DNS queries over IPv6 from laptop

I was trying to perform a DNS query over IPv6 from my laptop using dig, and it didn't work. Here are the details: ping6 google.com works fine dig -6 google.com times out due to being unable to reach ...
Jay Schauer's user avatar
1 vote
0 answers
664 views

Why does my /run/resolvconf/resolv.conf gets rolled back on reboot. Ubuntu 20.04

I have resolvconf installed and resolvconf -u correctly writes content to /run/resolvconf/resolv.conf and /etc/resolv.conf is symlink'ed to /run/resolvconf/resolv.conf. However, once I reboot, the ...
Harry Cho's user avatar
  • 111
1 vote
4 answers
8k views

Cannot connect to some sites on Ubuntu 18.04

Recently some of the websites stopped loading on any browser of my Ubuntu 18.04. When I try to open sites like StackOverflow, UbuntuForums, seedr.cc, gives me the following message (other browsers ...
Mandar Sadye's user avatar
1 vote
5 answers
1k views

No DNS lookup with Google's DNS servers

Some mornings when my Ubuntu 18.04 wakes from hibernate, it takes around 30 minutes before I can do any DNS lookups. I already disabled automatic DNS and added Google's DNS servers instead: But ...
LondonRob's user avatar
  • 355
0 votes
0 answers
57 views

Wifi Fluctuates with No Internet Available

I am on Ubuntu 18.04 My home wifi connection frequently flickers in and out of Internet once every 2-3 minutes. The Wi-fi symbol tends to show a question mark during the time there is no internet but ...
Angad Narula's user avatar
0 votes
2 answers
188 views

My server cant make a connection to the outside [closed]

I am running a newly installed Ubuntu Server 20.04. Every time I try to access the internet or download something I get this screen. # This file is managed by man:systemd-resolved(8). Do not edit. # # ...
Funni5's user avatar
  • 23
9 votes
1 answer
15k views

How can I see the systemd-resolve DNS cache?

Using sudo systemd-resolve --statistics I can see the current DNS cache statistics, for example: Cache Current Cache Size: 68 Cache Hits: 412 Cache Misses: ...
johhnry's user avatar
  • 115
1 vote
1 answer
1k views

Can access server from outside network but not within LAN

I have a server set up with a static IP on 192.168.1.5. Everything works fine if I access the server from outside LAN but I cannot use the server within LAN. If I putty into the hostname (bbb.scotia....
Patrick Hurley's user avatar
3 votes
3 answers
2k views

How to remove nameservers from resolv.conf after vpn disconnect?

I have this resolv.conf even after disconnecting from VPN server (connection was established using openvpn --config <path>.ovpn): # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
Gaurang Tandon's user avatar
1 vote
1 answer
2k views

NetworkManager updates to a bad nameserver in /etc/resolv.conf on restart

Whenever I restart my computer NetworkManager sets /etc/resolv.conf to this, my DNS stops working and I get this error in Chrome. /etc/resolv.conf # Generated by NetworkManager search tampabay.rr.com ...
Philip Rego's user avatar
2 votes
1 answer
10k views

How do resolv.conf and linux DNS work?

I had some problems with docker networking (specifically custom DNS proxy setup) and I found out that my resolv.conf was a bit strange: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
Stanislav's user avatar
0 votes
0 answers
3k views

How to set custom DNS servers and use DHCP on kubuntu 20.04 using netplan config?

Ok it is confusing so here is a clear version of what is going on. I am only able to set custom DNS servers using the /etc/netplan/01-network-manager-all.yaml if i use the configuration below with a ...
Dan's user avatar
  • 121
0 votes
0 answers
210 views

distinguish us.archive.ubuntu.com downtime from DNS issue

Between approximately this time: Fri Jul 3 19:31:00 UTC 2020 and approximately this time: Fri Jul 3 20:31:00 UTC 2020 I couldn't install any packages from us.archive.ubuntu.com, but otherwise my ...
Nathaniel M. Beaver's user avatar
0 votes
1 answer
806 views

Using BIND and DHCP together

I am currently using a home router as both DHCP server and DNS resolver like most home users. This is fine when a device wants to contact the outside world because the DNS works. When I want an ...
7UpMan's user avatar
  • 1
1 vote
0 answers
187 views

Add mx record in linux - switching from postfix to hosting

I'm using ionos hosting and my domain's name servers are pointing to my static ip address where I've a linux server running. Recently I'm facing some issues with postfix, emails aren't sending and ...
Linga's user avatar
  • 121
3 votes
3 answers
16k views

Cannot ping GitHub

I cannot access to GitHub only on my Ubuntu 18.04 machine and all other machines (Windows PC, iPad, Phone) connected to the same network can access GitHub. When I try to ping GitHub, I get The result ...
zzhuolun's user avatar
1 vote
0 answers
227 views

What should my /etc/network/interfaces look like

I’ve relatively new to Ubuntu/Linux and have been mainly following online guides to achieve what i would like. I think however, i have currently messed up my /etc/network/interfaces When I restart my ...
Jonathan Crook's user avatar
2 votes
2 answers
4k views

How to set a static ip address on a local network using NetworkManager?

What I did I am trying to create a wifi connection with a static ip using NetworkManager. Following are the steps of that process using the nmcli command. Connection settings, I created a new ...
Themelis's user avatar
  • 159
0 votes
0 answers
234 views

Access ubuntu machine behind WIFI router using local domain name

I have an ubuntu machine connected behind a WIFI router which is connected to the internet. I have setup bind9 DNS on my ubuntu machine and assigned a local domain name "myserver.cloud". I ...
SanketR's user avatar
  • 153
0 votes
0 answers
342 views

Reverse DNS Lookup Not Functioning Properly

I recently set up a server running Ubuntu 18.04 Server on my local network in a DMZ. I am trying to run it as a mail server, among other things. I had been running a mail server on a desktop PC on the ...
Jeffrey Rolland's user avatar
0 votes
1 answer
148 views

How to alias addresses in my network for ssh / http connections?

I want to be able to do: ssh user_name@bla where bla points to a specific ip address Same, but from browser, I want to access http://blabla where blabla is another specific ip address with a port (i....
CIsForCookies's user avatar
0 votes
2 answers
4k views

Can I force wget to use the secondary dns

I am trying to download something from NVIDIA website on a remote server using ssh. Iran is banned by the NVIDIA website. My server's DNS servers are: IP4.DNS[1]: 192.168....
Ahmad's user avatar
  • 612
1 vote
1 answer
183 views

Uubuntu 18.04 LTS AD domain joining

I have Ubuntu 18.04 LTS VM client and wants to join to AD domain, I have followed realmd and SSD to join the machine to domain. It was successful, it has joined to one particular domain, where I have ...
Badrinath V's user avatar
2 votes
1 answer
3k views

Openconnect VPN connecting, but work sites giving DNS_PROBE_FINISHED_NXDOMAIN

EDIT: I have no idea why, but if I connect to NordVPN, then disconnect, my work VPN through openconnect works as it should. I can access all work and non-work sites as intended. Maybe this will shed ...
Try431's user avatar
  • 286
1 vote
0 answers
3k views

Wireguard connects successfully but not internet

I am given two WireGuard config files by the company I work for. I have setup one on my Android phone and it works perfectly and another one on my Ubuntu. It used to work for a day or two; but ...
sepisoad's user avatar
  • 280
0 votes
0 answers
1k views

Temporary failure resolving error when trying to install google chrome [duplicate]

My board has Ubuntu Linux 16.04.6, and I am trying to install google chrome by using the process described here. Two first steps are going smoothly: 1) wget -q -O - https://dl.google.com/linux/...
Gaston's user avatar
  • 1
2 votes
0 answers
3k views

Cant ping with UFW enabled

I am having an issue with UFW on Ubuntu 20.04. I am running a Nextcloud server on this machine, and my default is to deny incoming and outgoing, except for port 443 which works fine. This is causing ...
user3207650's user avatar
0 votes
1 answer
7k views

Wireguard resets its DNS settings on 20.04

Wireguard resets its DNS settings on restart. I have WG tunnel with following settings: [Interface] Address = 10.8.0.2/32 Address = <public IPv6 ip> DNS = 2001:4860:4860::8888 DNS = 2001:4860:...
Alexander Mudrov's user avatar
2 votes
1 answer
2k views

How to SSH to Ubuntu with dynamic IP

I want to be able to SSH to my home computer with lubuntu 18.04 from my tablet computer when I am not at home. I need this access to practice in programming when I cannot be in front of computer. I ...
vasilyv's user avatar
  • 21
0 votes
0 answers
273 views

Periodically unable to resolve .local hostname

I've got a server on my LAN, let's say it's hostname is server. Periodically I will suddenly be unable to reach the server using server.local. I will get an error which looks like: server.local: ...
Michael's user avatar
  • 1,135
1 vote
2 answers
2k views

Can not change DNS settings in Ubuntu 20 desktop

$ uname -a Linux pintu 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux I am trying to set my DNS resolver to a server I run with my own IP whitelisted. I ...
pinhead's user avatar
  • 111
0 votes
0 answers
234 views

Trouble with basic networking of an Ubuntu Linux server edition server

As an introduction, what I am trying to do is get my Linux Ubuntu server online and start sharing files with the internet and locally with my family, hosting Wordpress.org pages, and other things of ...
Michael Starr's user avatar
0 votes
1 answer
938 views

openVPN client configuration of ip address

I am confused with regard to the correct ip address to use when a remote client tries to connect to the server running on Ubuntu 18.04. Details of ip's on the server: openVPN server 10.8.0.1 port ...
Jeremy Andrews's user avatar
2 votes
0 answers
473 views

Netplan configurations stop working after some time

I have this Ubuntu Server 18.04 LTS running and recently I changed my router subnet to 10.10.1.X. Also, I set DHCP to assign from 10.10.1.105 - 10.10.1.253 to other devices, since I want 100,101,102 ...
12tst321's user avatar
10 votes
3 answers
10k views

systemd-resolve does not forward DNS requests to stated DNS server

Anyone know how systemd-resolve voodo works? 192.168.1.30is the correct DNS server for my network, as returned by DHCP. /etc/resolv.conf points to 127.0.0.53 Systemd claims to be using the correct ...
teknopaul's user avatar
  • 2,037
1 vote
1 answer
263 views

Why would Ubuntu treat NXDOMAIN as resolving to localhost?

Every time I should be getting an error because a domain does not exist (e.g. could not resolve host), I instead get an error about connecting to a loopback address: $ curl -4 -v https://nonexist....
anx's user avatar
  • 2,348
0 votes
0 answers
302 views

sudoers can not edit network settings

I have two users which I have defined as sudoers in /etc/sudoers which looks like this: Defaults env_reset Defaults mail_badpass Defaults secure_path="/usr/local/sbin:/usr/local/...
Karlom's user avatar
  • 724
9 votes
4 answers
21k views

Problem with DNS with OpenVPN on Ubuntu 20.04

I have installed the OpenVPN server and the Bind9 DNS server on the company server. The part of the server config is below. The important part is a pushing route and DHCP DNS option. local 10.0.9.2 ...
Arxeiss's user avatar
  • 291

1
12 13
14
15 16
50