# Configuration file for dnsmasq. # # Format is one option per line, legal options are the same # as the long options legal on the command line. See # "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details. # Configuration file for dnsmasq. # # Format is one option per line, legal options are the same # as the long options legal on the command line. See # "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details. # If you want dnsmasq to listen for DHCP and DNS requests only on # specified interfaces (and the loopback) give the name of the # interface (eg eth0) here. # Repeat the line for more than one interface. # interface=ienx9cebe834212c except-interface=lo #bind-dynamic bind-interfaces ######### dns ######## # Never forward plain names (without a dot or domain part) domain-needed # Never forward addresses in the non-routed address spaces bogus-priv # dont read resolv.conf use the defined servers instead no-resolv server=8.8.8.8 server=8.8.4.4 # increase dns cache form 512 to 4096 cache-size=4096 # Add domains which you want to force to an IP address here. address=/ife.aero/192.168.0.2 address=/.ife.aero/192.168.0.2 address=/pxcom.aero/192.168.0.2 address=/.pxcom.aero/192.168.0.2 address=/google.com/192.168.0.2 address=/.google.com/192.168.0.2 address=/gstatic.com/192.168.0.2 address=/.gstatic.com/192.168.0.2 address=/apple.com/192.168.0.2 address=/.apple.com/192.168.0.2 address=/eca.aero/192.168.0.2 address=/.eca.aero/192.168.0.2 address=/#/192.168.0.2 ######### dhcp ########## # Add local-only domains here, queries in these domains are answered # from /etc/hosts or DHCP only local=/aero/ # Set this (and domain: see below) if you want to have a domain # automatically added to simple names in a hosts-file. #expand-hosts # adds my localdomain to each dhcp host domain=eca.aero # my private dhcp range + subnetmask + 14d lease time dhcp-range=192.168.0.10,192.168.0.200,255.255.255.0,14d dhcp-option-force=160,"http://portal.eca.aero" # set route to my local network router #dhcp-option=option:router,192.168.178.1 #windows 7 float fix #http://brielle.sosdg.org/archives/522-Windows-7-flooding-DHCP-server-with-DHCPINFORM-messages.html dhcp-option=252,"\n" ###### logging ############ # own logfile log-facility=/var/log/dnsmasq.log log-async # log dhcp infos log-dhcp # debugging dns log-queries