File
Blob: src/node/internal/dns.d.ts
| 1 | // Copyright (c) 2026 Cloudflare, Inc. |
| 2 | // Licensed under the Apache 2.0 license found in the LICENSE file or at: |
| 3 | // https://opensource.org/licenses/Apache-2.0 |
| 4 | |
| 5 | export function parseCaaRecord(record: string): { |
| 6 | critical: number; |
| 7 | field: 'issue' | 'iodef' | 'issuewild'; |
| 8 | value: string; |
| 9 | }; |
| 10 | |
| 11 | export function parseNaptrRecord(record: string): { |
| 12 | flags: string; |
| 13 | service: string; |
| 14 | regexp: string; |
| 15 | replacement: string; |
| 16 | order: number; |
| 17 | preference: number; |
| 18 | }; |