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.

learn more… | top users | synonyms

28
votes
10answers
70k views

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 ...
37
votes
4answers
61k views

NetworkManager not populating resolv.conf

I recently upgraded from 11.10 to 12.04, and now NetworkManager isn't populating /etc/resolv.conf when connecting to wireless networks, when it had been working perfectly in 11.10. I'm not seeing any ...
102
votes
12answers
180k views

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 ...
32
votes
7answers
11k views

Problem resolving many of the Web Pages

I am presently running Ubuntu 12.04 and using Chrome/Firefox along with OpenDNS (have tried Google Public DNS as well as DNS of my ISP). Suddenly, a lot of websites that I visit frequently don't ...
51
votes
1answer
326k views

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 ...
51
votes
6answers
94k views

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 ...
97
votes
7answers
283k views

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 ...
25
votes
4answers
113k views

Should I edit my resolv.conf file to fix wrong DNS problem?

I have the problem that my Ubuntu machine uses the wrong DNS server. For some reason the machine queries localhost for DNS information. I have added the DNS server in the network settings GUI, but /...
8
votes
1answer
45k views

Can not access Internet (DNS names do not resolve) after update today

I have been using Precise for a few weeks now for work with no problem. Today, I am not able to access any website using either wired or wireless connections. I installed the updates today which ...
-1
votes
1answer
1k views

Able to access web by ip, but not by dns name

I'd like to post a solution to a problem I've encountered in my university. The issue is closely related to this post. I asked the user whether or not he found a solution but he never responded. In ...
23
votes
6answers
6k views

Virtualbox DNS stopped working on upgrade to 12.10

I have a Debian image setup on Virtualbox that uses the default NAT to access the internet. It was working fine before I upgraded to 12.10. After I upgraded the DNS lookups no longer work. I still can ...
36
votes
10answers
256k views

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 ...
15
votes
2answers
14k views

DNS_PROBE_FINISHED_BAD_CONFIG error in Ubuntu 14.04

I am running Ubuntu 14.04 LTS on my Dell M3800. I am having problems connecting to the Internet. I getDNS_PROBE_FINISHED_BAD_CONFIG in my browser when trying to navigate to any site, but I am able ...
17
votes
6answers
16k views

Why can't my machine resolve local windows hostnames?

When I ping any local windows hostname from my Ubuntu machine I get "unable to resolve host", but when I ping from a windows machine it works fine. Why would this be? OS: Ubuntu 10.04 Samba & ...
5
votes
1answer
23k views

How to redirect a URL to a custom IP address?

I have an Ubuntu machine that I'm using as my home Internet router. It uses a USB mobile broadband modem as its Internet connection, and shares this with another router (via the router's "Internet" ...
1
vote
2answers
151 views

Do you really need to remove DHCP clients for static IP to stick?

The instruction from this link works to change from DHCP dynamic IP to static. But there's a step where it says: You need to also remove the dhcp client for this to stick (thanks to Peter for ...
25
votes
6answers
25k views

What Can Be Done To Secure Ubuntu Server?

I have a project to secure Ubuntu Server as much as I can. The server is a web hosting server. The server will be running LAMP , Mail , and DNS.
17
votes
7answers
15k views

Why does my resolv.conf file get regenerated every time?

My /etc/resolv.conf file gets regenerated every time, making me loose Google DNS servers when I reconnect my 3G modem. For changing the DNS settings, I looked at http://code.google.com/intl/fr-FR/...
15
votes
6answers
39k views

Best way to set up DNS caching?

In order to speed up DNS lookups, I want to install a DNS cache or proxy. I can see at least three programs I think will do the job: bind9, pdnsd, or dnsmasq. I would like to make sure that if I ...
12
votes
3answers
16k views

DNS server address no longer stored in resolv.conf; where is it now?

I sometimes switch DNS servers, using the NetworkManager indicator in the taskbar; this worked fine with previous versions, and actually works fine with 12.04, too, except for one thing: I use Conky ...
8
votes
4answers
3k views

How to reach a host in the same network by hostname?

I have a network which connects a couple of hosts. I would like to be able to reach other hosts from one of them using the hostname. I just discovered the ".local" domain, which is available through ...
4
votes
1answer
3k views

Can't resolve windows domains in local network

I've installed ubuntu on my computer at work because I think it is a perfect system for work which I do but I got some issues. I can't resolve domains from windows DNS server. Basically, we have two ...
1
vote
1answer
3k views

Internet connection not working although it says it is connected

I have a Toshiba z830 with ubuntu 12.04. I could use without problems the DSL connection (I have no router, only a modem) at home until a couple of days ago: It stopped to work when while connected ...
26
votes
3answers
16k views

nslookup finds ip, but ping doesnt

I know this looks like all the other "can ping via ip but not dns" questions, but those didnt really help me at all. Also, having hosts files in all machines is not doable as this server will ...
9
votes
2answers
19k views

Extrememly slow DNS lookup

Ubuntu 12.10 I'll explain the first problem. Sometimes when I load a webpage it never finishes loading and it says cannot reach server or something like that. When I ping that website, the terminal ...
26
votes
2answers
58k views

How to use host names rather than ip addresses on home network?

I've a small home network up and running and managed to set up ssh. Can anyone tell me what I need to do to refer to one computer on the network from another by host name rather than IP address (which ...
17
votes
2answers
15k views

What does “.local” do?

