Features
Dnsmasq provides the following features:
- Simple DNS configuration of machines behind the firewall, independent of the details of an ISP's DNS servers
- Clients which try to do DNS lookups while a modem-link to the Internet is down will time out immediately.
- Dnsmasq will serve names from the /etc/hosts file (or an alternate). The names of local machines provided in this way can all be addressed without having to maintain /etc/hosts on each machine.
- The integrated DHCP server supports static and dynamic DHCP leases and multiple networks and IP address ranges. It works across BOOTP relays and supports DHCP options including RFC 3397 DNS search lists.
- Machines configured via DHCP have their names automatically included in the DNS and the names can be specified by each machine or centrally by associating a name with a MAC address in the dnsmasq config file.
- Dnsmasq caches Internet addresses (A records and AAAA records) and address-to-name mappings (PTR records), reducing the load on upstream servers and improving performance (especially on modem connections).
- Users can configure dnsmasq to automatically pick up the addresses of its upstream nameservers from PPP or DHCP configuration. It will automatically reload this information if it changes. This facility helps maintainers of Linux firewall distributions to automate DNS configuration.
- On IPv6-enabled boxes, dnsmasq can both talk to upstream servers via IPv6 and offer DNS service via IPv6. On dual-stack (IPv4 and IPv6) boxes it talks both protocols and can even act as IPv6-to-IPv4 or IPv4-to-IPv6 forwarder.
- Users can configure dnsmasq to send queries for certain domains to upstream servers handling only those domains. This makes integration with private DNS systems easy.
- Dnsmasq supports MX records and can return MX records for any or all local machines.
- Dnsmasq also supports NAPTR records which allows the use of regular expression based rewriting of domain names which can then be used as URIs, further domain names to lookups, etc.
- Some Internet service-providers rewrite the NXDOMAIN (domain does not exist) responses from DNS servers. This forces web browsers to a search page whenever a user attempts to browse to a domain that does not exist. Dnsmasq can filter these "bogus nxdomain" records out, preventing this potentially unwanted behavior.
- Lua scripting
- DHCPv6 support.
- Very basic support for IPv6 router advertisements for DHCPv6 to work.
Read more about this topic: Dnsmasq
Famous quotes containing the word features:
“All visible objects, man, are but as pasteboard masks. But in each eventin the living act, the undoubted deedthere, some unknown but still reasoning thing puts forth the mouldings of its features from behind the unreasoning mask. If man will strike, strike through the mask!”
—Herman Melville (18191891)
“However much we may differ in the choice of the measures which should guide the administration of the government, there can be but little doubt in the minds of those who are really friendly to the republican features of our system that one of its most important securities consists in the separation of the legislative and executive powers at the same time that each is acknowledged to be supreme, in the will of the people constitutionally expressed.”
—Andrew Jackson (17671845)