From a2c00bcb3ed679752efdf65cad2d97a5881f829a Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Tue, 6 Jan 2026 13:33:40 +0000 Subject: [PATCH] Remove proxied option and ITOPS comments --- src/config/records.ts | 29 +++++++++++++---------------- src/dns.ts | 3 +-- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/src/config/records.ts b/src/config/records.ts index 7fd8f2c..551a081 100644 --- a/src/config/records.ts +++ b/src/config/records.ts @@ -3,29 +3,29 @@ import type { RecordType } from './utils'; export const DNS_RECORDS: Record = { 'modelcontextprotocol.io': [ // Root domain - { subdomain: '@', type: 'A', content: '76.76.21.21', proxied: false }, + { subdomain: '@', type: 'A', content: '76.76.21.21' }, // Spec subdomain - { subdomain: 'spec', type: 'A', content: '76.76.21.21', proxied: false }, + { subdomain: 'spec', type: 'A', content: '76.76.21.21' }, // Registry - { subdomain: 'registry', type: 'CNAME', content: 'prod.registry.modelcontextprotocol.io', proxied: false }, - { subdomain: 'prod.registry', type: 'A', content: '34.61.200.254', proxied: false }, - { subdomain: 'staging.registry', type: 'A', content: '35.222.36.75', proxied: false }, - { subdomain: 'grafana.prod.registry', type: 'A', content: '34.61.200.254', proxied: false }, - { subdomain: 'grafana.staging.registry', type: 'A', content: '35.222.36.75', proxied: false }, + { subdomain: 'registry', type: 'CNAME', content: 'prod.registry.modelcontextprotocol.io' }, + { subdomain: 'prod.registry', type: 'A', content: '34.61.200.254' }, + { subdomain: 'staging.registry', type: 'A', content: '35.222.36.75' }, + { subdomain: 'grafana.prod.registry', type: 'A', content: '34.61.200.254' }, + { subdomain: 'grafana.staging.registry', type: 'A', content: '35.222.36.75' }, // GitHub Pages sites - { subdomain: 'blog', type: 'CNAME', content: 'modelcontextprotocol.github.io', proxied: false }, - { subdomain: 'example-client', type: 'CNAME', content: 'modelcontextprotocol.github.io', proxied: false }, - { subdomain: 'static', type: 'CNAME', content: 'modelcontextprotocol.github.io', proxied: false }, + { subdomain: 'blog', type: 'CNAME', content: 'modelcontextprotocol.github.io' }, + { subdomain: 'example-client', type: 'CNAME', content: 'modelcontextprotocol.github.io' }, + { subdomain: 'static', type: 'CNAME', content: 'modelcontextprotocol.github.io' }, // Other subdomains - { subdomain: 'example-server', type: 'CNAME', content: 'ghs.googlehosted.com', proxied: true }, - { subdomain: 'meet', type: 'CNAME', content: 'mcp.meetable.org', proxied: false }, + { subdomain: 'example-server', type: 'CNAME', content: 'ghs.googlehosted.com' }, + { subdomain: 'meet', type: 'CNAME', content: 'mcp.meetable.org' }, // MX record for Google Workspace - { subdomain: '@', type: 'MX', content: 'smtp.google.com', priority: 1, comment: 'ITOPS-9980' }, + { subdomain: '@', type: 'MX', content: 'smtp.google.com', priority: 1 }, // SPF record { subdomain: '@', type: 'TXT', content: 'v=spf1 include:_spf.google.com ~all' }, @@ -36,7 +36,6 @@ export const DNS_RECORDS: Record = { type: 'TXT', content: 'v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtwBNpASgdq3T9tXSFRh3tu9s6bLVBeGtug5Tv5f5D9K2G8n3Ov7KgR8IEyIgWaVuFf+z82NUBtXlDfKRxRu6s9ND+SqPkgVey2IVx4VuHHUJMAC1f4Wst7ZAUmyeo9lf6PpPb7xzr4nSVbN9jbIFDAajsCe+M9TYdkIU9PXdraYpIVc6b+vE7EaiaCdXNWHzIVjo4wFBz4UsNKG1UsO53GZNyXfnxFFPQppaNYEXOfblYtxgW4BhKpBQhT9fC07EKyoUApe2AC8rcX83HBOKKvISR6TbMruv5p82lz1veIcpixRkZfIFDlxMF66yzFs5qdfY8ztRHbri4kw4DVygmwIDAQAB', - comment: 'ITOPS-9980', }, // Google site verifications @@ -55,7 +54,5 @@ interface DnsRecordConfig { type: RecordType; content: string; ttl?: number; - proxied?: boolean; priority?: number; - comment?: string; } diff --git a/src/dns.ts b/src/dns.ts index 57fec66..78ca4b6 100644 --- a/src/dns.ts +++ b/src/dns.ts @@ -30,9 +30,8 @@ for (const [domain, records] of Object.entries(DNS_RECORDS)) { type: record.type, content: record.content, ttl: record.ttl ?? 1, - proxied: record.proxied ?? false, + proxied: false, priority: record.priority, - comment: record.comment, }); } }