Differences From Artifact [f6b9d1d659]:
- File utils/ofdns/OFDNS.m — part of check-in [7413a728a7] at 2024-04-03 02:16:03 on branch trunk — Change license to LGPLv3 only (user: js, size: 5923) [annotate] [blame] [check-ins using] [more...]
To Artifact [3f7ee0f68b]:
- File
utils/ofdns/OFDNS.m
— part of check-in
[474dc73a94]
at
2024-08-19 19:29:17
on branch trunk
— ofdns: Default to AAAA and A, not ALL
ALL gets rejected by more and more DNS servers. (user: js, size: 5990) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
51 52 53 54 55 56 57 | @"-c --class= " @" The DNS class to query (defaults to IN)\n " @"-h --help " @" Show this help\n " @"-s --server=" @" The server to query\n " @"-t --type= " | | | | | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | @"-c --class= " @" The DNS class to query (defaults to IN)\n " @"-h --help " @" Show this help\n " @"-s --server=" @" The server to query\n " @"-t --type= " @" The record type to query (defaults to AAAA and A,\n" @" can be repeated)\n " @" --tcp " @" Force using TCP for the query")]; } [OFApplication terminateWithStatus: status]; } @implementation OFDNS |
︙ | ︙ | |||
190 191 192 193 194 195 196 | resolver = [OFDNSResolver resolver]; resolver.configReloadInterval = 0; resolver.forcesTCP = forceTCP; DNSClass = (DNSClassString != nil ? OFDNSClassParseName(DNSClassString) : OFDNSClassIN); | | | > > | 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | resolver = [OFDNSResolver resolver]; resolver.configReloadInterval = 0; resolver.forcesTCP = forceTCP; DNSClass = (DNSClassString != nil ? OFDNSClassParseName(DNSClassString) : OFDNSClassIN); if (recordTypes.count == 0) { [recordTypes addObject: @"AAAA"]; [recordTypes addObject: @"A"]; } if (server != nil) resolver.nameServers = [OFArray arrayWithObject: server]; for (OFString *domainName in remainingArguments) { for (OFString *recordTypeString in recordTypes) { OFDNSRecordType recordType = |
︙ | ︙ |