Lifewire
What Is a DNS Server?
Everything you need to know about network DNS servers
Lifewiro
by Tim Fisher
Updated April 16, 2018
A DNS server is a computer server that contains a database of public IP accesses and their associated hosinames, and in
‘most cases, serves to resolve, or translate, those common names to IP addresses as requested
DNS servers run special software and communicate with each other using special protocols,
In more easy to understand terms: a DNS server on the intemet is the device that translates that www. lifewire.com you type in
your browser to the 154.101.129.121 IP address that it really is.
Note: Other names for a DNS server include name server, nameserver, and domain name system server.
‘Why Do We Have DNS Servers?
This question can be answered with another question: Is it easier to remember 151.101.129.121 or www.lfewire.com? Most of
Us would say i's much simpler to remember a word lke lifewire instead of a string of numbers.
How ro
htpslwwrifewire.comwhabis-a-dns-sorver-2625854?print “aisr2018 bitps sew lifwiro.comwhat-s-a-dns-sorver-26258547print
When you enter wwwuifewire.com into a web browser, all you have to understand and remember is the URL.
https:/wwaulifewire.com. The same is true for any other website like Google.com, Amazon.com, etc.
The opposite is true, too, that while we as humans can understand the words in the URL much easier than the IP address
‘numbers, other computers and network devices understand the IP address.
Therefore, we have DNS servers because we not only want fo use human-readable names to access websites, but the
‘computers need to use IP addresses to access websites. The DNS server is that translator between the hostname and IP
address.
Malware & DNS Servers
Its always important to be running an antivitus program. One reason is that malware can altack your computer in a way that
changes the DNS server settings, which is definitely something you don't want to happen,
‘Say as an example that your computer is using Google's DNS servers 8.8.8.8 and 8.8.4.4. Under these DNS servers, accessing
your bank website with your bank's URL would load the correct website and let you login to your account,
However, ifthe malware changed your DNS server settings (which can happen behind the scenes without your knowledge)
entering the same URL might take you to a completely diferent website, or more importantly, to a website that looks lke your
bank website but really isn't This fake bank site might look exactly lke the real one but instead of leting you log into your
account, it might just record your username and password, giving the scammers all the information they need to access your
bank account.
Usually, however, malware that hijacks your DNS servers generally just redirects popular websites to ones that are full of,
advertisements or fake virus websites that make you think you have to uy a program to clean an infected computer.
There are two things you should do to avoid becoming a victim in this way. The first isto install an antivirus program so that,
‘malicious programs are caught before they can do any damage. The second is to be aware of how a website looks. If i's slightly
off of what it usually looks lke or you're getting an “invalid certiicate” message in your browser, it might be a sign that you're on
an imitation website.
More Information on DNS Servers
In most cases, two DNS servers, a primary and a secondary server, are automatically configured on your cauler andlor
computer when connecting to your ISP via DHCP. You can configure two DNS servers in case one of them happens to fal, after
Which the device will resort to using the secondary server.
While many DNS servers are operated by ISPs and intended to be used only by their customers, several public-access ones
are also available. See our Fro & Public DNS Servers List for an up-to-date listing and How Do | Change DNS Servers? if you
need help making the change,
‘Some DNS servers may provide faster access times than others but it relies solely on how long it takes your device to reach the
DNS server. If your ISP's DNS servers are closer than Google's, for example, then you might find that addresses are resolved
uicker using the default servers from your ISP than with a third-party server.
Ityou're experiencing network issues where it seems as if na website will load, i's possible that there's an issue with the ONS
server, Ifthe DNS server isn't able to find the correct IP address that's associated with the hostname you enter, the website
‘won't load. Again, this is because computers communicate via IP addresses and not hostnames-the computer doesn't know
‘what you're trying to reach unless it can use an IP address.
The DNS server settings "closest" to the device are the ones applied to it. For example, while your ISP might use one set of
DNS servers that apply to al the routers connected to it, your router could use a diferent set which would apply the DNS server
settings to all the devices connected to the router. However, a computer connected to the router can use i's own DNS server
settings to override the ones set by both the router and the ISP; the same can be said for tablets, phones, ete.
We explained above about how malicious programs can take control of your DNS server seitings and override them with
servers that redirect your website requests elsewhere, While this is definitely something that scammers can do, i's also a
feature found in some DNS services like OpenDNS, buti's used in a good way. For example, OpenDNS can redirect adult
htpslwwrifewire.comwhabis-a-dns-sorver-2625854?print 24aisr2018 bntps uuu lifowiro.comiwhats-0-dns-sorver-26258547prnt
websites, gambling websites, social media websites and more, to a "Blocked" page, but you have complete control over the:
redirects,
The nslookup is used to query your DNS server,
Start by ‘and then typing the following
nslookup tifewire.com
hich should return something lke this:
Name: lifewire.com
Addresses: 151.101.193.121
181.101,85.121
481.101.1.121
481.101.129.121
In the example above, the nslookup command tells you the IP address, or several IP addresses in this case, that
the lifewire.com address you enter in your browser's search bar might transtate to.
DNS Root Servers
There are a number of DNS servers located within the connection of computers that we call the internet, Most important are
18 ONS root servers that store a complete database of domain names and their associated public IP addresses.
‘These top-tier DNS servers are named A through M for the first 13 letters of the alphabet, Ten of these servers are in the US,
fone in London, one in Stockholm, and one in Japan.
IANA keeps if you'e interested
htpsslwmw Howie. comhatis-a-dne-server-26258542orint ai