From 530c9cbd46e6050d420a17896ae0a4a801508271 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 12 Jun 2023 23:41:25 +1000 Subject: [PATCH] Added DNS to setup configuration and about page --- app/Console/Commands/ServerStart.php | 2 +- resources/views/about.blade.php | 1 + resources/views/setup.blade.php | 26 +++++++++++++++++++++----- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/app/Console/Commands/ServerStart.php b/app/Console/Commands/ServerStart.php index ed92c22..b9763c6 100644 --- a/app/Console/Commands/ServerStart.php +++ b/app/Console/Commands/ServerStart.php @@ -57,7 +57,7 @@ class ServerStart extends Command 'class'=>new EMSI($o), ]); - //if ($o->optionGet(Setup::O_DNS)) + if ($o->optionGet(Setup::O_DNS)) $start->put('dns',[ 'address'=>Setup::DNS_BIND, 'port'=>Setup::DNS_PORT, diff --git a/resources/views/about.blade.php b/resources/views/about.blade.php index 57fbaaf..497f18e 100644 --- a/resources/views/about.blade.php +++ b/resources/views/about.blade.php @@ -54,6 +54,7 @@ If you have more than 1 BBS, then the Clearing Houz can receive all your mail fr
  • Self service FTN Network Applications being implemented
  • Dynamic mail bundling for upstream and downstream nodes (no more "inbounds" and "outbounds")
  • Automatic delisting of idle nodes
  • +
  • DNS server, to enable resolving of registered nodes using domain dns names pN.fN.nN.zN.domain.ftn, or pN.fN.nN.zN.[domain dns zone]
  • Other things

    diff --git a/resources/views/setup.blade.php b/resources/views/setup.blade.php index 7e332e4..54bbcbd 100644 --- a/resources/views/setup.blade.php +++ b/resources/views/setup.blade.php @@ -160,12 +160,28 @@ use App\Models\Setup;
    -

    EMSI Settings

    -

    EMSI has been configured to listen on {{ Setup::EMSI_BIND }}:{{ Setup::EMSI_PORT }}

    +
    +
    +

    EMSI Settings

    +

    EMSI has been configured to listen on {{ Setup::EMSI_BIND }}:{{ Setup::EMSI_PORT }}

    -
    - optionGet(Setup::O_EMSI))) checked @endif> - +
    + optionGet(Setup::O_EMSI))) checked @endif> + +
    +
    +
    + +
    +
    +

    DNS Settings

    +

    DNS has been configured to listen on {{ Setup::DNS_BIND }}:{{ Setup::DNS_PORT }}

    + +
    + optionGet(Setup::O_DNS))) checked @endif> + +
    +