summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns_wizard/Bind.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm
index 73593d29..e280a12e 100644
--- a/dns_wizard/Bind.pm
+++ b/dns_wizard/Bind.pm
@@ -41,7 +41,7 @@ my $HOSTNAME = $wiz->{net}->network_get("HOSTNAME");
my $interface = 'eth0';
my ($IPSERVER) = `/sbin/ip addr show dev $interface` =~ /^\s*inet\s+(\d+\.\d+\.\d+\.\d+)/m;
#my $DOMAINNAME = $wiz->{net}->network_get("DOMAINNAME");
-my $DOMAINNAME = chomp_(`domainname`);
+my $DOMAINNAME = chomp_(`dnsdomainname`);
my $WDIR = "/tmp/dnstest";
my $NAMED_DIR = "/var/named";
@@ -118,7 +118,6 @@ $o->{pages} = {
data => [
{ label => N("What do you want to do:"), val => \$o->{var}{wiz_level}, list => [ keys %level ], format => sub { $level{$_[0]} } },
],
-
next => 'ipforward',
},
addhost => {