aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/files
Commit message (Collapse)AuthorAgeFilesLines
* dnsmasq: allow hostname assignment without static lease The attached patch ↵Jo-Philipp Wich2011-05-241-4/+3
| | | | | | | | | | | | | | | 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
* dnsmasq: fix logic for creating missing filesFelix Fietkau2011-02-141-2/+2
| | | | SVN-Revision: 25540
* package/dnsmasq: use service_kill in initscriptJo-Philipp Wich2011-02-141-1/+1
| | | | SVN-Revision: 25537
* dnsmasq: add support for option "--dhcp-script" (thanks Bastian Bittorf)Vasilis Tsiligiannis2011-01-271-0/+1
| | | | SVN-Revision: 25137
* 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> SVN-Revision: 25100
* Package dnsmasq init-file If an already running DHCP-server is found on the ↵Jo-Philipp Wich2010-11-211-2/+7
| | | | | | | | 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> SVN-Revision: 24051
* dnsmasq: remove a useless subshell invocation from the init scriptJo-Philipp Wich2010-10-061-1/+1
| | | | SVN-Revision: 23272
* dnsmasq: allow 127.0.0.1/8 upstream DNS responses by default, resolves ↵Jo-Philipp Wich2010-10-061-1/+1
| | | | | | issues with Netflix and other services SVN-Revision: 23270
* package/dnsmasq: add support for bogus-nxdomain (thanks to Mickey Knox), ↵Nicolas Thill2010-08-112-0/+6
| | | | | | bump release number SVN-Revision: 22592
* dnsmasq: Squelch a 'touch' error when no dhcp leases file is defined in ↵Vasilis Tsiligiannis2010-08-081-1/+1
| | | | | | config, thanks stsp (#7720) SVN-Revision: 22528
* dnsmasq: add -c or --cache-size option to dnsmasq via cachesize UCI option ↵Jo-Philipp Wich2010-08-041-0/+1
| | | | | | (#7625) SVN-Revision: 22490
* Allow UCI interface names in /etc/config/dhcp Signed-off-by: Gabriel Kerneis ↵Jo-Philipp Wich2010-08-041-2/+4
| | | | | | <kerneis@pps.jussieu.fr> SVN-Revision: 22487
* dnsmasq: initscript: fix bool options handling, bump release numberNicolas Thill2010-07-171-3/+3
| | | | SVN-Revision: 22251
* dnsmasq: add and enable DNS rebind protectionsJo-Philipp Wich2010-07-162-1/+27
| | | | SVN-Revision: 22222
* Add support for SRV records to dnsmasq config parsingPeter Denison2010-05-081-0/+18
| | | | SVN-Revision: 21400
* dnsmasq: - when processing domain entries, append searchdomain to host ↵Jo-Philipp Wich2010-04-231-3/+11
| | | | | | entries if they are not fully qualified - create only one reverse record for address entries with multiple names SVN-Revision: 21109
* dnsmasq: don't append search domain to custom host entriesJo-Philipp Wich2010-04-161-2/+2
| | | | SVN-Revision: 20935
* dnsmasq: allow multiple hostnames per domain sectionJo-Philipp Wich2010-04-021-4/+10
| | | | SVN-Revision: 20656
* fix limitTravis Kemen2010-03-181-1/+1
| | | | SVN-Revision: 20275
* remove +1 as it isn't needed since 16619Travis Kemen2010-03-181-1/+1
| | | | SVN-Revision: 20259
* if readethers is set to true make sure /etc/ethers exists, closes #6740Travis Kemen2010-03-141-0/+3
| | | | SVN-Revision: 20220
* dnsmasq: remove redundant code introduced with r20074Jo-Philipp Wich2010-03-091-3/+0
| | | | SVN-Revision: 20079
* dnsmasq: allow multiple macs per static lease address (#6205)Jo-Philipp Wich2010-03-081-3/+8
| | | | SVN-Revision: 20074
* dnsmasq: prevent bad command line error when a dhcp pool has ignore set and ↵Jo-Philipp Wich2010-03-081-1/+1
| | | | | | the corresponding iface has only whitespace as value SVN-Revision: 20048
* dnsmasq: only write search directive if domain is actually setJo-Philipp Wich2010-01-101-1/+1
| | | | SVN-Revision: 19090
* dnsmasq: add local domain as search directive to /tmp/resolv.confJo-Philipp Wich2010-01-091-0/+1
| | | | SVN-Revision: 19086
* dnsmasq: Fix setting the network-id for config host sections This renames ↵Jo-Philipp Wich2010-01-081-35/+37
| | | | | | name to networkid where applicable, and re-adds the name option for hosts. Signed-off-by: Stefan Bethke <stb@lassitu.de> SVN-Revision: 19069
* dnsmasq: While trying to document the dhcp UCI config, I noticed that the ↵Jo-Philipp Wich2009-12-261-1/+1
| | | | | | 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
* dnsmasq: Set a list of addnhosts files. e.g. list 'addnhosts' ↵Jo-Philipp Wich2009-11-221-1/+5
| | | | | | '/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
* dnsmasq: - make "name" option in "host" sections optional and append it to ↵Jo-Philipp Wich2009-10-051-4/+20
| | | | | | -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
* Add default /etc/dnsmasq.confFelix Fietkau2009-09-211-0/+37
| | | | | | | | | | | | | | | | | | | | | 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
* dnsmasq startup script update: add notinterface parameterFelix Fietkau2009-09-162-1/+7
| | | | | | | | | | 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
* dnsmasq: add option to specify dhcp-hostsfile (#5079)Jo-Philipp Wich2009-05-091-0/+3
| | | | SVN-Revision: 15747
* fixed dnsmasq init for "ignore" optionMarkus Wigge2009-05-051-1/+1
| | | | | | | | 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
* changed "option" to "list" for binding interfacesMarkus Wigge2009-05-052-2/+6
| | | | SVN-Revision: 15613
* dnsmasq: add more options for interface binding (#4900)Jo-Philipp Wich2009-04-092-0/+4
| | | | SVN-Revision: 15172
* make "name" parameter optional in dnsmasq "boot" config sectionsJo-Philipp Wich2009-02-181-2/+1
| | | | SVN-Revision: 14557
* "-R" will not work as it needs the configured IP on the interface. Thus this ↵Markus Wigge2009-02-041-1/+1
| | | | | | option leads to the warning message: "udhcpc: bind(UDP): Cannot assign requested address" SVN-Revision: 14408
* - added "server" option list to delegate specific subdomains to given ↵Markus Wigge2009-01-272-0/+6
| | | | | | upstream servers SVN-Revision: 14232
* Ucified PXE-Boot options for dnsmasqSteven Barth2008-10-131-0/+3
| | | | SVN-Revision: 12960
* dnsmasq: Use a more intelligent way of parsing dhcp-options using the new ↵Steven Barth2008-09-071-7/+3
| | | | | | UCI list datatype SVN-Revision: 12547
* restore the /tmp/resolv.conf symlink when stopping dnsmasqFelix Fietkau2008-09-071-0/+5
| | | | SVN-Revision: 12546
* add option to cache local queries, from sn9Travis Kemen2008-09-021-1/+2
| | | | SVN-Revision: 12485
* add section names to dnsmasq configJohn Crispin2008-08-191-2/+2
| | | | SVN-Revision: 12342
* fixes dbus param of dnsmasq, #3818, thanks the.loekiJohn Crispin2008-07-281-1/+1
| | | | SVN-Revision: 11967
* This adds dhcp-boot support to dnsmasq-init: option name "virt0" option ↵Florian Fainelli2008-07-051-0/+22
| | | | | | | | filename "pxelinux.0" option servername "mainframe0.dev" option serveraddress "9.3.2.1" closes #3529 SVN-Revision: 11663
* only ignore dhcp but still listen for dns closes #3406Travis Kemen2008-05-081-1/+1
| | | | SVN-Revision: 11062
* create the dhcp leasefile if it doesn't existTravis Kemen2008-02-141-0/+3
| | | | SVN-Revision: 10460
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-031-1/+0
| | | | SVN-Revision: 10367
* add option configure a custom netmask for dhcp clients Signed-off-by: Lorenz ↵Travis Kemen2008-01-171-1/+2
| | | | | | Schori <lorenz.schori@gmx.ch> SVN-Revision: 10216