URL Record Format and Technical Details
Last updated
This document serves as a reference for the structure and underlying technical implementation of DNSimple’s proprietary URL record type. This record type facilitates web (HTTP/HTTPS) redirects directly through DNSimple’s services.
URL record format
The URL record is a special record type developed by DNSimple and is not defined by any standard RFC. Its functionality is proprietary to DNSimple’s name servers and redirector service.
In DNSimple’s record editor, the URL record is represented by the following configurable elements:
| Element | Description | Constraints & Details |
|---|---|---|
| Name | The hostname for the record, without the domain name. Generally referred to as the “subdomain” (e.g., www, blog). DNSimple automatically appends your domain name. | Cannot be blank if setting up a subdomain. If setting up a redirect for the apex domain (e.g., example.com), leave this field blank. |
| TTL | The time-to-live in seconds. This is the amount of time the record is allowed to be cached by a DNS resolver. | An unsigned 32-bit integer. Standard DNS TTL values apply. |
| URL | The full destination URL to which the source hostname should redirect. | Must be a valid, complete URL including the scheme (e.g., https://www.example.com/new-page). |
Technical implementation: how DNSimple exposes URL records
You configure a URL record in the DNSimple interface, and DNSimple handles its technical implementation at the DNS level. The URL record itself does not exist as a standard DNS record type that is directly served to clients.
Instead, when you create a URL record:
-
Underlying A record: DNSimple answers queries for the source hostname (e.g.,
www.yourdomain.com) with a standard A record that points to the IPv4 address of DNSimple’s redirector service. DNSimple does not publish an AAAA (IPv6) record for a URL record. - HTTP/HTTPS redirect service: When an HTTP/HTTPS client (like a web browser) attempts to access the source hostname, its DNS query resolves to the redirector service’s IP address. The redirector service then receives the HTTP/HTTPS request.
-
Redirect response: Our redirector service then serves a
301 Moved Permanentlyredirect response to the client. The status code is not configurable. This response includes theLocationheader, which contains the target URL you specified in the URL record. - Client follows redirect: The client’s web browser then automatically follows this HTTP/HTTPS redirect to the final target URL.
From the perspective of a querying DNS resolver, the source hostname appears to have a standard A record pointing to DNSimple’s infrastructure. The web redirection itself occurs at the HTTP/HTTPS layer, handled by DNSimple’s servers.
HTTPS redirects have a plan requirement and need an SSL certificate that covers the source hostname. See HTTPS redirects.
Have more questions?
If you have additional questions or need any assistance with your URL records, just contact support, and we’ll be happy to help. You can also read more about DNS hosting at DNSimple.