Difference Between Routable and Non-Routable Domains: Step-by-Step Explanation
Difference Between Routable and Non-Routable Domains: Step-by-Step Explanation
When managing domains for networking, particularly in the context of DNS (Domain Name System) and Internet Protocol (IP) addressing, it's important to understand the distinction between routable and non-routable domains. This distinction is often relevant for organizations in terms of internal vs. external networks, domain configurations, and security.
Here's a detailed step-by-step explanation of routable and non-routable domains, and how they differ:
1. Definition of Routable Domain
A routable domain is a domain name that is associated with a publicly accessible IP address. This type of domain can be used for internet-based communication and is typically associated with public-facing services such as websites, email servers, and applications.
- Routable domains are globally accessible through the internet. When you query a routable domain using DNS (e.g.,
www.example.com), it will resolve to a valid IP address that can be accessed anywhere, assuming no firewall or security restrictions block access.
Key Characteristics of Routable Domains:
- Publicly Registered: Routable domains are typically registered with domain registrars like GoDaddy, Namecheap, or through services like Microsoft Azure or AWS Route 53.
- Internet-Accessible: These domains are globally reachable and can be used by anyone with internet access, as long as they have the correct DNS records.
- Common Use Cases:
- Web Hosting (e.g., www.yourcompany.com).
- Email Servers (e.g., mail.example.com).
- APIs and Cloud Services.
- DNS Resolution: A routable domain will have a public DNS record that resolves to an external IP address (e.g., via A Records or CNAME Records).
Example of Routable Domain:
- www.google.com: This is a routable domain because you can access it globally through the internet, and it resolves to Google's servers.
2. Definition of Non-Routable Domain
A non-routable domain refers to a domain that is not directly accessible from the internet. These domains are used in private networks and cannot be resolved or accessed by systems outside of the internal network or by the general public.
- Non-routable domains are typically used for internal services, devices, or resources that are meant to be isolated from public access. They rely on private IP address spaces that are reserved by the Internet Assigned Numbers Authority (IANA) for use within local networks, and cannot be accessed from the internet.
Key Characteristics of Non-Routable Domains:
- Private IP Addressing: Non-routable domains typically map to private IP address ranges defined in RFC 1918 for IPv4 or the equivalent in IPv6.
- Not Globally Accessible: These domains are not registered with public DNS servers, and their corresponding IP addresses are not accessible over the internet.
- Common Use Cases:
- Internal Services: For example, a company's internal domain (e.g.,
intranet.company.local). - Private Subnets: Devices within a private network like printers, internal applications, and internal databases.
- Internal DNS Records: Organizations often set up internal DNS servers to resolve non-routable domains within their network.
- Internal Services: For example, a company's internal domain (e.g.,
- DNS Resolution: Non-routable domains are typically resolved via local DNS servers inside an organization’s private network or using specialized DNS forwarding for VPNs.
Example of Non-Routable Domain:
- intranet.company.local: This domain would be a non-routable domain in the internal network of a company. External systems on the internet cannot access it because it's not associated with a public IP address.
3. IP Address Ranges and How They Relate to Routing
The key technical difference between routable and non-routable domains lies in the IP address ranges they use.
Routable IP Addresses:
- Public IP Address Ranges: These IP addresses are globally unique and routable over the internet. These IPs can be accessed by anyone with an internet connection.
- Examples of public IP address ranges (Routable):
- IPv4: 1.0.0.0 - 223.255.255.255
- IPv6: Global Unicast addresses (e.g., 2000::/3)
Non-Routable IP Addresses (Private IPs):
- Private IP Address Ranges: These are used for internal networks and cannot be routed over the internet. They are reserved by IANA for private use and are defined in RFC 1918 for IPv4.
- Examples of private IP address ranges (Non-Routable):
- IPv4:
- 10.0.0.0 – 10.255.255.255
- 172.16.0.0 – 172.31.255.255
- 192.168.0.0 – 192.168.255.255
- IPv6:
- Unique Local Addresses (ULAs) in the range fc00::/7.
- IPv4:
4. Use Cases for Routable vs Non-Routable Domains
- Routable Domain Use Cases:
- Public Websites: Any website that needs to be accessed by the global internet population will have a routable domain (e.g.,
example.com). - Cloud Services: Services like Microsoft 365, AWS, and Google Cloud all use routable domains to provide access to cloud-based resources and applications.
- Email Servers: Email systems that need to send/receive messages over the internet will use routable domains (e.g.,
mail.google.comfor Gmail).
- Public Websites: Any website that needs to be accessed by the global internet population will have a routable domain (e.g.,
- Non-Routable Domain Use Cases:
- Private Networks: Many organizations use non-routable domains for their internal resources (e.g.,
internal.company.localorapp.company.local). - Intranet Services: Internal applications, file servers, and intranet portals are often hosted under non-routable domains.
- VPNs: Private, internal domains can be configured in VPN setups to allow access to resources from remote locations without exposing them publicly.
- Private Networks: Many organizations use non-routable domains for their internal resources (e.g.,
5. Security and Privacy Considerations
- Routable Domains:
- Since routable domains are accessible from anywhere on the internet, they are more susceptible to security threats (e.g., DDoS attacks, phishing attempts, etc.).
- DNSSEC (DNS Security Extensions) can be used to secure DNS records for routable domains and prevent DNS spoofing or cache poisoning.
- Non-Routable Domains:
- Non-routable domains are generally more secure because they cannot be accessed directly from the internet.
- Firewalls and NAT (Network Address Translation) ensure that private resources using non-routable domains are isolated and protected from external access.
6. NAT and Port Forwarding with Non-Routable Domains
In some cases, non-routable domains may still need to be accessed remotely. This is where NAT (Network Address Translation) and port forwarding come into play. These techniques allow an organization to expose internal resources (e.g., web servers or applications) that use non-routable domains to the internet by mapping internal private IP addresses to public IP addresses.
- NAT (Network Address Translation): Allows a device (like a router or firewall) to substitute a public IP address for a private one, enabling access to internal resources using a routable public address.
- Port Forwarding: Specific ports on a public IP address can be forwarded to corresponding ports on internal devices with private IPs, allowing external users to access specific services hosted on non-routable domains (e.g., hosting a web server internally but making it available to external users).
Summary: Key Differences Between Routable and Non-Routable Domains
| Feature | Routable Domain | Non-Routable Domain |
|---|---|---|
| Accessibility | Publicly accessible via the internet | Not accessible via the internet |
| IP Address | Public IP addresses (can be accessed globally) | Private IP addresses (limited to internal networks) |
| Use Case | Websites, email servers, cloud services, APIs | Internal services, intranet, private networks |
| DNS Registration | Registered with a public DNS provider | Managed through private DNS within the organization |
| Security | More exposed to external threats | More secure, isolated from external threats |
| Common Example | www.google.com, mail.example.com |
intranet.company.local, server.local |
Conclusion
Understanding the difference between routable and non-routable domains is essential for managing network resources, especially when configuring internal and external services. Routable domains are used for public-facing services that require internet access, while non-routable domains are used within private networks for services that don’t need to be exposed to the internet. When configuring domains, DNS, and IP addressing, it's important to know how and where to use each type to ensure proper access, security, and functionality.

Comments
Post a Comment