IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more

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 (DNS) are, to some at least, the backbone of the World Wide Web. Similar to a rolodex, a DNS can hold vast amounts of information that websites and domains need to run.

DNS are what help devices like laptops, desktops, and tablets connect to the websites their user wants to visit.

Nameservers (NS), also fall under the umbrella of DNS; NS is an integral part of web hosting, one that focuses on handling queries around server locations offered by DNS, so that it is possible to use domains instead of IP addresses.

When is a DNS used?

A DNS uses resolvers to scan the web for URLs based on what a user types into their web browser. The resolver figures out where the information is stored by checking one DNS server at a time.

When the resolver finds the location of the IP address it will allow certain bits of content to filter through to the user, who can then start to see the website as it is intended. The content elements will feature parts of the user interface, like images and pages.

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 speed at which queries can be fixed is dependent on the location of a DNS server. Being further away from a server often results in poor connections and slower responses. This is partly why most ISPs aim to have multiple DNS servers dotted around the world, to help customers find ones near their location so they can easily power up a website.

It is also worth considering distances; it might not always be apparent, but typically, those that live closer to where a site is located will get a faster service compared to users that live much further away. 

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

Shutterstock

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.

What happens when a DNS server fails to respond?

There are occasions when you try to link a device to your network and find that it can't establish a connection - you'll be met with a "DNS server not responding" message. This can happen for a number of reasons, but there are also plenty of ways to fix this specific issue. It's normally caused by problems on the user's end, rather than faults server-side. It may well be the result of an issue with network connection, misfigured DNS settings, or a browser that needs an update. 

Related Resource

Deliver a modernised end-user experience that pays for itself

Start modernising PC lifecycle management today

Whitepaper cover with title band at bottom and image of man working at a laptop above, with a bicycle in the backgroundFree Download

The error message also comes up for temporary server outages. You could, in theory, fix the issue by switching to another browser, particularly if the one you are using needs updating. Or, you can try disabling connections, changing your DNS server, or even flushing the DNS cache.  

If you are met with the message: "your computer appears to be correctly configured, but the device or resource (DNS server) is not responding", you can use a number of hacks. First, make sure that the proxy server is disabled in your browser settings, and also that your PC's power-saving settings are off. You may also try changing your network settings so that the device selects the DNS server automatically. 

For the Windows 10 version, you need to navigate to the Network and Sharing Centre, click the name of your Wi-Fi connection and select 'Properties'. From here you need to find 'Internet Protocol Version 4' and choose 'Properties' a second time. Then select options 'Obtain an IP address automatically' and also 'Obtain DNS server address automatically. And, finally, return to the list and find 'Internet Protocol Version 6', open properties one last time and do the same. 

Featured Resources

The state of Salesforce: Future of business

Three articles that look forward into the changing state of Salesforce and the future of business

Free Download

The mighty struggle to migrate SAP to the cloud may be over

A simplified and unified approach to delivering Enterprise Transformation in the cloud

Free Download

The business value of the transformative mainframe

Modernising on the mainframe

Free Download

The Total Economic Impact™ Of IBM FlashSystem

Cost savings and business benefits enabled by FlashSystem

Free Download

Most Popular

Cyber attack on software supplier causes "major outage" across the NHS
cyber attacks

Cyber attack on software supplier causes "major outage" across the NHS

8 Aug 2022
Why convenience is the biggest threat to your security
Sponsored

Why convenience is the biggest threat to your security

8 Aug 2022
How to boot Windows 11 in Safe Mode
Microsoft Windows

How to boot Windows 11 in Safe Mode

29 Jul 2022