Commit Graph

75 Commits (8d0bb8f5dda215d2041fd8b7866abc1e6d6f7b54)

Author SHA1 Message Date
Jo-Philipp Wich f40e9e8d8a dnsmasq: only write search directive if domain is actually set
SVN-Revision: 19090
15 years ago
Jo-Philipp Wich fd7889cf6f dnsmasq: add local domain as search directive to /tmp/resolv.conf
SVN-Revision: 19086
15 years ago
Jo-Philipp Wich 02d30873eb dnsmasq: Fix setting the network-id for config host sections This renames name to networkid where applicable, and re-adds the name option for hosts. Signed-off-by: Stefan Bethke <stb@lassitu.de>
SVN-Revision: 19069
15 years ago
Jo-Philipp Wich 2a83e90ceb dnsmasq: While trying to document the dhcp UCI config, I noticed that the name config option is applied wrongly when adding static addresses. Cf. the dnsmasq man page. Signed-off-by: Stefan Bethke <stb@lassitu.de>
SVN-Revision: 18934
15 years ago
Markus Wigge c05ba34ba7 new upstream release 2.51 with some fixes, see http://www.thekelleys.org.uk/dnsmasq/CHANGELOG refreshed patches for new release
SVN-Revision: 18541
15 years ago
Jo-Philipp Wich 5a485c4112 dnsmasq: Set a list of addnhosts files. e.g. list 'addnhosts' '/var/etc/hosts.olsr' list 'addnhosts' '/var/etc/hosts.olsrv6' hosts.olsr for ipv4 and hosts.olsrv6 for ipv6 addresses. Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
SVN-Revision: 18470
15 years ago
Jo-Philipp Wich 0582d1ffb7 dnsmasq: - make "name" option in "host" sections optional and append it to -G if set, allows specifying hostnames for static leases without resorting to /etc/hosts - implement "domain" sections, allows defining arbitary host names and associated ptr records from uci - bump package revision
SVN-Revision: 17897
15 years ago
Felix Fietkau 3ede844486 update dnsmasq to 2.50 (#5784)
SVN-Revision: 17711
15 years ago
Felix Fietkau 61a94268ec 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>

SVN-Revision: 17663
15 years ago
Felix Fietkau c067858fdf 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>

SVN-Revision: 17599
15 years ago
Hauke Mehrtens b5141ea359 Update to version 2.49 Fixes #5331 and #5286
SVN-Revision: 16436
15 years ago
Jo-Philipp Wich ff3c63fb61 dnsmasq: add option to specify dhcp-hostsfile (#5079)
SVN-Revision: 15747
15 years ago
Markus Wigge e85943d41a 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

SVN-Revision: 15618
15 years ago
Markus Wigge 807c0426bf changed "option" to "list" for binding interfaces
SVN-Revision: 15613
15 years ago
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
15 years ago
Jo-Philipp Wich d63666203c dnsmasq: add more options for interface binding (#4900)
SVN-Revision: 15172
15 years ago
Jo-Philipp Wich cd978f4531 make "name" parameter optional in dnsmasq "boot" config sections
SVN-Revision: 14557
16 years ago
Jo-Philipp Wich e86bf4c86c update dnsmasq to 2.47 (#4636, thanks florida)
SVN-Revision: 14528
16 years ago
Markus Wigge 02cc61b0e4 "-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"
SVN-Revision: 14408
16 years ago
Florian Fainelli 59ff6c01d8 add dnsmasq config file to the conffiles section
SVN-Revision: 14398
16 years ago
Markus Wigge b05f64dd06 - added "server" option list to delegate specific subdomains to given upstream servers
SVN-Revision: 14232
16 years ago
Jo-Philipp Wich bd29378e8d package/dnsmasq: bump to v2.46 (#4263)
SVN-Revision: 13414
16 years ago
Steven Barth d0d1d9fd57 Ucified PXE-Boot options for dnsmasq
SVN-Revision: 12960
16 years ago
Felix Fietkau a361a8101c fix dnsmasq errors that occur on linux 2.4 if ipv6 is compiled as module, but not used
SVN-Revision: 12664
16 years ago
Steven Barth 05118305ec dnsmasq: Use a more intelligent way of parsing dhcp-options using the new UCI list datatype
SVN-Revision: 12547
16 years ago
Felix Fietkau fefd23fe13 restore the /tmp/resolv.conf symlink when stopping dnsmasq
SVN-Revision: 12546
16 years ago
Travis Kemen 347913a53c add option to cache local queries, from sn9
SVN-Revision: 12485
16 years ago
John Crispin 9e17c77236 add section names to dnsmasq config
SVN-Revision: 12342
16 years ago
John Crispin 5e942a9011 fixes dbus param of dnsmasq, #3818, thanks the.loeki
SVN-Revision: 11967
16 years ago
Steven Barth e870bdf403 Updated Dnsmasq to 2.45
SVN-Revision: 11888
16 years ago
Steven Barth 5fd9e811c6 Updated Dnsmasq to 2.43
SVN-Revision: 11862
16 years ago
Florian Fainelli ed3aeb2031 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

SVN-Revision: 11663
16 years ago
John Crispin 7174ef488e 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
SVN-Revision: 11604
16 years ago
Steven Barth 5da5342fda Updated Dnsmasq to 2.42 (#3498)
SVN-Revision: 11339
16 years ago
Travis Kemen 162a814ef4 only ignore dhcp but still listen for dns closes #3406
SVN-Revision: 11062
16 years ago
Felix Fietkau 54d981bccb fix dnsmasq compilation on some systems
SVN-Revision: 10696
16 years ago
Travis Kemen 6703cacfde This upgrades dnsmasq-2.40 to dnsmasq-2.41. Signed-off-by: Alexandros C. Couloumbis <alex at ozo.com>
SVN-Revision: 10663
17 years ago
Travis Kemen cf1cf9a8fd create the dhcp leasefile if it doesn't exist
SVN-Revision: 10460
17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
17 years ago
Travis Kemen e743dd5c81 add option configure a custom netmask for dhcp clients Signed-off-by: Lorenz Schori <lorenz.schori@gmx.ch>
SVN-Revision: 10216
17 years ago
Travis Kemen 031b47be15 use instead of closes #2759
SVN-Revision: 9612
17 years ago
Travis Kemen df42216881 add option to turn off dynamic dhcp closes #2694
SVN-Revision: 9608
17 years ago
Florian Fainelli 547984d91d Fix missing IP section to properly add static hosts (#2650)
SVN-Revision: 9502
17 years ago
Travis Kemen c526a608f8 remove unneeded config file section fixes #2594
SVN-Revision: 9442
17 years ago
Travis Kemen c4354c4589 convert the rest of /etc/dnsmasq.conf to uci
SVN-Revision: 9440
17 years ago
Felix Fietkau 3c8b5cbf4b disable filterwin2k in dnsmasq (see #2566)
SVN-Revision: 9432
17 years ago
John Crispin 1b072e1568 update dnsmasq to 2.40, from #2479
SVN-Revision: 9200
17 years ago
Travis Kemen 112c359dad include fixes from #2429 Thanks Lubos Stanek
SVN-Revision: 9028
17 years ago
Travis Kemen c4fa115e5c add fix from ticket #2290
SVN-Revision: 8732
17 years ago
Florian Fainelli 038459c125 Finally fix the usage of limit (#2240)
SVN-Revision: 8712
17 years ago