Added DNS to setup configuration and about page

This commit is contained in:
Deon George 2023-06-12 23:41:25 +10:00
parent ccf01a1b23
commit 530c9cbd46
3 changed files with 23 additions and 6 deletions

View File

@ -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,

View File

@ -54,6 +54,7 @@ If you have more than 1 BBS, then the Clearing Houz can receive all your mail fr
<li>Self service FTN Network Applications <sup>being implemented</sup></li>
<li>Dynamic mail bundling for upstream and downstream nodes (no more "inbounds" and "outbounds")</li>
<li>Automatic delisting of idle nodes</li>
<li>DNS server, to enable resolving of registered nodes using domain dns names <strong class="highlight">p<em>N</em>.f<em>N</em>.n<em>N</em>.z<em>N</em>.<em>domain</em>.ftn</strong>, or <strong class="highlight">p<em>N</em>.f<em>N</em>.n<em>N</em>.z<em>N</em>.<em>[domain dns zone]</em></strong></li>
</ul>
<h4>Other things</h4>

View File

@ -160,6 +160,8 @@ use App\Models\Setup;
<!-- EMSI Settings -->
<div class="col-6">
<div class="row">
<div class="col-12">
<h3>EMSI Settings</h3>
<p>EMSI has been configured to listen on <strong>{{ Setup::EMSI_BIND }}</strong>:<strong>{{ Setup::EMSI_PORT }}</strong></p>
@ -169,6 +171,20 @@ use App\Models\Setup;
</div>
</div>
</div>
<div class="row pt-5">
<div class="col-12">
<h3>DNS Settings</h3>
<p>DNS has been configured to listen on <strong>{{ Setup::DNS_BIND }}</strong>:<strong>{{ Setup::DNS_PORT }}</strong></p>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="startdns" name="options[dns]" value="{{ Setup::O_DNS }}" @if(old('options.dns',$o->optionGet(Setup::O_DNS))) checked @endif>
<label class="form-check-label" for="startdns">Listen for DNS connections</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">