Hello Bob,
Thursday, October 19, 2000, 9:09:35 PM, you wrote:
> I'm trying to figure out how I can pre-populate (default values) the
> nameserver 1 and 2 slots,
> fqdn1 and fqdn2 slots, with entries in the conf file. I can do it by
> directly modifying reg-system.cgi of course, but I'd rather do it from the
> conf file.
> Not holding my tongue right - I simply can't get it to work. Any pointers at
> this stage will be much appreciated.
You have to modify the scripts.
Open reg_system.cgi and find this area in the "sub build_nameservers"
section:
my $count = 1;
foreach $num (sort keys %fqdns) {
$nameservers{"fqdn$count"} = $fqdns{$num};
$count++;
}
Just below the above lines, add in these lines:
if (! $nameservers{fqdn1}) {
$nameservers{fqdn1} = "ns1.userfriendly.com";
$nameservers{fqdn2} = "ns2.userfriendly.com";
}
Of course, replace those nameservers with your own.
--
Best regards,
William mailto:[EMAIL PROTECTED]