initial commit of file from CVS for e-smith-tinydns on Wed 12 Jul 09:11:00 BST 2023

This commit is contained in:
Brian Read
2023-07-12 09:11:00 +01:00
parent 4d5bb6a2a3
commit 1cdaede0de
36 changed files with 1599 additions and 2 deletions

View File

@@ -0,0 +1 @@
53

View File

@@ -0,0 +1 @@
localhost

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
service

View File

@@ -0,0 +1,11 @@
{
# $tinydns{ListenIP} must not be set in serveronly mode
my $tinydns = $DB->get('tinydns');
return unless $tinydns;
my $mode = $DB->get_value('SystemMode');
return unless $mode;
if ($mode eq 'serveronly')
{
$tinydns->delete_prop("ListenIP");
}
}