Jacques,
I've tracked down the problem with the forwarders keyword (1.13r8).
linuxconf didn't put the forwarders-option inside the options-area when
writing /etc/named.conf. That's why it stopped working after the first
run.
Attached is a patch for this problem.
Additionally, compilation of 1.13r8 is not possible on RedHat 5.2 because
of a little problem in rules.mak, Line 95 :
- -Xlinker -Bstatic -lgd -Xlinker -Bdynamic
+ -lgd -Xlinker -Bstatic -Xlinker -Bdynamic
ligbd is not found if the option is located behind the -X and -B option.
Regards,
Michael
--
Michael Eyrich, PRZ, TU-Berlin, Germany
[EMAIL PROTECTED]
*** linuxconf-1.13r8/modules/dnsconf/dns.cc~ Sun Nov 29 23:42:20 1998
--- linuxconf-1.13r8/modules/dnsconf/dns.cc Tue Dec 8 20:30:20 1998
***************
*** 492,506 ****
fprintf (fout,"\t%s no;\n",K_RECURSION);
}
- fputs ("};\n",fout);
if (nbforward > 0){
! fprintf (fout,"%s{\n",K_FORWARDERS);
for (int f=0; f<MAX_FORWARDERS; f++){
const char *s = forwarders[f].get();
! if (s[0] != '\0') fprintf (fout,"\t%s;\n",s);
}
! fputs ("};\n",fout);
}
for (int i=0; i<cachefiles.getnb(); i++){
CACHEFILE *c = cachefiles.getitem(i);
fprintf (fout,"%s \"%s\" {\n",K_ZONE,c->domain.get());
--- 492,506 ----
fprintf (fout,"\t%s no;\n",K_RECURSION);
}
if (nbforward > 0){
! fprintf (fout,"\t%s{\n",K_FORWARDERS);
for (int f=0; f<MAX_FORWARDERS; f++){
const char *s = forwarders[f].get();
! if (s[0] != '\0') fprintf
(fout,"\t\t%s;\n",s);
}
! fputs ("\t};\n",fout);
}
+ fputs ("};\n",fout);
for (int i=0; i<cachefiles.getnb(); i++){
CACHEFILE *c = cachefiles.getitem(i);
fprintf (fout,"%s \"%s\" {\n",K_ZONE,c->domain.get());