[Dnsmasq-discuss] cache size & /etc/hosts

Simon Kelley simon@thekelleys.org.uk
Thu, 16 Dec 2004 20:21:55 +0000


Gyorgy Farkas wrote:

> 2.0.x series of floppyfw has dnsmasq version 1.2 (because of size;)
> 2.9.x series has version 1.18

FYI, the lastest 2.x version of dnsmasq (2.19), has many improvements to 
the DNS side, as well as integrated DHCP server.

DNS upgrades, from memory:

. Support for EDNS0 and larger DNS query packets.

. Minimal support for DNSSEC.

. DNS queries over TCP.

. Correctly distingiushes between NXDMOMAIN and NODATA replies in all 
known cases.

. A much better algorithm for selecting which upstream server to use.

. Caches CNAMES.

. Distinguishes retried queries from new ones even if they come from the 
same host and port and have the same uid.

. More complete MX record support.

. Works correctly in the face of non-POSIX behaviour from Linux select() 
system call.

. Copes with creation and deletion of network interfaces on the fly.


If you can fit it in, it would be well worth upgrading. The difference 
in size for fully-stripped binaries is 37k (1.18) versus 82K (2.19). If 
you use the built-in DHCP and remove the ISC dhcpd support and IPv6 
support at compile  time, 2.19 goes down the 76k. Is the DHCP server on 
floppyfw smaller than 39K? If not, you might actually use less space 
with dnsmasq 2.19 then dnsmasq 1.18 + DHCP server.

Cheers,

Simon.