summaryrefslogtreecommitdiffstats
path: root/perl-install/drakcluster/server_conf.pm
diff options
context:
space:
mode:
authorErwan Velu <erwan@mandriva.org>2003-07-11 14:44:28 +0000
committerErwan Velu <erwan@mandriva.org>2003-07-11 14:44:28 +0000
commit03e23867142a28610e6cbbd3493eb96f1d5307c0 (patch)
tree57af890f164cdffc97c9c784518601cefef41a28 /perl-install/drakcluster/server_conf.pm
parente4cfbcd8f89cb586e2cf19d327b93c84db876cdd (diff)
downloaddrakx-backup-do-not-use-03e23867142a28610e6cbbd3493eb96f1d5307c0.tar
drakx-backup-do-not-use-03e23867142a28610e6cbbd3493eb96f1d5307c0.tar.gz
drakx-backup-do-not-use-03e23867142a28610e6cbbd3493eb96f1d5307c0.tar.bz2
drakx-backup-do-not-use-03e23867142a28610e6cbbd3493eb96f1d5307c0.tar.xz
drakx-backup-do-not-use-03e23867142a28610e6cbbd3493eb96f1d5307c0.zip
Updating for dns
Diffstat (limited to 'perl-install/drakcluster/server_conf.pm')
-rw-r--r--perl-install/drakcluster/server_conf.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/drakcluster/server_conf.pm b/perl-install/drakcluster/server_conf.pm
index c0c3b559b..23fe16741 100644
--- a/perl-install/drakcluster/server_conf.pm
+++ b/perl-install/drakcluster/server_conf.pm
@@ -45,11 +45,11 @@ sub fields {
[ DOMAINNAME => N("Administration node domain name"), check => sub { check_default(@_, $default_conf->{DOMAINNAME}, $current_conf->{DOMAINNAME}) } ],
[ NISDOMAINNAME => N("NIS domain name"), check => \&check_non_empty ],
[ DOMAINCOMP => N("Computing domain name"), check => \&check_non_empty ],
- [ IPOFFORWARDER => 'IP address of your external DNS', check => sub { $_[0] && check_ip(@_) } ],
+ [ IPOFFORWARDER => 'IP address of your external DNS', check => sub { $_[0] && check_ip(@_) || check_default(@_, $default_conf->{IPOFFORWARDER} } ],
[ DNSKEY => 'DNS server dnskey', check => \&check_non_empty ],
[ ADDSEARCH => 'ADDSEARCH ' . N("Domain name of your external network") ],
[ USERADMIN => 'PBS administrator user name', check => \&check_non_empty ],
- [ ORIGIN => 'ORIGIN ' . N("Domain that locally posted mails appears to come from"), check => \&check_non_empty ],
+ [ ORIGIN => 'ORIGIN ' . N("Domain that locally posted mails appears to come from") ],
);
if (@$network_interfaces <= 2) {