# Configuration file for dnsmasq. # "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details. # ----------- Xen MUST do actions------------------------ # In each VM # file:/etc/sysconfig/network/dhcp param:DHCLIENT_UDP_CHECKSUM=no # file:/etc/sysconfig/network/config param:FORCE_PERSISTENT_NAMES=no # In Dom0 # file:/etc/ethers VmMacAddr => VmHostName # file:/etc/hosts VmIpAddr => VmHostName # ------------------------------------------------------- # Never forward names without a dot or domain part (never user .local or client will request mdns) domain=xen.fridu expand-hosts bogus-priv # filter useless windows-originated DNS requests filterwin2k # force dnsmask to get its upstream servers not from /etc/resolv.conf #resolv-file= # My /etc/resolv.conf never change, no need to check update no-poll # If you want dnsmasq to change uid and gid to something other # user= # group= # Force binding on a given interface (repeat line if needed) except-interface=eth0 # interface= soft binding support dynamic interface # bind-interfaces= hard only for static interfaces # interface=xen-br0 # Where to find DNS info #no-hosts do not read /etc/hosts #addn-hosts=/etc/other-hosts-lists # Dns Range and static DNS dhcp-range=10.10.1.100,10.10.1.150,255.255.255.0,12h dhcp-range=10.10.2.100,10.10.2.150,255.255.255.0,12h dhcp-range=10.10.3.100,10.10.3.150,255.255.255.0,12h read-ethers # Force dnsmasq to read /etc/ethers # Override the default route supplied by dnsmasq, which assumes the # router(opt-3) and ntp(opt-42) is the same machine as the one running dnsmasq. dhcp-option=3,0.0.0.0 dhcp-option=42,0.0.0.0 # For debugging purposes, log /var/log/messages #log-queries # Include a another lot of configuration options. #conf-file=/etc/dnsmasq.more.conf #conf-dir=/etc/dnsmasq.d