Cookies op Tweakers

Tweakers maakt gebruik van cookies, onder andere om de website te analyseren, het gebruiksgemak te vergroten en advertenties te tonen. Door gebruik te maken van deze website, of door op 'Ga verder' te klikken, geef je toestemming voor het gebruik van cookies. Wil je meer informatie over cookies en hoe ze worden gebruikt, bekijk dan ons cookiebeleid.

Meer informatie

Software-update: Dnsmasq 2.47

Dnsmasq is een lichtgewichte en betrekkelijk makkelijk in te stellen dns- en dhcp-server die zich richt op 'kleine' omgevingen. Ondersteuning voor statische en dynamische dhcp-leases is aanwezig, net zoals bootp en tftp waarmee diskloze machines via het netwerk kunnen opstarten. Voor meer informatie verwijzen we jullie door naar deze pagina. De ontwikkelaar heeft een nieuwe versie van Dnsmasq uitgebracht, die 2.47 als het versienummer heeft gekregen en met de volgende lijst van aanpassingen sinds de vorige vermelding in de Meuktracker wordt geleverd:

Version 2.47:
  • Updated French translation. Thanks to Gildas Le Nadan.
  • Fixed interface enumeration code to work on NetBSD 5.0. Thanks to Roy Marples for the patch.
  • Updated config.h to use the same location for the lease file on NetBSD as the other *BSD variants. Also allow LEASEFILE and CONFFILE symbols to be overriden in CFLAGS.
  • Handle duplicate address detection on IPv6 more intelligently. In IPv6, an interface can have an address which is not usable, because it is still undergoing DAD (such addresses are marked "tentative"). Attempting to bind to an address in this state returns an error, EADDRNOTAVAIL. Previously, on getting such an error, dnsmasq would silently abandon the address, and never listen on it. Now, it retries once per second for 20 seconds before generating a fatal error. 20 seconds should be long enough for any DAD process to complete, but can be adjusted in src/config.h if necessary. Thanks to Martin Krafft for the bug report.
  • Add DBus introspection. Patch from Jeremy Laine.
  • Update Dbus configuration file. Patch from Colin Walters.
  • Support arbitrarily encapsulated DHCP options, suggestion and initial patch from Samium Gromoff. This is useful for (eg) gPXE, which expect all its private options to be encapsulated inside a single option 175. So, eg,
    dhcp-option = encap:175, 190, "iscsi-client0"
    dhcp-option = encap:175, 191, "iscsi-client0-secret"
    will provide iSCSI parameters to gPXE.
  • Enhance --dhcp-match to allow testing of the contents of a client-sent option, as well as its presence. This application in mind for this is RFC 4578 client-architecture specifiers, but it's generally useful. Joey Korkames suggested the enhancement.
  • Move from using the IP_XMIT_IF ioctl to IP_BOUND_IF on OpenSolaris. Thanks to Bastian Machek for the heads-up.
  • No longer complain about blank lines in /etc/ethers. Thanks to Jon Nelson for the patch.
  • Fix binding of servers to physical devices, eg --server=/domain/ which was broken from 2.43 onwards unless --query-port=0 set. Thanks to Peter Naulls for the bug report.
  • Reply to DHCPINFORM requests even when the supplied ciaddr doesn't fall in any dhcp-range. In this case it's not possible to supply a complete configuration, but individually-configured options (eg PAC) may be useful.
  • Allow the source address of an alias to be a range: --alias=,, maps the whole subnet> to>, as before. --alias=,, maps only the> region. Thanks to Ib Uhrskov for the suggestion.
  • Don't dynamically allocate DHCP addresses which may break Windows. Addresses which end in .255 or .0 are broken in Windows even when using supernetting. --dhcp-range=,,255,255,254.0 means is a valid IP address, but not for Windows. See Microsoft KB281579. We therefore no longer allocate these addresses to avoid hard-to-diagnose problems.
  • Update Polish translation. Thanks to Jan Psota.
  • Delete the PID-file when dnsmasq shuts down. Note that by this time, dnsmasq is normally not running as root, so this will fail if the PID-file is stored in a root-owned directory; such failure is silently ignored. To take advantage of this feature, the PID-file must be stored in a directory owned and write-able by the user running dnsmasq.
