Allow specification of DNS vhost and server in ircd.conf.
[ircu2.10.12-pk.git] / ircd / s_conf.c
index f4dde532464f939c5010f81f9855cca6a6d39d7a..9b37dc2d7917c2ab39f012f9739f10196bfb050e 100644 (file)
@@ -826,6 +826,7 @@ int read_configuration_file(void)
 {
   conf_error = 0;
   feature_unmark(); /* unmark all features for resetting later */
+  clear_nameservers(); /* clear previous list of DNS servers */
   /* Now just open an fd. The buffering isn't really needed... */
   init_lexer();
   yyparse();