## nfdhcpd sample configuration file ## General options [general] pidfile = /var/run/nfdhcpd/nfdhcpd.pid datapath = /var/lib/nfdhcpd # Where the client configuration will be read from logdir = /var/log/nfdhcpd # Where to write our logs user = nobody # An unprivileged user to run as ## DHCP options [dhcp] enable_dhcp = yes lease_lifetime = 604800 # 1 week lease_renewal = 3600 # 1 hour server_ip = 192.0.2.1 dhcp_queue = 42 # NFQUEUE number to listen on for DHCP requests # IPv4 nameservers to include in DHCP responses nameservers = 192.0.2.2, 192.0.2.3 # Optional domain to serve with the replies domain = example.com ## IPv6-related functionality [ipv6] enable_ipv6 = yes ra_period = 300 # seconds rs_queue = 43 # NFQUEUE number to listen on for router solicitations ns_queue = 44 # NFQUEUE number to listen on for neighbor solicitations dhcp_queue = 45 # NFQUEUE number to listen on for neighbor solicitations # IPv6 nameservers to send using the ICMPv6 RA RDNSS option (RFC 5006) # since it is not supported by several OS we serve them to DHCPv6 replies nameservers = 2001:db8:100::1, 2001:db8:200::2 # Optional list of search domains to serve with DHCPv6 replies domains = example.com, synnefo.live