Skip to content
Snippets Groups Projects
  1. Dec 16, 2013
  2. Nov 04, 2013
    • Jo-Philipp Wich's avatar
      dnsmasq: fix backward compatibility with existing configs · 5db9587b
      Jo-Philipp Wich authored
      Changeset r36943 ("dnsmasq: use host-record instead of address") removed
      the automatic domain expansion for config domain sections, this breaks
      existing setups and alters the old behaviour in unexpected ways, therfore
      restore behaviour of the current stable release.
      
      Additionally handle fully qualified hostnames properly when setting up the
      own hostrecord by stripping the local domain part form the given name
      instead of unconditionally appending it, so that "example.lan" results
      in "example example.lan" and not "example.lan example.lan.lan".
      
      SVN-Revision: 38648
      5db9587b
  3. Oct 11, 2013
  4. Sep 23, 2013
  5. Sep 17, 2013
  6. Jun 17, 2013
    • Jo-Philipp Wich's avatar
      dnsmasq: use host-record instead of address · dfea3bae
      Jo-Philipp Wich authored
      Using "--address" for individual host A records is broken, use "--host-record" instead.
      The following patch changes dnsmasq.init to build individual host records using "--host-record" instead of "--address".
      
      Signed-off-by: Adam Gensler <openwrt at gnslr.us>
      
      [jow: shorter description, simplified shell script code]
      
      SVN-Revision: 36943
      dfea3bae
  7. May 17, 2013
  8. May 07, 2013
  9. Jan 02, 2013
  10. Oct 10, 2012
  11. Jul 05, 2012
    • Jo-Philipp Wich's avatar
      package/dnsmasq: allow /etc/config/dhcp to specify --address arguments · ed98b1f4
      Jo-Philipp Wich authored
      
      Add a config list to the 'config dnsmasq' section to specify fixed DNS
      addresses.
      
      For example:
      
        config dnsmasq:
      	[snip]
      	list address '/example.com/192.168.0.1'
      
      will result in the argument '-A /example.com/192.168.0.1' to the dnsmasq
      options. This configures dnsmasq to return the specified IP for any
      queries to '*.example.com' names.
      
      Useful for overriding lookups to a range of DNS names.
      
      [jow: "append args" -> "xappend", "-A" -> "--address"]
      
      Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
      
      SVN-Revision: 32624
      ed98b1f4
    • Jo-Philipp Wich's avatar
      Add local TTL option to dnsmasq · 8de3880c
      Jo-Philipp Wich authored
      
      -T, --local-ttl=<time>
          When replying with information from /etc/hosts or the DHCP leases
      file dnsmasq by default sets the time-to-live field to zero, meaning
      that the requestor should not itself cache the information. This is
      the correct thing to do in almost all situations. This option allows a
      time-to-live (in seconds) to be given for these replies. This will
      reduce the load on the server at the expense of clients using stale
      data under some circumstances.
      
      [jow: change -T to --local--ttl to conform with the other options]
      
      Signed-off-by: default avatarAndrew Byrne <openwrt@andy.id.au>
      
      openwrt-devel mailing list
      openwrt-devel@lists.openwrt.org
      https://lists.openwrt.org/mailman/listinfo/openwrt-devel
      
      SVN-Revision: 32623
      8de3880c
  12. Jul 01, 2012
  13. May 19, 2012
    • Jo-Philipp Wich's avatar
      dnsmasq: allow forcing options · 0e540ec9
      Jo-Philipp Wich authored
      
      The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.
      
      This is useful for forcing options to be sent back to a client (even options it didn't ask for).
      
      Signed-off-by: default avatarPhilip Prindeville <philipp@redfish-solutions.com>
      
      SVN-Revision: 31816
      0e540ec9
    • Jo-Philipp Wich's avatar
      dnsmasq: add support for set: and tag: pairs · 38cf8379
      Jo-Philipp Wich authored
      
      On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.
      
      For example:
      
      config host
      	option name 'client'
      	option mac '00:01:02:03:04:05'
      	option ip '192.168.1.20'
      	option tag 'acme'
      
      config tag acme
      	option force '1'
      	list dhcp_option 'option:router,192.168.1.253'
      	list dhcp_option 'option:domain-name,acme.com'
      	list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'
      
      which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.
      
      this causes the following config lines:
      
      dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
      dhcp-option-force=tag:acme,option:router,192.168.1.253
      dhcp-option-force=tag:acme,option:domain-name,acme.com
      dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com
      
      This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.
      
      Signed-off-by: default avatarPhilip Prindeville <philipp@redfish-solutions.com>
      
      SVN-Revision: 31815
      38cf8379
    • Jo-Philipp Wich's avatar
      dnsmasq: fix parsing of mx record options (#11365) · 3eb18205
      Jo-Philipp Wich authored
      SVN-Revision: 31814
      3eb18205
  14. Apr 02, 2012
  15. Mar 23, 2012
  16. Dec 01, 2011
  17. Nov 07, 2011
  18. Oct 20, 2011
  19. May 24, 2011
    • Jo-Philipp Wich's avatar
      dnsmasq: allow hostname assignment without static lease The attached patch for... · 50b69073
      Jo-Philipp Wich authored
      dnsmasq: allow hostname assignment without static lease The attached patch for dnsmasq.init allows to assign a hostname to a particular mac-address. It's useful to override the client supplied hostname, especially if the client does not supply a hostname at all.
      
      It corresponds to the following example in dnsmasq.conf.example:
      
      	# Always set the name of the host with hardware address
      	# 11:22:33:44:55:66 to be "fred"
      	#dhcp-host=11:22:33:44:55:66,fred
      
      Regards
      Mathias
      
      SVN-Revision: 26983
      50b69073
  20. Feb 14, 2011
  21. Jan 27, 2011
  22. Jan 26, 2011
    • Felix Fietkau's avatar
      dnsmasq: Fix parameter 'limit' · 516dcae1
      Felix Fietkau authored
      'limit' is actually the number of IP addresses to serve. See the use of ipcalc.sh.
      For getting the expected number of IP addresses served, we have to decrement
      limit by one.
      
      Patch from: kentarou matsuyama <matsuyama@thinktube.com>
      
      SVN-Revision: 25100
      516dcae1
  23. Nov 21, 2010
  24. Oct 06, 2010
  25. Aug 11, 2010
  26. Aug 08, 2010
  27. Aug 04, 2010
  28. Jul 17, 2010
  29. Jul 16, 2010
  30. May 08, 2010
  31. Apr 23, 2010
Loading