githubEdit

URL301

circle-info

This is provider specific type of record and not a DNS standard. It may behave differently for each provider that handles it.

Namecheap

This is a URL Redirect record with a type of "Permanent", it creates a 301 redirect to the target.

You can read more at the Namecheap documentationarrow-up-right.

Porkbun

This creates a permanent (HTTP 301) redirect to the target URL. By default, it includes wildcard subdomains but does not include the URI path in redirection.

Example:

dnsconfig.js
D("example.com", REG_PORKBUN, DnsProvider(DSP_PORKBUN),
    URL301("redirect", "https://example.org"),
);

Last updated