-1

I am very new in networking and wanted to grab some quick knowledge about DNS server.

Understand that DNS translates the IP address into human readable domain name. Can someone explain to me why do we need various type of DNS server , such as internal, external and ISP DNS.

Why are they needed and what's the differences ?

Xerf
  • 1
  • These differences do not exist/are irrelevant. You should consult RFC 8499 for modern definitions. Look in particular in section 6 "DNS Clients and Servers". – Patrick Mevzek Nov 16 '21 at 14:35
  • `Understand that DNS translates the IP address into human readable domain name`. That's backwards. DNS translates names into numerical addresses. – Greg Askew Nov 16 '21 at 14:52

1 Answers1

2

To put it simply:

Internal DNS

If you have a network with several devices/servers attached, then you might want to consider an internal DNS server, so you don't have to remember which device was located at which IP address.

It is much more easier to remember a name instead.

It get even more tricks to remember the address of an local device if you use IPv6 as the address can be rather long such as 2001:db8:cafe:beef:1234:5678:90ab:cdef.

All names stored on the internal DNS usually share the trait that none of them are accessible from the Internet at large.


  • Another reason why you may want consider internal DNS is because you want to use it as a caching DNS, since it can improve response time when several clients on the same network request the same hostname.

The idea is that the first time the hostname is looked up the response is stored in the local cache until the TTL for the record has expired.

Any subsequent requests for the hostname will looked up in the cache instead of asking the original DNS server hosting the hostname.

External DNS

This part is a bit more simple, as it is only relevant if you have purchased a domain name, because this is the place tell everyone on the Internet where your website and services is located.

For the inexperienced people I would certainly recommend not hosting your own external DNS, due to there are many security considerations to take care of.

Instead use of the commercial available DNS providers.

  • 1
    And normally you should also avoid using your external domain name when you set up your internal DNS - instead use a subdomain of your external domain or a dedicated domain that you own for your internal DNS. https://serverfault.com/q/76715/546643 – Bob Nov 16 '21 at 11:33
  • Agree. Any DNS server that has records pointing to ANY RFC1918 IP adresses, should be kept AWAY from the Internet at large. – Lasse Michael Mølgaard Nov 17 '21 at 11:07