65f7e65c03
Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file. Dnsmasq supports static and dynamic DHCP leases and BOOTP for network booting of diskless machines. From Jonathan Weiss <jw@innerewut.de>
13 lines
442 B
Plaintext
13 lines
442 B
Plaintext
$OpenBSD: patch-src_config_h,v 1.1.1.1 2005/05/23 18:46:58 alek Exp $
|
|
--- src/config.h.orig Thu Mar 31 17:08:43 2005
|
|
+++ src/config.h Sun May 22 11:05:28 2005
|
|
@@ -40,7 +40,7 @@
|
|
#if defined(__FreeBSD__)
|
|
# define CONFFILE "/usr/local/etc/dnsmasq.conf"
|
|
#else
|
|
-# define CONFFILE "/etc/dnsmasq.conf"
|
|
+# define CONFFILE "!!SYSCONFDIR!!/dnsmasq.conf"
|
|
#endif
|
|
#define DEFLEASE 3600 /* default lease time, 1 hour */
|
|
#define CHUSER "nobody"
|