Compare the Difference Between Similar Terms

Difference Between

Home / Technology / IT / Internet /Difference Between IP and DNS

Difference Between IP and DNS

October 14, 2011Posted byAdmin

IP vs DNS

There are two main namespace methods implemented in the Internet:IP address spacesandDomain naminghierarchy. The Domain names are maintained and translated to IP addresses by the DNS.

What is IP?

IP or the Internet Protocol serves two purposes: defining the rules for the IP addressing system for giving a logical numerical address to each entity in a TCP/IP based network and the routing or transporting data packets from source hosts to destination hosts.

Among these tasks, IP addressing is of vital importance, as it is how the location of an entity or a host (such as a computer or a printer), is recognized in an IP based network. In addition, accurate Routing of data is also achieved through IP addressing.

An IP address is usually a unique 32-bit (IPv4) or 128-bit (IPv6) binary number that is assigned to an entity of a network, by the Internet Assigned Number Authority. For the convenience of the human users, these IP addresses are stored in the format of a decimal number. Given below is an example of an IP address.


          

IP addresses are of two types: Static IP addresses, which are permanent, and are assigned to a host manually by an administrator, and Dynamic IP addresses, which are assigned anew each time the host is connected to the network by the server using DHCP.

What is DNS?

DNS或域命名系统is a hierarchical system for naming computers or other resources connected to a network. It facilitates the naming of groups of users and resources, disregarding their physical locations, which simplifies things for general users, as they only have to know a URL or an E-mail address to access hosts or resources without worrying about how physically locate them. It also contains a mapping system between domain names and their corresponding IP addresses or physical locations, so that it can locate the hosts or resource indicated by the domain names entered by Users.

A typical domain name, (which is formed according to the rules in DNS protocol) consists of three or more parts (referred to as labels), usually concatenated by dots.

As illustrated above, the Domain Naming hierarchy is formed from the right-most to the left-most of the domain name. In the above example,“com”is the Top-Level Domain name and“differencebetween.com”is a sub-domain of TLD “com”. Andm.mcpcourse.comis a sub-domain of the sub-domain “differencebetween.com”. When it comes to domain names such aswww.example.co.uk,the domain“co”is referred as the Second-Level Domain. Each label can contain up to 63 characters and each domain name cannot exceed a length of 253 characters.

If any domain name is associated with a certain IP address, those names are referred to asHostnames. For example,m.mcpcourse.comanddifferencebetween.comare hostnames, while the TLDs such as.comor.orgare not, as they are not associated with any IP address.

域名系统在神庙的形式运营rchical database, which contains sub-branches referred to as Name servers. When a translation of domain name is requested, if Local DNS name server does not have a record of the certain domain, it sends a request to one of the 13 Root DNS Servers, located worldwide. The root DNS server then contacts the corresponding TLD DNS server (org, com, etc) for cached records of the given domain name. Then the TLD DNS server contacts Authoritative DNS server, which contains details about sub-domains.

What is the difference betweenIP and DNS?

• IP and DNS are both naming systems for addressing namespaces allocated for entities in a Network.

• While the IP addresses are the actual locations where the entities are located, DNS only gives the entity a Name, based on some standard rules. For example, DNS is similar to a name of a place, and IP address is similar to the address to the physical location of the place. When a user types a Domain Name, the DNS translates the domain name into an IP address and locates the host physically.

• Also, the DNS assigns an alphanumerical name to an entity that is easily remembered by the users, and the IP assigns a numerical value to the network entity.

Related posts:

Difference Between IP and MAC Address Difference Between Static IP and Dynamic IP Difference Between IP and Port Difference Between TCP and IP Difference Between .com and .in

Filed Under:InternetTagged With:DNS,dns vs,domain name,Domain naming,Domain Naming System,Dynamic IP address,Dynamic IP address vs,IP,IP address,IP address domain,IP address spaces,IP addressing,ip vs,namespace,名称空间的方法,namespaces,routing,Static IP address,Static IP address vs

About the Author:Admin

Coming from Engineering cum Human Resource Development background, has over 10 years experience in content developmet and management.

Comments

  1. Annsays

    August 13, 2019 at 10:29 pm

    stiil don’t understand. need to know if others can detect mym ip address and snoop into my compute they are using a different wifi but not sure of their ip. thanks

    Reply

Leave a ReplyCancel reply

Your email address will not be published.Required fields are marked*

Request Article

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and SARS

Difference Between Coronavirus and SARS

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

You May Like

Difference Between Sound and Noise

Difference Between Sensation and Feeling

Difference Between Sensation and Feeling

Difference Between Barcode and QR Code

Difference Between Time Domain and Frequency Domain

What is the Difference Between Shuttle Vector and Expression Vector

What is the Difference Between Shuttle Vector and Expression Vector

Latest Posts

  • What is the Difference Between Graphite and Lead
  • What is the Difference Between Symptom and Syndrome
  • What is the Difference Between Platelet Plug and Blood Clot
  • What is the Difference Between Agglutination and Hemagglutination
  • What is the Difference Between Fullerene and Carbon Nanotubes
  • What is the Difference Between Dialysis and Kidney Transplant
  • Home
  • Vacancies
  • About
  • Request Article
  • Contact Us

Copyright © 2010-2018Difference Between. All rights reserved.Terms of Useand Privacy Policy:Legal.