Version 2.46:
  • Allow --bootp-dynamic to take a netid tag, so that it may be selectively enabled. Thanks to Olaf Westrik for the suggestion.
  • Remove ISC-leasefile reading code. This has been deprecated for a long time, and last time I removed it, it ended up going back by request of one user. This time, it's gone for good; otherwise it would need to be re-worked to support multiple domains (see below).
  • Support DHCP clients in multiple DNS domains. This is a long-standing request. Clients are assigned to a domain based in their IP address.
  • Add --dhcp-fqdn flag, which changes behaviour if DNS names assigned to DHCP clients. When this is set, there must be a domain associated with each client, and only fully-qualified domain names are added to the DNS. The advantage is that the only the FQDN needs to be unique, so that two or more DHCP clients can share a hostname, as long as they are in different domains.
  • Set environment variable DNSMASQ_DOMAIN when invoking lease-change script. This may be useful information to have now that it's variable.
  • Tighten up data-checking code for DNS packet handling. Thanks to Steve Dodd who found certain illegal packets which could crash dnsmasq. No memory overwrite was possible, so this is not a security issue beyond the DoS potential.
  • Update example config dhcp option 47, the previous suggestion generated an illegal, zero-length, option. Thanks to Matthias Andree for finding this.
  • Rewrite hosts-file reading code to remove the limit of 1024 characters per line. John C Meuser found this.
  • Create a net-id tag with the name of the interface on which the DHCP request was received.
  • Fixed minor memory leak in DBus code, thanks to Jeremy Laine for the patch.
  • Emit DBus signals as the DHCP lease database changes. Thanks to Jeremy Laine for the patch.
  • Allow for more that one MAC address in a dhcp-host line. This configuration tells dnsmasq that it's OK to abandon a DHCP lease of the fixed address to one MAC address, if another MAC address in the dhcp-host statement asks for an address. This is useful to give a fixed address to a host which has two network interfaces (say, a laptop with wired and wireless interfaces.) It's very important to ensure that only one interface at a time is up, since dnsmasq abandons the first lease and re-uses the address before the leased time has elapsed. John Gray suggested this.
  • Tweak the response to a DHCP request packet with a wrong server-id when --dhcp-authoritative is set; dnsmasq now returns a DHCPNAK, rather than silently ignoring the packet. Thanks to Chris Marget for spotting this improvement.
  • Add --cname option. This provides a limited alias function, usable for DHCP names. Thanks to AJ Weber for suggestions on this.
  • Updated contrib/webmin with latest version from Neil Fisher.
  • Updated Polish translation. Thanks to Jan Psota.
  • Correct the text names for DHCP options 64 and 65 to be "nis+-domain" and "nis+-servers".
  • Updated Spanish translation. Thanks to Chris Chatham.
  • Force re-reading of /etc/resolv.conf when an "interface up" event occurs.
Versienummer 2.47
Releasestatus Final
Besturingssystemen Linux, BSD, macOS, Solaris
Website Dnsmasq
Bestandsgrootte 388,00KB
Licentietype GPL

Door Japke Rosink


06-02-2009 • 17:08

1 Linkedin Google+

Bron: Dnsmasq


Reacties (1)

Wijzig sortering
Schitterend programma, hij zit standaard in de software die ik op m'n Linksys router draai, Tomato... :)

Het enige nadeel vind ik dat je geen CNAME's kan instellen...

Op dit item kan niet meer gereageerd worden.

Apple iPhone XS Red Dead Redemption 2 LG W7 Google Pixel 3 XL OnePlus 6T (6GB ram) FIFA 19 Samsung Galaxy S10 Google Pixel 3

Tweakers vormt samen met Tweakers Elect, Hardware.Info, Autotrack, Nationale Vacaturebank en Intermediair de Persgroep Online Services B.V.
Alle rechten voorbehouden © 1998 - 2018 Hosting door True