I've got several Ubuntu machines on my network at home, but the DNS is provided by a windows server (2K). When I ssh to them from another , if I ssh to them as "machine" I can't connect, but if I ...
4
votes
1answer
49k views

How to Disable External DNS recursion?

I know that to disable recursive queries in BIND, I need add the following lines to the options section of /etc/bind/named.conf.options allow-transfer {"none";}; allow-recursion {"none";}; recursion ...
15
votes
4answers
28k views

What is my DNS server?

My /etc/resolv.conf looks like this: # 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 nameserver ...
1
vote
3answers
18k views

Set static IP Ubuntu 16.04

I am a new with Linux, having years experience with Windows servers/desktops and am having issues setting a static IP. I am using a method used for previous versions of Ubuntu, which doesn't seem to ...
22
votes
9answers
44k views

Why is the /etc/hosts file not working?

I have been having problems with this for a while and have tried everything I know, so I figured it was finally time to ask for some help. Any edit I make to /etc/hosts just doesn't work. Example: ...
17
votes
4answers
28k views

resolv.conf doesn't get set on reboot when networking is configured for static ip

I'm experiencing what appears to be a name resolution issue in Ubuntu 12.04 Server edition when configuring my computer to use static ip. In /etc/network/interfaces: # The primary network interface ...
9
votes
6answers
5k views

How to know what DNS am I using in Ubuntu from 14.04 onwards

(A follow up to similar question for 12.04.) Prior to Ubuntu 12.04, you may see the active DNS in /etc/resolv.conf. In Ubuntu 12.04, NetworkManager no longer works with the file. You have to directly ...
8
votes
6answers
10k views

How to check if DNS is encrypted?

I have installed DNSCrypt , its OpenDNS encrypted DNS patch for Ubuntu & other Linux users & it's working fine. How do I know if my DNS is encrypted? I have googled but didn't find anything. ...
7
votes
3answers
10k views

Why is ddclient giving me an “Invalid IP” error when trying to update dynamic DNS?

I am having a really hard time getting ddclient (which updates OpenDNS with my current IP address) to work. I have it running as a daemon, but it never succeeds in updating my IP address at openDNS. ...
1
vote
3answers
8k views

How can I use bind9 to use my own custom domain in my LAN?

I'm new to DNS and making a DNS server. I've read through the bind9 server how to (at https://help.ubuntu.com/community/BIND9ServerHowto) and several tutorials online on setting up a bind9 server in ...
1
vote
3answers
15k views

Why would 127.0.0.1 in resolv.conf cause problems in DNS resolution?

[update and update II: see my awkward and proper solutions at the end of the question, based on one of the answers] I have an extremely slow DNS lookup when my resolv.conf file includes the 127.0.0.1 ...
5
votes
4answers
16k views

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..
3
votes
4answers
209 views

Global DNS change

How do I change my DNS server globally without having to do it manually through network manager for every connection I have. I want to use OpenDNS, whether its at home, university, wifi hotspot, ...
3
votes
1answer
4k views

When I try to add repositories, why are ubuntu's keyservers timing-out?

Something is rendering receiving keys from keyserver.ubuntu.com impossible and I'm not even sure where to begin in trying to resolve this. As an example, we'll use the Spotify linux app found here: ...
2
votes
4answers
7k views

How can I configure my server so that my domain points to it?

I have bought a domain name (without hosting), and at home I have a static ip address on Ubuntu server 11.04. How can I redirect users to my web server at home? What configuration needs to be done?
1
vote
2answers
1k views

DNS on static IP address

I have setup my mythtv server (runnning ubuntu 12.04) to have a static IP address. This is required because the IPAddress must be hardcoded in the mythtv server settings and if it changes the the ...
1
vote
3answers
5k views

DNS server configuration is changed automatically

The default DNS server was running too slowly, so I changed the configuration by adding a nameserver. /etc/resolv.conf : nameserver 202.102.192.68 nameserver 210.45.240.99 domain ***edu.cn search ***...
1
vote
1answer
1k views

Ubuntu 14.04 - Connection is there but no internet access - messed resolvconf

Let me start with a disclaimer: I have tried to fix my problem by reading similar questions & answers, but so far no luck. Not only that, but I think that by making some changes to resolvconf I ...
4
votes
0answers
350 views

How to change the DNS name server? [duplicate]

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 ...
2
votes
3answers
5k views

Problem with Winbind/Samba

I've been having an issue on my network that has completely vexed me. I have three workstations running Ubuntu 13.04, one Windows 7 workstation, and three servers on Ubuntu Server 12.04. One of the ...
2
votes
2answers
7k views

Set up domain name on private server

I have a Linux server (Ubuntu 12.04) I'm using to learn as much as I can about server management. I've got as far as getting a full LAMP setup running, but have hit a dead end trying to get a domain ...
1
vote
1answer
1k views

Can ping but no DNS

I have installed Ubuntu 14.04 on my laptop. This laptop has a Qualcomm Atheros QCA9565 Wifi network card, but no ethernet port. I can connect to the router. I can ping to 8.8.8.8, but when opening ...
1
vote
5answers
2k views

DNS stopped working on laptop

Was working fine then stopped inexplicably. I can ping the gateway/DNS router/firewall (Untangle) using WiFi and cable using WiCd. Network Manager does not work on this computer Firefox reports "...
1
vote
1answer
13k views

How do I configure the search domain correctly (14.10)?

I recently installed Ubuntu GNOME on my work computer, replacing Windows 7, because I will be doing a lot of Linux development work. Many of our configuration and development scripts use shortened ...