Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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.
- # Listen on this specific port instead of the standard DNS port
- # (53). Setting this to zero completely disables DNS function,
- # leaving only DHCP and/or TFTP.
- port=0
- listen-address=192.168.1.2
- # On systems which support it, dnsmasq binds the wildcard address,
- # even when it is listening on only some interfaces. It then discards
- # requests that it shouldn't reply to. This has the advantage of
- # working even when interfaces come and go and change address. If you
- # want dnsmasq to really bind only the interfaces it is listening on,
- # uncomment this option. About the only time you may need this is when
- # running another nameserver on the same machine.
- bind-interfaces
- # Include another lot of configuration options.
- #conf-file=/etc/dnsmasq.more.conf
- conf-dir=/etc/dnsmasq.d
- # If you don't want dnsmasq to read /etc/hosts, uncomment the
- # following line.
- #no-hosts
- # or if you want it to read another file, as well as /etc/hosts, use
- # this.
- #addn-hosts=/etc/banner_add_hosts
- dhcp-hostsdir=/etc/dnsmasq.d/bifrost.dhcp-hosts.d
- # Set the domain for dnsmasq. this is optional, but if it is set, it
- # does the following things.
- # 1) Allows DHCP hosts to have fully qualified domain names, as long
- # as the domain part matches this setting.
- # 2) Sets the "domain" DHCP option thereby potentially setting the
- # domain of all systems configured by DHCP
- # 3) Provides the domain part for "expand-hosts"
- #domain=thekelleys.org.uk
- # Uncomment this to enable the integrated DHCP server, you need
- # to supply the range of addresses available for lease and optionally
- # a lease time. If you have more than one network, you will need to
- # repeat this for each network on which you want to supply DHCP
- # service.
- dhcp-range=192.168.3.1,192.168.3.254,255.255.0.0,12h
- # Override the default route supplied by dnsmasq, which assumes the
- # router is the same machine as the one running dnsmasq.
- dhcp-option=3,192.168.1.1
- dhcp-option=6,192.168.1.1,10.10.10.10,10.10.10.11
- dhcp-match=set:ipxe,175 # iPXE sends a 175 option.
- dhcp-match=set:efi,option:client-arch,7
- dhcp-match=set:efi,option:client-arch,9
- dhcp-match=set:efi,option:client-arch,11
- dhcp-optsdir=/etc/dnsmasq.d/bifrost.dhcp-opts.d
- enable-tftp
- tftp-root=/tftpboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement