mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Update to change path to resolv.conf and define RESOLV_CONF
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ntpaths.h,v 1.12 2001/08/09 02:55:41 mayer Exp $ */
|
||||
/* $Id: ntpaths.h,v 1.13 2001/09/01 05:22:04 mayer Exp $ */
|
||||
|
||||
/*
|
||||
* Windows-specific path definitions
|
||||
@@ -49,6 +49,8 @@ enum NtPaths {
|
||||
#define NAMED_CONFFILE isc_ntpaths_get(NAMED_CONF_PATH)
|
||||
#define RNDC_CONFFILE isc_ntpaths_get(RNDC_CONF_PATH)
|
||||
#define RNDC_KEYFILE isc_ntpaths_get(RNDC_KEY_PATH)
|
||||
#define RESOLV_CONF isc_ntpaths_get(RESOLV_CONF_PATH)
|
||||
|
||||
|
||||
/*
|
||||
* Information about where the files are on disk
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ntpaths.c,v 1.7 2001/08/30 04:28:24 mayer Exp $ */
|
||||
/* $Id: ntpaths.c,v 1.8 2001/09/01 05:22:03 mayer Exp $ */
|
||||
|
||||
/*
|
||||
* This module fetches the required path information that is specific
|
||||
@@ -79,8 +79,8 @@ isc_ntpaths_init() {
|
||||
strcpy(lwresd_confFile, namedBase);
|
||||
strcat(lwresd_confFile, "\\etc\\lwresd.conf");
|
||||
|
||||
strcpy(lwresd_resolvconfFile, namedBase);
|
||||
strcat(lwresd_resolvconfFile, "\\etc\\resolv.conf");
|
||||
strcpy(lwresd_resolvconfFile, systemDir);
|
||||
strcat(lwresd_resolvconfFile, "\\Drivers\\etc\\resolv.conf");
|
||||
|
||||
strcpy(rndc_keyFile, namedBase);
|
||||
strcat(rndc_keyFile, "\\etc\\rndc.key");
|
||||
|
Reference in New Issue
Block a user