Dnsmasq is a lightweight and highly configurable DNS , DHCP , and TFTP server designed to provide small names with domain names and related services. Can provide names for local machines that do not have global DNS records. The DHCP server is integrated with the DNS server and gives machines with an IP address a domain name that was previously configured in the configuration file. Supports binding IP addresses to a computer or automatic configuration of IP addresses from a given range and BOOTP for network boot of diskless machines.
| Dnsmasq | |
|---|---|
| Type of | DNS server |
| Written on | |
| operating system | |
| First edition | |
| Latest version | |
| License | and |
| Site | |
The developers are positioning the program for use in home networks using NAT , but Dnsmasq is also applicable in small networks of organizations.
Runs on Linux ( glibc or uClibc ), BSD, and Mac OS X.
Functions
Dnsmasq provides the following features:
- Simple configuration of DNS machines behind the firewall , regardless of the features and availability of the provider's DNS servers.
- Immediate transfer of information about site inaccessibility to customers if the external connection is interrupted.
- It can override other names for global IP addresses without having to fix the / etc / hosts file on each machine.
- The built-in DHCP server supports static and dynamic DHCP and multiple networks and IP ranges. It works through a BOOTP relay and supports DHCP options, including DNS lookup ( RFC 3397 ).
- Machines configured through DHCP receive the names included in the DNS service and the names can be mapped to the MAC address in the configuration file.
- Caches Internet addresses (AAA records and AAAA records) and PTR records, reducing the load on external servers and increasing performance (especially on modem connections).
- Users can configure dnsmasq to automatically receive external DNS addresses from a PPP or DHCP configuration. Automatically reloads this information if it changes. This tool helps the Linux distribution firewall automate DNS configuration.
- IPv6 support for transmitting and receiving DNS names. It can even act as a translator from IPv4 to IPv6 or vice versa for connecting a local area network to the Internet through NAT.
- Users can configure Dnsmasq to send requests for specific domains for processing to external servers.
- Supports MX records and can return MX records for any or all local machines.
- It supports NAPTR recording , which allows you to use regular expressions based on rewriting domain names, which can then be used as URIs, additional domain names for searching.
- Some providers rewrite NXDOMAIN responses (the domain does not exist) from DNS servers. This causes web browsers to search for pages in a domain that does not exist. Dnsmasq can filter out such entries.
Included in DD-WRT and OpenWRT operating systems embedded in routers
Notes
Links
- http://www.thekelleys.org.uk/dnsmasq/doc.html
- Dnsmasq page on Freecode
- http://packages.debian.org/dnsmasq (package page in debian)