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.
Questions tagged [dns]
2546 questions
417
votes
14 answers
Command line to list DNS servers used by my system
Is there a command to list DNS servers used by my system?
I tried
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE…
Anurag Uniyal
- 4,334
354
votes
17 answers
How do I clear the DNS cache?
I just updated the DNS record (ns1, ns2, ns3.myhostingcompany.com) for a site I've got hosted, but I still get the domain registrar parking page.
I'd like to see if the problem is Ubuntu's cached DNS records.
Is there a way to clear Ubuntu's DNS…
Jono
- 4,229
173
votes
5 answers
How to disable systemd-resolved in Ubuntu?
How can I disable systemd-resolved in Ubuntu 17.04?
Disabling it with systemctl disable didn't work, the service seems to be restarted (by Networkmanager?)
Bastian Voigt
- 4,836
- 4
- 13
- 21
162
votes
6 answers
How do I configure my DNS settings in Ubuntu server?
According to this page it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server.
So, without installing any further software, how can configure DNS and remove dnsmasq on ubuntu server? I am…
Asta-Risky
- 1,635
129
votes
13 answers
How do I get resolvconf to regenerate resolv.conf after I change /etc/network/interfaces?
After updating /etc/network/interfaces with something very similar to below, how do I get /etc/resolv.conf to update? I tried (as root) resolver -u, service networking restart but they didn't work. I also fixed the symlink for resolv.conf and tried…
null
- 1,423
104
votes
11 answers
New alert keeps showing up: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001
I just installed a new Ubuntu Server 18.04. I set my hostname hostnamectl set-hostname ****.openbayou.biz and I set /etc/hosts:
127.0.0.1 localhost
[ip address] ****.openbayou.biz hostname
# The following lines are desirable for IPv6 capable…
Gregory Schultz
- 1,309
101
votes
4 answers
What is difference between localhost address 127.0.0.1 and 127.0.1.1
I am just learning using Ubuntu and when I tried to configure the DNS, I need to deal with something call localhost, loopback interface. Can anyone explain me the differences between them and the meaning of the addresses 127.0.0.1 and 127.0.1.1,…
Ock
- 1,111
97
votes
12 answers
DNS set to systemd's 127.0.0.53 - how to change permanently?
I've recently upgraded to 17.10. When I try to browse to a website, or ping a domain it fails saying the site cannot be resolved.
network-admin shows the contents of /etc/resolv.conf to be nameserver: 127.0.0.53
If I change that to 8.8.8.8 or…
Terence Eden
- 1,826
94
votes
7 answers
Ubuntu 18.04 no DNS resolution when connected to OpenVPN
When I connect to a VPN network through Gnome Network-manager I lose DNS resolution and in practice, I cannot access resources inside the VPN network or outside.
When I was using Ubuntu 16.04 and I was using the VPN, the "/etc/resolv.conf/" file…
orestis
- 1,458
88
votes
3 answers
How can I flush the DNS on Ubuntu 17.04?
How can I flush the DNS on Ubuntu 17.04?
I seem to have a few DNS issues at the moment since upgrading to 17.04 from 16.10 and went to flush the DNS but I can't find how to.
Can anyone tell me please?
dibs
- 3,539
78
votes
16 answers
What is the proper way to change the DNS IP?
I suspect that the name server provided by my ADSL modem/router is buggy. Whenever I browse to a website for the first time in ubuntu, resolving the domain name takes at least 15 seconds.
To work around that problem, I changed the nameserver…
Wim Coenen
- 883
75
votes
13 answers
Wrong nameserver set by resolvconf and NetworkManager
My DNS server is 192.168.1.152.
This DNS is provided to clients by DHCP. The windows clients on my LAN resolve names properly using that DNS, but my Ubuntu VM doesn't.
The VM is set up with bridge networking and is being properly provided the DNS…
FireSpore
- 751
74
votes
3 answers
Prefer A (IPv4) DNS lookups before AAAA(IPv6) lookups
In notice my newly installed Ubuntu 10.10 always does an AAAA DNS lookup before A record lookups. Is there any way I can configure the system to do A lookups first ?
(While various browsers and other applications might contain their own resolvers,…
nos
- 1,333
68
votes
13 answers
How do I configure my static DNS in interfaces?
I am using Ubuntu 12.04.
My /etc/network/interfaces file consists of:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.58
gateway…
dottedquad
- 781
67
votes
4 answers
network manager: how to stop nm updating /etc/resolv.conf
I do not want network manager to add DNS servers received from DHCP to my /etc/resolv.conf.
When configuring from GUI/Connections/IPV4 and choose the method Automatic (address only) it still adds DNS servers received via DHCP.
Is it possible to do…
user2913139
- 811