Closed jhujasonw closed 2 years ago
https://gist.github.com/robinsmidsrod/2234639 - useful information and scripts for iPXE https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html - manpage of dnsmasq https://forum.ipxe.org/showthread.php?tid=6077 - information on how to chainload iPXE
dnsmasq options of interest: -h, --no-hosts Don't read the hostnames in /etc/hosts.
-H, --addn-hosts=
--hostsdir=
-i, --interface=
--local-service Accept DNS queries only from hosts whose address is on a local subnet, ie a subnet for which an interface exists on the server. This option only has effect if there are no --interface, --except-interface, --listen-address or --auth-server options. It is intended to be set as a default on installation, to allow unconfigured installations to be useful but also safe from being used for DNS amplification attacks.
-D, --domain-needed Tells dnsmasq to never forward A or AAAA queries for plain names, without dots or domain parts, to upstream nameservers. If the name is not known from /etc/hosts or DHCP then a "not found" answer is returned.
--host-record=
--auth-zone=
-F, --dhcp-range (see man page)
-G, --dhcp-host=[
--dhcp-hostsfile=
-s, --domain=
--enable-tftp[=
A module to generate dnsmasq config for all the dns, dhcp, and pxe related things. This jobmodule should be able to consume all the dns/dhcp/pxe related jobs and regenerate/modify the configuration accordingly. If this can be done, it obsoletes #5 , #6 and #14