What is a DNS server and how to check whether it is configured or not

0 votes
Can you please help me with the working of a DNS server and also how it works? How to check whether it is configured in my device or not?
Mar 22, 2019 in Cyber Security & Ethical Hacking by Sandeep
1,552 views

1 answer to this question.

0 votes

A DNS server is used to enable a machine to translate a website name, like www.google.com, into an IP address. This process is known as Hostname resolution. Hostname resolution is done because a machine doesn't understand names and human are more comfortable with names. Using this, a machine can communicate with one another easily.

Now, to verify that your machine is able to resolve hostnames simply ping to any website like www.google.com,  when you use the ping command to a host using its name, OS will perform a resolution and obtain its IP address and display in the ping command.

This way you can verify as your DNS server is configured or not.

Here is an example to show how it works:

C:\Users\priyj_kumar>ping www.google.com

Pinging www.google.com [216.58.197.36] with 32 bytes of data:
Reply from 216.58.197.36: bytes=32 time=40ms TTL=56
Reply from 216.58.197.36: bytes=32 time=39ms TTL=56
Reply from 216.58.197.36: bytes=32 time=38ms TTL=56
Reply from 216.58.197.36: bytes=32 time=40ms TTL=56

Ping statistics for 216.58.197.36:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 38ms, Maximum = 40ms, Average = 39m

This way you can verify your DNS Server. Hope it helps.

answered Mar 22, 2019 by Priyaj
• 58,020 points

Related Questions In Cyber Security & Ethical Hacking

0 votes
1 answer

How do i check a ip address range whether it falls in Class A,Class B,Class C

class NetworkId{ static String findClass(String str){ int index = ...READ MORE

answered Feb 16, 2022 in Cyber Security & Ethical Hacking by Edureka
• 13,620 points
899 views
+1 vote
1 answer
0 votes
1 answer

Not connected to Internet

The two major problems that generally occurs ...READ MORE

answered Mar 22, 2019 in Cyber Security & Ethical Hacking by Priyaj
• 58,020 points
1,061 views
0 votes
1 answer

How can I ping my default gateway?

Using the following command you can find ...READ MORE

answered Mar 22, 2019 in Cyber Security & Ethical Hacking by Priyaj
• 58,020 points
21,889 views
0 votes
1 answer

How to quickly troubleshoot my network?

The best way to troubleshoot your network ...READ MORE

answered Mar 22, 2019 in Cyber Security & Ethical Hacking by Priyaj
• 58,020 points
1,030 views
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

How to manage network using a router?

Security and data logging.. Simple READ MORE

answered Dec 20, 2020 in Cyber Security & Ethical Hacking by Pavan Billore
3,007 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP