Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <TITLE> Dnsmasq - a DNS forwarder for NAT firewalls.</TITLE> |
Simon Kelley | 28866e9 | 2011-02-14 20:19:14 +0000 | [diff] [blame] | 4 | <link rel="icon" |
| 5 | href="http://www.thekelleys.org.uk/dnsmasq/images/favicon.ico"> |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 6 | </HEAD> |
| 7 | <BODY BGCOLOR="WHITE"> |
Simon Kelley | 28866e9 | 2011-02-14 20:19:14 +0000 | [diff] [blame] | 8 | <table width="100%" border="0" cellpadding="0" cellspacing="0"> |
| 9 | <tr> |
| 10 | <td align="left" valign="middle"><img border="0" src="http://www.thekelleys.org.uk/dnsmasq/images/icon.png" /></td> |
| 11 | <td align="middle" valign="middle"><h1>Dnsmasq</h1></td> |
| 12 | <td align="right" valign="middle"><img border="0" src="http://www.thekelleys.org.uk/dnsmasq/images/icon.png" /></td></tr> |
| 13 | </table> |
| 14 | |
Simon Kelley | 3d8df26 | 2005-08-29 12:19:27 +0100 | [diff] [blame] | 15 | Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 16 | server. It is designed to provide DNS and, optionally, DHCP, to a |
| 17 | small network. It can serve the names of local machines which are |
| 18 | not in the global DNS. The DHCP server integrates with the DNS |
| 19 | server and allows machines with DHCP-allocated addresses |
| 20 | to appear in the DNS with names configured either in each host or |
| 21 | in a central configuration file. Dnsmasq supports static and dynamic |
Simon Kelley | 7622fc0 | 2009-06-04 20:32:05 +0100 | [diff] [blame] | 22 | DHCP leases and BOOTP/TFTP/PXE for network booting of diskless machines. |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 23 | <P> |
| 24 | Dnsmasq is targeted at home networks using NAT and |
| 25 | connected to the internet via a modem, cable-modem or ADSL |
Simon Kelley | 1b7ecd1 | 2007-02-05 14:57:57 +0000 | [diff] [blame] | 26 | connection but would be a good choice for any smallish network (up to |
| 27 | 1000 clients is known to work) where low |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 28 | resource use and ease of configuration are important. |
| 29 | <P> |
Simon Kelley | 246839d | 2012-01-06 20:39:54 +0000 | [diff] [blame] | 30 | Supported platforms include Linux (with glibc and uclibc), Android, *BSD, |
Simon Kelley | 824af85 | 2008-02-12 20:43:05 +0000 | [diff] [blame] | 31 | Solaris and Mac OS X. |
Simon Kelley | de37951 | 2004-06-22 20:23:33 +0100 | [diff] [blame] | 32 | Dnsmasq is included in at least the following Linux distributions: |
Simon Kelley | 4011c4e | 2006-10-28 16:26:19 +0100 | [diff] [blame] | 33 | Gentoo, Debian, Slackware, Suse, Fedora, |
Simon Kelley | 7cebd20 | 2006-05-06 14:13:33 +0100 | [diff] [blame] | 34 | Smoothwall, IP-Cop, floppyfw, Firebox, LEAF, Freesco, fli4l, |
| 35 | CoyoteLinux, Endian Firewall and |
Simon Kelley | 4011c4e | 2006-10-28 16:26:19 +0100 | [diff] [blame] | 36 | Clarkconnect. It is also available as FreeBSD, OpenBSD and NetBSD ports and is used in |
| 37 | Linksys wireless routers (dd-wrt, openwrt and the stock firmware) and the m0n0wall project. |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 38 | <P> |
| 39 | Dnsmasq provides the following features: |
| 40 | <DIR> |
| 41 | |
| 42 | <LI> |
| 43 | The DNS configuration of machines behind the firewall is simple and |
| 44 | doesn't depend on the details of the ISP's dns servers |
| 45 | <LI> |
| 46 | Clients which try to do DNS lookups while a modem link to the |
| 47 | internet is down will time out immediately. |
| 48 | </LI> |
| 49 | <LI> |
| 50 | Dnsmasq will serve names from the /etc/hosts file on the firewall |
| 51 | machine: If the names of local machines are there, then they can all |
| 52 | be addressed without having to maintain /etc/hosts on each machine. |
| 53 | </LI> |
| 54 | <LI> |
Simon Kelley | 26128d2 | 2004-11-14 16:43:54 +0000 | [diff] [blame] | 55 | The integrated DHCP server supports static and dynamic DHCP leases and |
| 56 | multiple networks and IP ranges. It works across BOOTP relays and |
| 57 | supports DHCP options including RFC3397 DNS search lists. |
| 58 | Machines which are configured by DHCP have their names automatically |
| 59 | included in the DNS and the names can specified by each machine or |
| 60 | centrally by associating a name with a MAC address in the dnsmasq |
| 61 | config file. |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 62 | </LI> |
| 63 | <LI> |
| 64 | Dnsmasq caches internet addresses (A records and AAAA records) and address-to-name |
| 65 | mappings (PTR records), reducing the load on upstream servers and |
Simon Kelley | 26128d2 | 2004-11-14 16:43:54 +0000 | [diff] [blame] | 66 | improving performance (especially on modem connections). |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 67 | </LI> |
| 68 | <LI> |
| 69 | Dnsmasq can be configured to automatically pick up the addresses of |
Simon Kelley | 824af85 | 2008-02-12 20:43:05 +0000 | [diff] [blame] | 70 | its upstream nameservers from ppp or dhcp configuration. It will |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 71 | automatically reload this information if it changes. This facility |
| 72 | will be of particular interest to maintainers of Linux firewall |
| 73 | distributions since it allows dns configuration to be made automatic. |
| 74 | </LI> |
| 75 | <LI> |
| 76 | On IPv6-enabled boxes, dnsmasq can both talk to upstream servers via IPv6 |
| 77 | and offer DNS service via IPv6. On dual-stack (IPv4 and IPv6) boxes it talks |
| 78 | both protocols and can even act as IPv6-to-IPv4 or IPv4-to-IPv6 forwarder. |
| 79 | </LI> |
| 80 | <LI> |
| 81 | Dnsmasq can be configured to send queries for certain domains to |
| 82 | upstream servers handling only those domains. This makes integration |
| 83 | with private DNS systems easy. |
| 84 | </LI> |
| 85 | <LI> |
Simon Kelley | 4011c4e | 2006-10-28 16:26:19 +0100 | [diff] [blame] | 86 | Dnsmasq supports MX and SRV records and can be configured to return MX records |
Simon Kelley | 26128d2 | 2004-11-14 16:43:54 +0000 | [diff] [blame] | 87 | for any or all local machines. |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 88 | </LI> |
| 89 | </DIR> |
| 90 | |
Simon Kelley | 246839d | 2012-01-06 20:39:54 +0000 | [diff] [blame] | 91 | <H2>Get code.</H2> |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 92 | |
Simon Kelley | 246839d | 2012-01-06 20:39:54 +0000 | [diff] [blame] | 93 | <A HREF="http://www.thekelleys.org.uk/dnsmasq/">Download</A> dnsmasq here. |
Simon Kelley | 4011c4e | 2006-10-28 16:26:19 +0100 | [diff] [blame] | 94 | The tarball includes this documentation, source, and manpage. |
Simon Kelley | 832af0b | 2007-01-21 20:01:28 +0000 | [diff] [blame] | 95 | There is also a <A HREF="CHANGELOG"> CHANGELOG</A> and a <A HREF="FAQ">FAQ</A>. |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 96 | |
Simon Kelley | 246839d | 2012-01-06 20:39:54 +0000 | [diff] [blame] | 97 | Dnsmasq has a git repository which contains the complete release |
| 98 | history of version 2 and development history from 2.60. You can |
| 99 | <A HREF="http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=summary">browse</A> |
| 100 | the repo, or get a copy using git protocol with the command |
| 101 | |
| 102 | <PRE><TT>git clone git://thekelleys.org.uk/dnsmasq.git </TT></PRE> |
| 103 | |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 104 | <H2>License.</H2> |
| 105 | Dnsmasq is distributed under the GPL. See the file COPYING in the distribution |
| 106 | for details. |
| 107 | |
| 108 | <H2>Contact.</H2> |
Simon Kelley | 26128d2 | 2004-11-14 16:43:54 +0000 | [diff] [blame] | 109 | There is a dnsmasq mailing list at <A |
| 110 | HREF="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss"> |
| 111 | http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</A> which should be the |
| 112 | first location for queries, bugreports, suggestions etc. |
| 113 | Dnsmasq was written by Simon Kelley. You can contact me at <A |
| 114 | HREF="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</A>. |
Simon Kelley | 9e4abcb | 2004-01-22 19:47:41 +0000 | [diff] [blame] | 115 | </BODY> |
| 116 | |