• exec/load/dns.js

    From Deuc@VERT to Git commit to main/sbbs/master on Saturday, April 03, 2021 00:33:11
    https://gitlab.synchro.net/main/sbbs/-/commit/6ff18ca2d027bd12d4a640e6
    Modified Files:
    exec/load/dns.js
    Log Message:
    Add untested parsers for interesting record types

    SRV, NAPTR, and URI

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, April 03, 2021 00:34:04
    https://gitlab.synchro.net/main/sbbs/-/commit/22b8c2ab06532e3efff8ad99
    Modified Files:
    exec/load/dns.js
    Log Message:
    At least test that it compiles.

    Sheesh.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, April 03, 2021 21:44:30
    https://gitlab.synchro.net/main/sbbs/-/commit/48a21fc6b04d0121d4936c0f
    Modified Files:
    exec/load/dns.js
    Log Message:
    Add DNS_blocking sub-class for non-event driven lookups

    The DNS_blocking class supports the same API as the DNS class, but
    does not use events, so any method will complete before returning.
    As such, the callback argument is optional.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, April 04, 2021 13:58:33
    https://gitlab.synchro.net/main/sbbs/-/commit/73f3c98add2c71c12ed4280b
    Modified Files:
    exec/load/dns.js
    Log Message:
    Use a single class, and pass in a synchronous flag.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Sunday, April 04, 2021 18:16:15
    https://gitlab.synchro.net/main/sbbs/-/commit/be1ad28063cddbbaf0ab51dd
    Modified Files:
    exec/load/dns.js
    Log Message:
    Change default failures to 3 and timeout to 5sec

    Also, check that the opcode and response flag are correct when
    parsing responses.

    When handling a resolve call, ensure no errors occured.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, April 05, 2021 17:11:05
    https://gitlab.synchro.net/main/sbbs/-/commit/d52a4c5c51ac4e5178933cd6
    Modified Files:
    exec/load/dns.js
    Log Message:
    Use this, not ctx in handlers.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, April 05, 2021 17:29:48
    https://gitlab.synchro.net/main/sbbs/-/commit/8e3a8aa74b820ad45305bae0
    Modified Files:
    exec/load/dns.js
    Log Message:
    Only the async query needs the timeout now, so move it back in.

    Also, have handle_response() return errors.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Monday, April 05, 2021 19:21:38
    https://gitlab.synchro.net/main/sbbs/-/commit/6021475e628e55c94d255bd4
    Modified Files:
    exec/load/dns.js
    Log Message:
    Fixes for async lookups

    - Add a unique number to event names for each request
    Prevents responses from being acepted by multiple queries
    - Don't set Socket.dnsObject for synchronous lookups
    - OPcode of 2 is used for status replies (ie: NXDOMAIN)
    - Be more careful construct result array in request()

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Thursday, April 29, 2021 07:02:53
    https://gitlab.synchro.net/main/sbbs/-/commit/f9da3080214a01b898c81659
    Modified Files:
    exec/load/dns.js
    Log Message:
    Fix DNS response flag parsing.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuc@VERT to Git commit to main/sbbs/master on Saturday, June 05, 2021 18:33:45
    https://gitlab.synchro.net/main/sbbs/-/commit/d5881f9b91824d2e3435474c
    Modified Files:
    exec/load/dns.js
    Log Message:
    Fix parsing of the return code.

    This fixes an issue in TypeClass lookups (such as used by reverse())

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Tuesday, December 14, 2021 21:56:49
    https://gitlab.synchro.net/main/sbbs/-/commit/e543d8ad6ce2befb0982fefb
    Modified Files:
    exec/load/dns.js
    Log Message:
    Allow IPv{4,6} only queries while retaining backwards compatibility.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Sunday, January 02, 2022 16:37:37
    https://gitlab.synchro.net/main/sbbs/-/commit/797b95b7b0f3845d13e41a48
    Modified Files:
    exec/load/dns.js
    Log Message:
    Actually call back on a timeout

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net