diff --git a/packages/server/src/utils/dns/porkbun.ts b/packages/server/src/utils/dns/porkbun.ts index cb029b81e..c3b68fead 100644 --- a/packages/server/src/utils/dns/porkbun.ts +++ b/packages/server/src/utils/dns/porkbun.ts @@ -61,9 +61,7 @@ const inlinePriority = (record: { content: string; prio?: string | null; }) => - (record.type === "MX" || record.type === "SRV") && - record.prio && - record.prio !== "0" + (record.type === "MX" || record.type === "SRV") && record.prio != null ? `${record.prio} ${record.content}` : record.content;