Overview
Comment: | Initial work on sending a query |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
baf27b579c8966f28bca64f61689693b |
User & Date: | js on 2021-03-04 01:03:18 |
Other Links: | manifest | tags |
Context
2021-03-04
| ||
02:09 | Some cleanups check-in: c210ddc089 user: js tags: trunk | |
01:03 | Initial work on sending a query check-in: baf27b579c user: js tags: trunk | |
2021-03-03
| ||
23:39 | Add the various resource records check-in: e473ea9c63 user: js tags: trunk | |
Changes
Modified src/asyncdns.cr from [af9da1ad85] to [6cde53a6be].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 | + | require "./query" require "./resolver" # AsyncDNS is an asynchronous DNS resolver. # It is a port of ObjFW's <https://objfw.nil.im> OFDNSResolver & friends. module AsyncDNS VERSION = "0.1.0" end |
Modified src/query.cr from [ca3771abae] to [f77640a093].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 | - + - - + | require "./dns_class" require "./rr_type" module AsyncDNS class Query |
Modified src/resolver.cr from [e7d4d87a8a] to [e08367333f].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | require "./rr" require "./settings" require "./response" module AsyncDNS class Resolver getter :settings |
Added src/response.cr version [96a20ec37e].
Modified src/settings.cr from [24fadd9f43] to [a3be16cbc5].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - - + + + + - + + | module AsyncDNS class Settings @local_domain : String? |
︙ |
Modified tests/example.cr from [b547c51298] to [ea161df6fd].
1 2 | 1 2 3 4 5 6 7 8 9 10 | + + + - + - + - - | require "../src/asyncdns" AsyncDNS::RR::A.new("crystal-lang.org", Socket::IPAddress.new("127.0.0.1", 0), 1234) |