if(l_initialized) { // only reload configuration file on second call
string configname=::arg()["config-dir"]+"/recursor.conf";
+ if(::arg()["config-name"]!="") {
+ configname=::arg()["config-dir"]+"/recursor-"+::arg()["config-name"]+".conf";
+ }
cleanSlashes(configname);
if(!::arg().preParseFile(configname.c_str(), "allow-from-file"))
}
string configname=::arg()["config-dir"]+"/recursor.conf";
+ if(::arg()["config-name"]!="") {
+ configname=::arg()["config-dir"]+"/recursor-"+::arg()["config-name"]+".conf";
+ }
cleanSlashes(configname);
if(!::arg().preParseFile(configname.c_str(), "forward-zones"))