Skip to main content

Authoritative DNS Servers Delegation and Internal DNS Explained

DNS (Domain Name System) plays a critical role in how users and systems find resources on the internet or within internal networks. Whether it's managing an internal domain in an enterprise or delegating parts of a domain for traffic distribution, DNS setups vary widely depending on needs. In this blog post, we’ll break down the different types of DNS setups, including authoritative DNS servers, DNS delegation, and how internal DNS functions within organizations.


1. Authoritative DNS Server

An Authoritative DNS server is the final source of truth for a specific domain. When someone queries a domain (e.g., example.com), the authoritative DNS server for that domain holds the DNS records (A records, CNAME, MX, etc.) and responds with the corresponding IP address.

Key Points:

  • Who can host it? Authoritative DNS servers are often hosted by domain registrars (e.g., GoDaddy, Namecheap) or cloud DNS providers (e.g., AWS Route 53, Cloudflare). However, organizations can also host their own authoritative DNS servers internally for greater control.
  • External DNS Resolution: Authoritative DNS servers are used to resolve public-facing domain names (e.g., www.example.com) for users all over the world.

Example:

If you purchase example.com from GoDaddy and use their DNS hosting service, GoDaddy’s authoritative DNS servers will store your DNS records and respond to DNS queries for that domain.


2. Internal DNS

An Internal DNS server is used within an enterprise network to resolve internal domain names. It is commonly found in Active Directory environments, where DNS is integrated with the network for resolving resources like workstations, servers, and internal applications.

Key Points:

  • Internal Name Resolution: Internal DNS servers typically manage private, non-public domains (e.g., company.local or internal.company.com) that are only used within the organization.
  • Not Publicly Exposed: Internal DNS servers are not exposed to the public internet. External queries for public domains like www.example.com are usually forwarded to external DNS resolvers.
  • Self-Hosted DNS: Many organizations prefer to manage their DNS infrastructure internally for better security and performance control.

Example:

Within a company, an internal DNS server might resolve the domain internal.company.com for local resources. Employees querying internal.company.com will get responses from the company’s internal DNS server, which is not accessible from the public internet.


3. DNS Delegation

DNS Delegation is the process of delegating responsibility for a subdomain to another DNS server. It’s commonly used when an organization wants a different system to manage DNS for a subdomain (e.g., delegating gslb.example.com to an F5 GTM for Global Server Load Balancing).

Key Points:

  • Delegating Subdomains: You can delegate authority for subdomains (e.g., sub.example.com) to another DNS server, while still retaining control of the main domain.
  • NS Records: Delegation is done by adding Name Server (NS) records in the authoritative DNS server for the main domain. These records point queries for the subdomain to the new authoritative DNS server.
  • Use Cases: Common in scenarios involving Global Server Load Balancing (GSLB), where DNS queries for a subdomain are delegated to a specialized system like F5 GTM, which dynamically resolves the best server based on proximity and load.

Example:

A company hosts example.com on an internal DNS server but wants to delegate gslb.example.com to F5 GTM to handle global traffic distribution. NS records are added in the internal DNS pointing gslb.example.com to F5 GTM’s DNS listeners. Now, queries for gslb.example.com are handled by F5 GTM, while example.com remains managed by the internal DNS.


4. DNS Forwarding

DNS Forwarding is used when an internal DNS server cannot resolve a query and forwards it to an external DNS server (e.g., public DNS resolvers like Google’s 8.8.8.8 or Cloudflare’s 1.1.1.1). This is commonly used in enterprise environments where internal DNS servers handle internal domains but need external DNS servers to resolve public domains.

Key Points:

  • Forwarding Queries: If an internal DNS server doesn’t have a record for an external domain (like google.com), it forwards the query to an external public DNS resolver.
  • Efficient Query Handling: Forwarding ensures that internal DNS servers don’t need to store records for external domains while still resolving public resources when needed.
  • Common in Enterprises: Internal DNS servers (like those in Active Directory) often use forwarders to resolve public domains outside the internal network.

Example:

An internal DNS server manages the domain internal.company.local. When a user queries google.com, the internal DNS forwards the request to Google’s public DNS server (8.8.8.8) to get the IP address of google.com.


5. Self-Hosted vs. Third-Party DNS Hosting

There are two main approaches for hosting authoritative DNS:

  1. Third-Party DNS Hosting: Services like GoDaddy, AWS Route 53, or Cloudflare offer DNS hosting. This is easy to set up, highly available, and widely used for public domains. These services act as the authoritative DNS server for your domain.

    Pros:

    • Simple and fast to configure.
    • High availability and distributed globally.
    • Advanced features like DDoS protection.

    Cons:

    • Limited control over DNS infrastructure.
    • Potential costs for advanced services.
  2. Self-Hosted DNS: In this case, the company hosts its own authoritative DNS servers, usually within its own infrastructure. This is common in large enterprises that need full control over their DNS configurations and data.

    Pros:

    • Full control over DNS infrastructure.
    • Enhanced security and customization.
    • Can manage both internal and external records directly.

    Cons:

    • More complex to manage and maintain.
    • Requires internal resources and expertise.
    • May lack the global reach of third-party providers.

Final Thoughts: Choosing the Right DNS Strategy

Understanding the different types of DNS (internal, authoritative, delegation) and how they interact is crucial for managing your domain’s DNS infrastructure effectively. Whether you're running an internal DNS for local name resolution or delegating subdomains to load balancers like F5 GTM, having the right DNS setup can improve performance, security, and scalability.

Organizations with complex needs often blend these DNS strategies—using internal DNS for local resources, authoritative DNS for public-facing domains, and delegation to handle specific subdomains via systems like F5 GTM for global load balancing.

By selecting the appropriate DNS setup, you can ensure that your network’s name resolution works efficiently, both inside and outside your organization.


This guide should help you navigate the world of DNS servers and delegation, making it easier to design an optimized DNS architecture that meets the unique needs of your organization.

Comments

Popular posts from this blog

How to import Putty Saved Connections to mRemoteNG

Just started using mRemoteNG and its being very cool to connect to different remote connection with different protocols e.g Window Remote Desktop, VNC to Linux, SSH, HTTP connection etc. from a single application. As new user I configured some remote desktop connection which was quite easy to figure out. But when I wanted to add SSH connections, it came in my mind to import all of the saved connections in the putty. But I couldn't figure it out how can it be done, though it was quite easy and here are the steps. Open your mRemoteNG Create a folder if you want segregation of multiple networks Create a new connection Enter the IP address of remote server under connection in Config pane Under the config pane, select protocol " SSH version 2 ".  Once you select protocol to SSH version 2 you are given option to import putty sessions, as shown in the snap below. In the above snap, I have imported CSR-AWS session from my saved sessions in Putty.

SSL VPN vs IPSec VPN: Understanding the Key Differences

When it comes to securing communication over the internet, Virtual Private Networks (VPNs) are a cornerstone of modern networking. Two popular types of VPNs are SSL VPN and IPSec VPN . While both serve to encrypt and secure data, they differ significantly in terms of technology, use cases, and implementation. This blog post will help you understand these differences and choose the right solution for your needs. What is SSL VPN? An SSL VPN uses the Secure Sockets Layer (SSL) or its successor, Transport Layer Security (TLS) , to create a secure connection. It operates at the Application Layer (Layer 7) of the OSI model and is designed to provide secure access to specific resources over the internet. Key Features of SSL VPN: Ease of Use: Accessible via a standard web browser without the need for dedicated client software. Granular Access Control: Allows users to access specific applications or resources rather than the entire network. Port Usage: Uses TCP port 443, which is rarely...