Commit Graph

119 Commits (9b85366192e652354298f0bc0b2e48ce5f633480)

Author SHA1 Message Date
Felix Fietkau 0f1c6d60f1 update dnsmasq to 2.50 (#5784)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-24 21:42:36 +00:00
Felix Fietkau 2432093f50 Add default /etc/dnsmasq.conf
dnsmasq allows adding of arbitrary SRV/PTR/TXT/CNAME records.
However, those options sometimes can not be passed as
command-line arguments due to excess length.  This patch tries to
solve this problem:

1. Provide /etc/dnsmasq.conf file with comments about adding
   SRV/PTR/TXT/CNAME records.
2. Add this file to conffiles list so it is preserver during
   backup/restore or system upgrade.

If someone needs a lot of custom records, default configuration
file can be edited.  Since manual pages and documentation is not
installed, provided comments should be enough to figure out
option syntax.

Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-21 13:25:11 +00:00
Felix Fietkau 22210c9a87 dnsmasq startup script update: add notinterface parameter
This tiny patch makes the dnsmasq init.d script listen to a parameter called "notinterface", which tells dnsmasq to not listen on a defined set of interfaces.

By default dnsmasq *always* listens on the loopback interface, even if you tell it to specifically listen on a certain other interface. Sometimes this is not desirable behaviour, so you might want to turn it off. This is useful when, for example, you want to have your own DNS server listening on the loopback interface.

Signed-off-by: Johnny Halfmoon <jhalfmoon at milksnot.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 18:15:31 +00:00
Hauke Mehrtens 4d80403385 [dnsmasq] Update to version 2.49
Fixes #5331 and #5286


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-13 16:46:42 +00:00
Jo-Philipp Wich fed636e223 [package] dnsmasq: add option to specify dhcp-hostsfile (#5079)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 22:34:04 +00:00
Markus Wigge 865fa3dad4 fixed dnsmasq init for "ignore" option
dnsmasq.init tried to set range options even when ignore was
set to "1". Now the functions stops processing after evaluating
the "ignore" option when the result is > 0


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 11:00:00 +00:00
Markus Wigge 1ce2df99c6 changed "option" to "list" for binding interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-05 09:33:56 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Jo-Philipp Wich 2284341048 [package] dnsmasq: add more options for interface binding (#4900)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-09 14:51:15 +00:00
Jo-Philipp Wich 19056e2b79 [package] make "name" parameter optional in dnsmasq "boot" config sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-18 22:00:36 +00:00
Jo-Philipp Wich ae2e727786 [package] update dnsmasq to 2.47 (#4636, thanks florida)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-16 04:48:08 +00:00
Markus Wigge 88fa7b4007 "-R" will not work as it needs the configured IP on the interface.
Thus this option leads to the warning message:
"udhcpc: bind(UDP): Cannot assign requested address"



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-04 14:58:31 +00:00
Florian Fainelli 7e95fd1f09 [package] add dnsmasq config file to the conffiles section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 22:27:44 +00:00
Markus Wigge 2f7b697f09 - added "server" option list to delegate specific subdomains
to given upstream servers


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 22:58:11 +00:00
Jo-Philipp Wich 953f9a6489 package/dnsmasq: bump to v2.46 (#4263)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 18:20:19 +00:00
Steven Barth 1d96bd6e14 Ucified PXE-Boot options for dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-13 07:39:56 +00:00
Felix Fietkau 2bff540bda fix dnsmasq errors that occur on linux 2.4 if ipv6 is compiled as module, but not used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 15:30:26 +00:00
Steven Barth 4d20db10d5 dnsmasq: Use a more intelligent way of parsing dhcp-options using the new UCI list datatype
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-07 20:07:55 +00:00
Felix Fietkau 0ea2967af9 restore the /tmp/resolv.conf symlink when stopping dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-07 15:22:25 +00:00
Travis Kemen b79a3cf2e3 add option to cache local queries, from sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 01:37:06 +00:00
John Crispin 305cd55644 add section names to dnsmasq config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-19 22:05:41 +00:00
John Crispin 84f5308f97 fixes dbus param of dnsmasq, #3818, thanks the.loeki
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-28 07:59:40 +00:00
Steven Barth a7e058a77d Updated Dnsmasq to 2.45
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-20 20:17:00 +00:00
Steven Barth 1f6605a36a Updated Dnsmasq to 2.43
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-18 15:32:42 +00:00
Florian Fainelli 292f318758 This adds dhcp-boot support to dnsmasq-init:
option name "virt0"
	option filename "pxelinux.0"
	option servername "mainframe0.dev"
	option serveraddress "9.3.2.1"

closes #3529


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-05 13:43:55 +00:00
John Crispin 6eee16c932 backport a fix to suppress warning when loading dnsmasq on >=2.6.25.7. this patch can be removed when dnsmasq 2.43 is released
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-28 21:42:54 +00:00
Steven Barth ae7e759c81 Updated Dnsmasq to 2.42 (#3498)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-03 15:06:20 +00:00
Travis Kemen 265e3a8161 only ignore dhcp but still listen for dns closes #3406
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 00:01:58 +00:00
Felix Fietkau ff6f3d23b4 fix dnsmasq compilation on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-31 21:17:45 +00:00
Travis Kemen 2e6acb2425 This upgrades dnsmasq-2.40 to dnsmasq-2.41. Signed-off-by: Alexandros C. Couloumbis <alex at ozo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-26 16:26:59 +00:00
Travis Kemen a03a930807 create the dhcp leasefile if it doesn't exist
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-14 21:17:14 +00:00
Felix Fietkau 2f8b5f8c28 Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
Travis Kemen e1f607e92f add option configure a custom netmask for dhcp clients Signed-off-by: Lorenz Schori <lorenz.schori@gmx.ch>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-17 01:15:50 +00:00
Travis Kemen 5882e9c1ea use instead of closes #2759
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 04:11:36 +00:00
Travis Kemen 34ade10d04 add option to turn off dynamic dhcp closes #2694
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-28 03:02:20 +00:00
Florian Fainelli 47072a732b Fix missing IP section to properly add static hosts (#2650)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-05 14:14:06 +00:00
Travis Kemen 569430e757 remove unneeded config file section fixes #2594
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 02:58:35 +00:00
Travis Kemen 64e913ca5a convert the rest of /etc/dnsmasq.conf to uci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 21:08:54 +00:00
Felix Fietkau 0788207055 disable filterwin2k in dnsmasq (see #2566)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 17:42:08 +00:00
John Crispin a735c086ab update dnsmasq to 2.40, from #2479
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 21:44:25 +00:00
Travis Kemen 17a1be5e2c include fixes from #2429 Thanks Lubos Stanek
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-25 23:16:31 +00:00
Travis Kemen e4b75a96c9 add fix from ticket #2290
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 20:24:18 +00:00
Florian Fainelli 4fe4323231 Finally fix the usage of limit (#2240)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 16:05:14 +00:00
Nicolas Thill 2180fa92a1 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
Travis Kemen f3d7b822b3 fix incorrect parameters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 17:18:04 +00:00
Travis Kemen cf9e2f5684 fix typo closes #2289
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 16:08:44 +00:00
Travis Kemen f16fc40abc dnsmasq: extend the init script thanks Sedky
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-29 18:40:52 +00:00
Florian Fainelli 374d10e359 Use a more explicit variable name for the number of dhcp leases (#2240)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-19 20:50:52 +00:00
Florian Fainelli 6ffaa1d3b8 Use the end variable instead of limit (#2142)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-01 15:24:00 +00:00
Felix Fietkau 09e3e7ecd1 upgrade dnsmasq (#1975)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12 13:58:25 +00:00