What is a DNS server?

We explain what a DNS server is, how it works and how to avoid DNS hijacking

Networks servers

Domain Name Servers, also known by the acronym DNS, are widely considered to be the backbone of the world wide web. However, in more specific terms, it can be compared to more of rolodex holding the details for every website and domain accessible to the internet or private network. Thanks to the DNS, devices such as laptops, desktops, or tablets can be connected to whichever website a user wants to visit.

You might have also come across NS, or nameservers, especially when switching hosts while running a website. These are under the umbrella of DNS and hold a significant role in hosting. Nameservers focus on handling queries regarding the location of the services offered by DNS, making it possible to use domains instead of IP addresses.

When is a DNS server used?

As you open your web browser of choice and type in the URL of a website you want to visit, a DNS resolver will perform a scan of the web in order to identify the IP address of that domain name. By examining one DNS server at a time, the resolver will make an effort to identify the location of the stored information.

As soon as the resolver manages to pinpoint the location of the IP address, it allows for content elements to be filtered through to the user who will then be able to look at the website as it is intended to be viewed. These content elements may include various examples of user interface (UI), from images and pages to other visual objects.

How is the DNS server set up?

Internet Service Providers (ISPs) normally run their own DNS with a router serving as the gateway between a device and the DNS. IP queries are sent to the ISP’s DNS that look for where website assets are kept.

Are some DNS servers faster than others?

The pace at which queries can be resolved is heavily dependent on the location of a DNS server, and being further away from a server may mean that connections and responses will be slower. That is why the majority of ISPs make sure to have their DNS servers distributed across the globe, so that their customers can find themselves near one whenever they need to power up their websites.

Another aspect worth considering is the distance between organisations’ sites and their visitors. Although not always apparent, those who live closer to where the site is located experience a service faster than those based on the other side of the world.

One way to speed up the DNS lookup is to have already visited a page before. This is because the IP address and hostname will have already gone through the resolution process, meaning that the information will be stored on the users’ devices. Hence they will not be forced to search for the connection from scratch when they enter the name of the website into the address bar.

Another way to resolve speed issues is by using a content delivery network (CDN). These aim to deliver content faster when resolving queries, although it’s not considered a solution directly affecting the DNS. CDNs work by placing content into a location within a local proximity to the user visiting the website. Even if the DNS takes a while longer to resolve, the entirety of the content, such as the pictures and assets which comprise its UI, will be delivered to machines faster due to the considerably shorter length that they have to travel.

DNS server security concerns

A man maintaining servers

Sometimes, DNS servers can be hijacked by hackers, leading unsuspecting victims to fake websites that appear to be the site you're trying to reach, but the IP address has been changed to appear as though it's the genuine site.

To avoid falling victim to such scams, you should ensure your antivirus and malware detection tools are up to date and if you see an invalid certificate warning message, it's a good idea not to head to the website, especially if it's asking for sensitive information.

Featured Resources

How to scale your organisation in the cloud

How to overcome common scaling challenges and choose the right scalable cloud service

Download now

The people factor: A critical ingredient for intelligent communications

How to improve communication within your business

Download now

Future of video conferencing

Optimising video conferencing features to achieve business goals

Download now

Improving cyber security for remote working

13 recommendations for security from any location

Download now

Most Popular

Star Alliance passenger data stolen in SITA data breach
data breaches

Star Alliance passenger data stolen in SITA data breach

5 Mar 2021
I went shopping at Amazon’s till-less supermarket so that you don’t have to
automation

I went shopping at Amazon’s till-less supermarket so that you don’t have to

5 Mar 2021
How to find RAM speed, size and type
Laptops

How to find RAM speed, size and type

26 Feb 2021