##----------------------------------------------------------------------------- ## dns_dhcp.txt - fli4l configuration parameters __FLI4LVER__ ## ## You can edit/change this file with any text editor. ## ## P L E A S E R E A D T H E D O C U M E N T A T I O N , ## S E E R E A D M E . T X T ## ## B I T T E U N B E D I N G T D I E D O K U M E N T A T I O N ## L E S E N , S I E H E R E A D M E . T X T ## ## Creation: 2007-01-01 lanspezi ## Last Update: $Id$ ## ## Copyright (c) 2001-2008 - Frank Meyer, fli4l-Team - team@fli4l.de ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ##----------------------------------------------------------------------------- #------------------------------------------------------------------------------ # HOSTS #------------------------------------------------------------------------------ # # Do not add an entry about the router! It's added automatically. # If you need an alias please add HOSTNAME_ALIAS_N in the base.txt # HOSTS_N='0' # number of hosts in your domain # 1st host: HOST_1_NAME='client1' # name #HOST_1_DOMAIN='foo.lan' # different domain (optional) # as declared in DOMAIN_NAME (base.txt) HOST_1_IP4='192.168.6.10' # IP-Adress (ipv4) #HOST_1_IP6='::ffff:192.168.6.10' # IP-Adress (ipv6) / optional HOST_1_ALIAS_N='0' # number of optional alias names HOST_1_ALIAS_1='mail.lan.fli4l' # 1st optional alias name HOST_1_ALIAS_2='printserver.lan.fli4l' # 2nd optional alias name #HOST_1_DHCPTYP='hostname' # set static dhcp-lease via [hostname] # or [mac] #HOST_1_MAC='de:ad:be:ef:08:15' # MAC-Adress - needed for static DHCP #HOST_1_PXE_FILENAME='/tftp/pxelinux' # Filename of PXE Netboot-Image #HOST_1_PXE_SERVERNAME='sr.lan.fli4l' # Name of Netboot-Server #HOST_1_PXE_SERVERIP='192.168.6.2' # IP-Adress of Netboot-Server #HOST_1_PXE_OPTIONS='' # Option for PXE-Boot # 2nd host: HOST_2_NAME='client2' # name HOST_2_IP4='192.168.6.11' # IP-Adress (ipv4) #HOST_2_MAC='de:ad:be:ef:08:15' # 3rd host: HOST_3_NAME='client3' # name HOST_3_IP4='192.168.6.12' # IP-Adress (ipv4) #HOST_3_MAC='de:ad:be:ef:08:15' # 4th host: HOST_4_NAME='client4' # name HOST_4_IP4='192.168.6.13' # IP-Adress (ipv4) #HOST_4_MAC='de:ad:be:ef:08:15' # HOST entries (Extra-Host with full FQDN): # ----------------------------------------- HOSTS_EXTRA_N='0' # number of extra hosts HOST_EXTRA_1_NAME='host.foo.bar' # name HOST_EXTRA_1_IP4='10.0.0.1' # IP-Adress (ipv4) HOST_EXTRA_1_IP6='::ffff:10.0.0.1' # IP-Adress (ipv6) / optional #------------------------------------------------------------------------------ # DNS configuration: #------------------------------------------------------------------------------ OPT_DNS='no' # start dns server: yes or no DNS_LISTENIP_N='0' # if 0 then listen on all interfaces DNS_LISTENIP_1='IP_NET_1_IPADDR' # first IP to listen on DNS_VERBOSE='no' # log queries into syslog DNS_MX_SERVER='' # fqdn of the mx for your DOMAIN DNS_FORBIDDEN_N='0' # number of forbidden domains DNS_FORBIDDEN_1='foo.bar' # 1st forbidden domain DNS_FORBIDDEN_2='bar.foo' # 2nd forbidden domain DNS_REDIRECT_N='0' # number of redirected domains DNS_REDIRECT_1='foo.bar.foo' # 1st redirected domain DNS_REDIRECT_1_IP='192.168.6.100' # IP of redirected domain DNS_BOGUS_PRIV='yes' # fake reverse lookups for RFC1918 # private address ranges DNS_FILTERWIN2K='yes' # filters useless windows-originated DNS # requests and blocks all SRV requests # disabled if you use SIP telephony behind Fli4l #DNS_SUPPORT_IPV6='no' # enable/disable IPV6-support # Special DNS configuration #-------------------------- # delegation of DNS-Request for Domains or/and reverse network lookup DNS_SPECIAL_N='0' # number of delegations DNS_SPECIAL_1_DNSIP='192.168.1.12' # IP-Adresse of DNS-Server DNS_SPECIAL_1_DOMAIN='firma.de' # Domain to delegate #DNS_SPECIAL_1_NETWORK='192.168.1.0/24' # Network(s) to delegate DNS_SPECIAL_2_DNSIP='192.168.1.12' # IP-Adresse of DNS-Server DNS_SPECIAL_2_DOMAIN='lan.firma.de' # Domain to delegate DNS_SPECIAL_3_DNSIP='192.168.3.12' # IP-Adresse of DNS-Server DNS_SPECIAL_3_NETWORK='192.168.3.0/24 192.168.4.0/24' # domains which are allowed to return private ip addresses from upstream # DNS Servers DNS_REBINDOK_N='0' # Number of Domains DNS_REBINDOK_1_DOMAIN='rfc-ignorant.org' #------------------------------------------------------------------------------ # DHCP-Server configuration: #------------------------------------------------------------------------------ OPT_DHCP='no' # activate DHCP server: yes or no DHCP_TYPE='dnsmasq' # use 'dnsmasq' or 'isc-dhcpd' DHCP_VERBOSE='no' # activate verbose dhcp-information DHCP_LS_TIME_DYN='3600' # default time for dynamic leases: 1 hour DHCP_MAX_LS_TIME_DYN='7200' # max time for dynamic leases: 2 hours DHCP_LS_TIME_FIX='86400' # default time for fix leases: 1 day DHCP_MAX_LS_TIME_FIX='604800' # max time for fix leases: 1 week DHCP_LEASES_DIR='/boot' # don't touch this until you # have read the manual! DHCP_WINSSERVER_1='' # IP of 1st external wins-server # (don't use if OPT_NMBD='yes'!) DHCP_WINSSERVER_2='' # IP of 2nd external wins-server # (don't use if OPT_NMBD='yes'!) # Parameters for local Networks # ----------------------------- DHCP_RANGE_N='1' # number of dhcp-ranges DHCP_RANGE_1_NET='IP_NET_1' # reference to Network defined in base.txt DHCP_RANGE_1_START='192.168.6.100' # start-IP DHCP_RANGE_1_END='192.168.6.150' # end-IP DHCP_RANGE_1_DNS_SERVER1='' # if empty the IP of the net-interface # from the router is used # if set to 'none' no # dns-server is transmitted DHCP_RANGE_1_DNS_SERVER2='' # second dns-server #DHCP_RANGE_1_DNS_DOMAIN='' # set a diffrent dns-domain for # the range (optional) DHCP_RANGE_1_NTP_SERVER='' # if empty and OPT_CHRONY='yes' # the IP of the net-interface from the # router is used; if set to 'none' no # ntp-server is transmitted DHCP_RANGE_1_GATEWAY='' # if empty the IP of net-interface # from the router ist used # if set to 'none' no # gateway is transmitted #DHCP_RANGE_1_OPTION_N='0' # number of extra dhcp-options (optional) # n extra option for dhcp - see manual of dnsmasq # http://thekelleys.org.uk/dnsmasq/docs/dnsmasq.conf.example #DHCP_RANGE_1_OPTION_1='encap:175, 190, user' # Parameters for extra Networks (via relay) # ----------------------------------------- DHCP_EXTRA_RANGE_N='0' # number of extra ranges DHCP_EXTRA_RANGE_1_START='192.168.8.2' # start-IP of n'th extra range DHCP_EXTRA_RANGE_1_END='192.168.8.50' # end-IP of n'th extra range DHCP_EXTRA_RANGE_1_NETMASK='255.255.255.0' # netmask for extra range DHCP_EXTRA_RANGE_1_DNS_SERVER='192.168.8.1' # DNS Server for extra range DHCP_EXTRA_RANGE_1_NTP_SERVER='' # NTP Server for extra range DHCP_EXTRA_RANGE_1_GATEWAY='192.168.8.1' # default gateway for # extra range DHCP_EXTRA_RANGE_1_DEVICE='eth0' # device used to reach extra network # Deny hosts from dhcp-Access # --------------------------- DHCP_DENY_MAC_N='0' # number of denied MAC addresses DHCP_DENY_MAC_1='00:01:02:03:04:05' # MAC address is denied from DHCP #------------------------------------------------------------------------------ # DHCPRELAY configuration: #------------------------------------------------------------------------------ OPT_DHCPRELAY='no' # install DHCPRELAY: yes or no DHCPRELAY_SERVER='192.168.6.1' # which is the actual dhcp server? DHCPRELAY_IF_N='0' # no. of listen - interfaces DHCPRELAY_IF_1='eth1' # first listen interface #------------------------------------------------------------------------------ # TFTP Server configuration: #------------------------------------------------------------------------------ OPT_TFTP='no' # activate tftp-server: yes or no TFTP_PATH='/data/tftp' # basedir of tftp-server