mirror of
https://github.com/freedbygrace/DynamoDNS.git
synced 2026-08-12 11:16:52 +00:00
Enhance DNS record management by adding auto IP detection, notes field, and improved UI.
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/e33594f7-ad24-43f5-a4e1-0d9d2f261947.jpg
This commit is contained in:
@@ -60,6 +60,8 @@ export const dnsRecords = pgTable("dns_records", {
|
||||
ttl: integer("ttl").default(3600),
|
||||
proxied: boolean("proxied").default(false),
|
||||
isActive: boolean("is_active").default(true).notNull(),
|
||||
isAutoIP: boolean("is_auto_ip").default(false).notNull(),
|
||||
notes: text("notes"),
|
||||
lastUpdated: timestamp("last_updated"),
|
||||
createdAt: timestamp("created_at").defaultNow().notNull(),
|
||||
});
|
||||
@@ -117,6 +119,8 @@ export const insertDnsRecordSchema = createInsertSchema(dnsRecords).pick({
|
||||
ttl: true,
|
||||
proxied: true,
|
||||
isActive: true,
|
||||
isAutoIP: true,
|
||||
notes: true,
|
||||
});
|
||||
|
||||
export const insertProviderSchema = createInsertSchema(providers).pick({
|
||||
|
||||
Reference in New Issue
Block a user