From 9c691f6c6c579a3fbb3bd5bbd74eb0e92ca0bd41 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Fri, 3 Apr 2026 16:51:18 -0500 Subject: DomainDig 1.3.0 - Add SOA, SRV, CAA, and DS DNS record lookups - Add DNSSEC status detection via RRSIG queries - Add configurable DNS-over-HTTPS resolver settings - Support Cloudflare, Google, Quad9, and custom HTTPS resolvers - Improve DoH compatibility with standards-based fallback handling - Keep DNS results UI compact with a single DNSSEC indicator --- DomainDig/Models.swift | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'DomainDig/Models.swift') diff --git a/DomainDig/Models.swift b/DomainDig/Models.swift index 88bcfa9..cfc60c4 100644 --- a/DomainDig/Models.swift +++ b/DomainDig/Models.swift @@ -9,6 +9,10 @@ enum DNSRecordType: String, CaseIterable, Codable { case NS case TXT case CNAME + case SOA + case SRV + case CAA + case DS var queryType: Int { switch self { @@ -18,6 +22,19 @@ enum DNSRecordType: String, CaseIterable, Codable { case .NS: return 2 case .TXT: return 16 case .CNAME: return 5 + case .SOA: return 6 + case .SRV: return 33 + case .CAA: return 257 + case .DS: return 43 + } + } + + var usesRawDataValue: Bool { + switch self { + case .TXT, .SOA, .DS: + return true + default: + return false } } } @@ -33,6 +50,7 @@ struct DNSSection: Identifiable, Codable { let recordType: DNSRecordType var records: [DNSRecord] var wildcardRecords: [DNSRecord] = [] + var dnssecSigned: Bool? var error: String? } -- cgit v1.2.3