aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq
Commit message (Collapse)AuthorAgeFilesLines
* AA: dnsmasq: backport latest version from trunkLuka Perkov2013-06-095-57/+39
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: backport r36655 from trunkSteven Barth2013-05-242-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: enable parallel buildsFelix Fietkau2012-09-151-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: Set prefix on-link bit in RAsJohn Crispin2012-08-222-1/+43
| | | | | | | | This is fix an issue with dnsmasq's RA that does not set the "on-link" bit, making all local IPv6 traffic go to the router then to the destination host, not directly to each other. patch is from dnsmasq git git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: Fix DHCP no address on interface warning (#10570)Vasilis Tsiligiannis2012-07-191-0/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: Bump to 2.62, add DHCPv6 variantVasilis Tsiligiannis2012-07-172-17/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: allow /etc/config/dhcp to specify --address argumentsJo-Philipp Wich2012-07-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | 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: Jeremy Kerr <jk@ozlabs.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add local TTL option to dnsmasqJo-Philipp Wich2012-07-051-0/+1
| | | | | | | | | | | | | | | | | | | | | -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: Andrew Byrne <openwrt@andy.id.au> openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: introduce "add_local_hostname" and "add_local_domain" optionsJo-Philipp Wich2012-07-011-3/+11
| | | | | | | | - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: permit UCI configuration of --dhcp-fqdn optionJo-Philipp Wich2012-07-011-0/+1
| | | | | | | | | | | | This adds a new boolean option, fqdn, to the "config dnsmasq" section of /etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve unqualifed local hostnames. The "domain" option is required when using "fqdn". Local hostnames will remain available for lookup using fully-qualified names. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH 1/4] package/dnsmasq: permit dhcp_option in global dnsmasq config sectionJo-Philipp Wich2012-07-011-1/+3
| | | | | | | | | | | | | | dnsmasq currently permits dhcp_options to be specified only in "config dhcp" sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for multiple subnets and there are multiple "config dhcp" sections without "option ignore", it makes sense to allow dhcp_options that should apply globally in the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option. [jow: rework patch to apply after dhcp-option-force handling got introduced] Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: bump package revisionJo-Philipp Wich2012-05-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: allow forcing optionsJo-Philipp Wich2012-05-191-8/+25
| | | | | | | | | | 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: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31816 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: add support for set: and tag: pairsJo-Philipp Wich2012-05-191-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: fix parsing of mx record options (#11365)Jo-Philipp Wich2012-05-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: configure dnsmasq via flat config file and not command-line argsJo-Philipp Wich2012-04-021-54/+79
| | | | | | | | | | Sometimes it's useful to compare the generated config file from UCI config with a hand-edited dnsmasq config file, especially if you're migrating to an OpenWRT router from something else (such as Astlinux). Putting the generated config makes it easier to capture and diff, etc. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31182 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: add missing config_get, localize variables, bump package ↵Jo-Philipp Wich2012-03-232-2/+4
| | | | | | revision git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: add mx record supportJo-Philipp Wich2012-03-231-0/+16
| | | | | | | | | | | | | | | | | Adding the following syntax support: config mxhost option domain mydomain.com option relay svr10.ironport.com option pref 50 and this will generate an MX record for mydomain.com pointing at the relay with a given preference. Redux: default the preference to 0 if absent. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: add keywords for SRV RR class/weightJo-Philipp Wich2012-03-231-2/+5
| | | | | | | | | | | | | | The SRV record also requires the class and weight fields... Currently you can overload the "port" keyword as: option port xxxx,class,weight but this is counter-intuitive. Here we fix this. Redux: make the port required. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves ↵Jo-Philipp Wich2012-01-181-1/+3
| | | | | | unresolved refs to in6addr_any when building with external CodeSourcery toolchain git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: automatically add host entry for own hostname and ptr ↵Jo-Philipp Wich2011-12-012-4/+14
| | | | | | record for lan ip address git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: update to 2.59 (thanks to Raphael Huck)Nicolas Thill2011-11-252-15/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: use new service wrapperNicolas Thill2011-11-072-7/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add cname sectionTravis Kemen2011-10-201-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: update to 2.58Florian Fainelli2011-09-301-5/+6
| | | | | | patch by Raphael Huck. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] dnsmasq: allow hostname assignment without static leaseJo-Philipp Wich2011-05-242-5/+4
| | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: use -ffunction-sections, -fdata-sections and --gc-sections, saves ↵Felix Fietkau2011-03-021-0/+3
| | | | | | 8k uncompressed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/dnsmasq]: upgrade to 2.57Imre Kaloz2011-02-192-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: fix logic for creating missing filesFelix Fietkau2011-02-141-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: use service_kill in initscriptJo-Philipp Wich2011-02-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: add support for option "--dhcp-script" (thanks Bastian ↵Vasilis Tsiligiannis2011-01-271-0/+1
| | | | | | Bittorf) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: Fix parameter 'limit'Felix Fietkau2011-01-261-0/+1
| | | | | | | | | | '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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Package dnsmasq init-fileJo-Philipp Wich2010-11-212-3/+8
| | | | | | | | | | | | | | If an already running DHCP-server is found on the configured interface, the init-script refuses to start, but does not give a hint why. It took us some days to track down this behavior in our MANET, where every wifi/adhoc-node runs it own DHCP-server. Now syslog is more verbose on this. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: remove a useless subshell invocation from the init scriptJo-Philipp Wich2010-10-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: allow 127.0.0.1/8 upstream DNS responses by default, ↵Jo-Philipp Wich2010-10-062-2/+2
| | | | | | resolves issues with Netflix and other services git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: add support for bogus-nxdomain (thanks to Mickey Knox), ↵Nicolas Thill2010-08-113-1/+7
| | | | | | bump release number git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: Squelch a 'touch' error when no dhcp leases file is ↵Vasilis Tsiligiannis2010-08-081-1/+1
| | | | | | defined in config, thanks stsp (#7720) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: add -c or --cache-size option to dnsmasq via cachesize ↵Jo-Philipp Wich2010-08-041-0/+1
| | | | | | UCI option (#7625) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] Allow UCI interface names in /etc/config/dhcpJo-Philipp Wich2010-08-041-2/+4
| | | | | | | Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: initscript: fix bool options handling, bump release numberNicolas Thill2010-07-172-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: add and enable DNS rebind protectionsJo-Philipp Wich2010-07-163-2/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: update dnsmasq to 2.55Alexandros C. Couloumbis2010-06-221-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/dnsmasq: bump release number (missed from r21400)Nicolas Thill2010-05-211-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21523 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for SRV records to dnsmasq config parsingPeter Denison2010-05-081-0/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq:Jo-Philipp Wich2010-04-232-4/+12
| | | | | | | | - when processing domain entries, append searchdomain to host entries if they are not fully qualified - create only one reverse record for address entries with multiple names git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: don't append search domain to custom host entriesJo-Philipp Wich2010-04-162-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: allow multiple hostnames per domain sectionJo-Philipp Wich2010-04-022-5/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix limitTravis Kemen2010-03-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove +1 as it isn't needed since 16619Travis Kemen2010-03-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* if readethers is set to true make sure /etc/ethers exists, closes #6740Travis Kemen2010-03-141-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20220 3c298f89-4303-0410-b956-a3cf2f4a3e73