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]
2480 questions
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
66
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,243
64
votes
2 answers
How to flush dns in ubuntu 12.04?
how to flush dns of Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
have tried many things form here and here also but nothing is working

Vikas Hardia
- 833
- 1
- 9
- 12
28
votes
3 answers
How to know what DNS am I using in Ubuntu 12.04
We used to get current DNS settings by:
cat /etc/resolv.conf
But Ubuntu 12.04 has changed to use the resolvconf framework.
The above commond will only give me this:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by…

Koala Yeung
- 1,001
15
votes
3 answers
How do I disable systemd-resolved and replace with something sane on Ubuntu 18?
I've decided systemd-resolved is irretrievably broken garbage and I'd like to replace. I've got my own local DNS server at 192.168.1.2 I'd like. I'd also like to connect to a VPN with NetExtender that gives me a DNS server for a .local domain. I…

gct
- 251
14
votes
4 answers
Use a different dns server for some specific domains
I want to use a different dns server for some specific domains that are blocked by the default dns server. And i dont wanna change my default dns server for some reason.
Is there any way of doing this without installing my very own dns server?
I've…

palindrom
- 261
9
votes
4 answers
How to add DNS suffix in Ubuntu 12.04?
I have just installed ubuntu 12.04. And I am a beginner on Linux. So, how can I add the DNS suffix in this OS. Please help..

user181765
- 91
- 1
- 1
- 2
6
votes
1 answer
Protecting against (infinitely) slow DNS servers
Recently, one of my ISPs DNS servers got into trouble. To quote the support desk personnel it "wasn't completely down so connections were just infinitely slow". My application was down for a couple of hours, as it couldn't connect to critical…

Oddthinking
- 351
5
votes
4 answers
Ubuntu 16.04.1 tells me my DNS server is 127.0.0.1
Which isn't very useful. (yes that's the local node).
I'm trying to switch from the DNS server address hardcoded into a new Comcast router to OpenDNS configured onto a secondary home wifi router and I'd like to check the result. I've logged into…

patfla
- 53
- 1
- 1
- 5
5
votes
1 answer
DNS cache on Ubuntu
Is it true that Ubuntu doesn't have DNS cache by default and what options I have to enable it ? Is bind9 option that can enable caching of DNS ?

user3448600
- 151
5
votes
3 answers
why does the "host" and "nslokup" command show the wrong IP?
On my Ubuntu 12.4 these work fine:
$ hostname
my-machine-XX
ping `hostname`
ping my-machine-xx (192.168.0.69) icmp_req=1 ttk=64 time=0.043 ms
But host and nslookup return the wrong IP address:
$ host my-machine-xx
my-machine-xx has address…

Ya.
- 249
- 2
- 6
- 14
4
votes
0 answers
How to change the DNS name server?
Possible Duplicate:
What is the proper way to change the DNS IP?
How to change the DNS NameServer in Ubuntu 11.04, When I typed node.ws on browser url-bar it redirected me to sedoparking.com site; How can I change to google DNS ie, 8.8.8.8
Here…

user7044
- 3,871
4
votes
2 answers
Trick Ubuntu into resolving a domain name locally
I have an Ubuntu box that I use for all sorts of things. One thing I really want to do is redirect a sub domain to a local script.
For example thisbit.example.com should actually show the content from localhost/~USER/FAKE.thisbit.example.com/ which…
3
votes
1 answer
DNS leak test shows other Google ISPs when I use Google 8.8.8.8 and 8.8.4.4 nameservers
I am trying to fix a DNS leak. I have changed the nameserver settings to use Google's 8.8.8.8 and 8.8.4.4 public DNS servers. However, if I run a DNSleak test it lists the following servers:
74.125.187.116 none Google United…

Benjen
- 133
3
votes
2 answers
If I am behind a router, how do I edit DNS resolution?
Should I edit resolv.conf in my machine, or leave it 192.168.1.x and change something in the router? If in the router, how?

Strapakowsky
- 11,914