diff --git a/server/lib/dns/generateDomains.ts b/server/lib/dns/generateDomains.ts index cde08254f..8f407ae46 100644 --- a/server/lib/dns/generateDomains.ts +++ b/server/lib/dns/generateDomains.ts @@ -1,3 +1,10 @@ -export function createCname(domainId: string, baseDomain: string) {} +export function createCname( + domainId: string, + baseDomain: string +): { baseDomain: string; value: string }[] { + throw new Error("Creating CNAME records is not supported in this build"); +} -export function createNs() {} +export function createNs(): string[] { + throw new Error("Creating NS records is not supported in this build"); +}