Skip to content

Commit

Permalink
fix: correct BINDSettings defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhendrickson13 committed Sep 24, 2024
1 parent 32f7530 commit 3bb9e02
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class BINDSettings extends Model {
help_text: 'The IP version to use for the BIND service. Leave empty to use both IPv4 and IPv6.',
);
$this->listenon = new InterfaceField(
default: 'All',
default: ['All'],
allow_localhost_interface: true,
allow_custom: ['All'],
many: true,
Expand Down Expand Up @@ -92,7 +92,7 @@ class BINDSettings extends Model {
help_text: 'The minimum severity of events to log.',
);
$this->log_options = new StringField(
default: 'default',
default: ['default'],
choices: [
'default',
'general',
Expand Down Expand Up @@ -154,11 +154,11 @@ class BINDSettings extends Model {
help_text: 'Enable DNSSEC validation when BIND is acting as a recursive resolver.',
);
$this->listenport = new PortField(
default: 53,
default: '53',
help_text: 'The TCP and UDP port to listen on for DNS requests.',
);
$this->controlport = new PortField(
default: 953,
default: '953',
help_text: 'The TCP port to listen on for control requests (localhost only).',
);
$this->bind_custom_options = new Base64Field(
Expand Down

0 comments on commit 3bb9e02

Please sign in to comment.