• exec/load/dns.js

    From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Apr 29 07:02:53 2021
    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 Sat Jun 5 18:33:45 2021
    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 Tue Dec 14 21:56:49 2021
    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 Sun Jan 2 16:37:37 2022
    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
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Feb 25 15:01:54 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/2e9f58be866886dbe6d8ad10
    Modified Files:
    exec/load/dns.js
    Log Message:
    Throw a more helpful exception when no nameservers specified/available

    My /etc/resolv.conf was wiped by Network Manager (gee, thanks), so
    ircd.js was throwing the following unhelpful exceptions when starting
    up:
    Feb 25 13:47:51 git jsexec[19108]: !JavaScript : uncaught exception: Unable to create any sockets
    Feb 25 13:47:51 git jsexec[19108]: !JavaScript : uncaught exception: Unable to create any sockets

    First, instead of throwing a string, throw an Error object so we can
    actually know where the exception ocurred. Please, everyone, throw Errors
    not Strings.

    Second, throw a different more helpful exception if there are no nameservers specified in the DNS constructor or configured on the system.

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