Skip to content
tau.how

Domains (DNS)

One of the fundamental resources provided by Taubyte is DNS or Domain Name System services. Understanding how DNS works is vital for developers, as it forms the bedrock of internet communication, linking human-readable domain names to machine-understandable IP addresses.

What is DNS?

The Domain Name System (DNS) is like the phonebook of the internet. Human beings access information online through domain names, like “google.com” or “openai.com”. Web browsers interact through Internet Protocol (IP) addresses. DNS translates domain names to IP addresses so browsers can load Internet resources.

Each device connected to the internet has a unique IP address which other machines use to find the device. DNS servers eliminate the need for humans to memorize IP addresses such as 192.168.1.1 (in IPv4), or more complex newer alphanumeric IP addresses such as 2400:cb00:2048:1::c629

(in IPv6).

DNS in Taubyte

In Taubyte, DNS is implemented as a serverless and decentralized feature. As of today, developers can declare domains and subdomains to create HTTP endpoints and host frontend resources. While DNS is not currently a dfunction trigger, there are plans to add this functionality in the future, opening up a plethora of possibilities for dynamic routing, analytics collection, or through SmartOps DNS-based load balancing.

Here’s an example of how you can declare a domain in Taubyte:

id: QmQ6ETsH2R7NRwL2TyQGh2QM6vSruph5VNBmXxeQR16kbV
description: ""
tags: []
fqdn: 2cxbsy5j0.gtau.link
certificate:
    type: auto

In the future, Taubyte intends to expand the scope of its DNS service to include DNS acceleration, which would significantly improve the speed of DNS resolution and thereby reduce the overall latency of applications deployed on Taubyte.

Here’s a breakdown of the configuration:

  • id: The unique identifier for the domain.
  • description: A short description of what the domain is used for.
  • fqdn: The Fully Qualified Domain Name (FQDN). This is the complete domain that should resolve to your application.
  • certificate: The SSL/TLS certificate for the domain. When type is set to auto, Taubyte automatically manages the certificates for the domain, including obtaining the certificate from a trusted Certificate Authority (CA) and renewing it before expiry.

With its ambitious roadmap, Taubyte is set to revolutionize DNS management, offering developers a seamless, serverless, and scalable platform for all their DNS needs.