aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/files
Commit message (Collapse)AuthorAgeFilesLines
* [package] dnsmasq:Jo-Philipp Wich2009-12-261-1/+1
| | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: Set a list of addnhosts files.Jo-Philipp Wich2009-11-221-1/+5
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq:Jo-Philipp Wich2009-10-051-4/+20
| | | | | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17599 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: add option to specify dhcp-hostsfile (#5079)Jo-Philipp Wich2009-05-091-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* changed "option" to "list" for binding interfacesMarkus Wigge2009-05-052-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] dnsmasq: add more options for interface binding (#4900)Jo-Philipp Wich2009-04-092-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] make "name" parameter optional in dnsmasq "boot" config sectionsJo-Philipp Wich2009-02-181-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* "-R" will not work as it needs the configured IP on the interface.Markus Wigge2009-02-041-1/+1
| | | | | | | | | 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
* - added "server" option list to delegate specific subdomainsMarkus Wigge2009-01-272-0/+6
| | | | | | | to given upstream servers git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Ucified PXE-Boot options for dnsmasqSteven Barth2008-10-131-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: Use a more intelligent way of parsing dhcp-options using the new ↵Steven Barth2008-09-071-7/+3
| | | | | | UCI list datatype git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* restore the /tmp/resolv.conf symlink when stopping dnsmasqFelix Fietkau2008-09-071-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add option to cache local queries, from sn9Travis Kemen2008-09-021-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add section names to dnsmasq configJohn Crispin2008-08-191-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixes dbus param of dnsmasq, #3818, thanks the.loekiJohn Crispin2008-07-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* This adds dhcp-boot support to dnsmasq-init:Florian Fainelli2008-07-051-0/+22
| | | | | | | | | | | | 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
* only ignore dhcp but still listen for dns closes #3406Travis Kemen2008-05-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* create the dhcp leasefile if it doesn't existTravis Kemen2008-02-141-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-031-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add option configure a custom netmask for dhcp clients Signed-off-by: Lorenz ↵Travis Kemen2008-01-171-1/+2
| | | | | | Schori <lorenz.schori@gmx.ch> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use instead of closes #2759Travis Kemen2007-11-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add option to turn off dynamic dhcp closes #2694Travis Kemen2007-11-281-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix missing IP section to properly add static hosts (#2650)Florian Fainelli2007-11-051-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* convert the rest of /etc/dnsmasq.conf to uciTravis Kemen2007-10-243-29/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* disable filterwin2k in dnsmasq (see #2566)Felix Fietkau2007-10-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include fixes from #2429 Thanks Lubos StanekTravis Kemen2007-09-251-53/+53
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9028 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add fix from ticket #2290Travis Kemen2007-09-101-4/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Finally fix the usage of limit (#2240)Florian Fainelli2007-09-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix incorrect parametersTravis Kemen2007-08-301-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typo closes #2289Travis Kemen2007-08-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: extend the init script thanks SedkyTravis Kemen2007-08-291-17/+185
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use a more explicit variable name for the number of dhcp leases (#2240)Florian Fainelli2007-08-192-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use the end variable instead of limit (#2142)Florian Fainelli2007-08-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include the network state in the dnsmasq init script. this makes it possible ↵Felix Fietkau2007-06-301-0/+1
| | | | | | to run a dhcp server on dynamically assigned interfaces without hardcoding interface names git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not cache negative answersFlorian Fainelli2007-06-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: speed up the dhcp server detection (one try is enough)Felix Fietkau2007-04-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow dhcp sections for dnsmasq to add command line optionsFelix Fietkau2007-03-311-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, ↵Felix Fietkau2007-03-173-48/+63
| | | | | | rename /bin/ipcalc to /bin/ipcalc.sh (fixes #1452) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Forward port whiterussian resolv.conf changesFelix Fietkau2007-01-082-2/+8
| | | | | | | | | /etc/resolv.conf links to /tmp/resolv.conf /tmp/resolv.conf links to /tmp/resolv.conf.auto by default (which is where the ISPs nameserver is in) When dnsmasq starts, it replaces /tmp/resolv.conf with a file pointing to 127.0.0.1 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add START=60 to dnsmasq initFelix Fietkau2006-11-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5525 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move /usr/lib/parse-config.awk to /lib/config/template.awkFelix Fietkau2006-10-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add new rc.common for standardized init scripts, convert existing init scriptsFelix Fietkau2006-10-041-50/+57
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix missing update for include() api change (#815)Felix Fietkau2006-10-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix error if dhcp is disabledMike Baker2006-08-081-4/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* only set dhcp_enable if lan proto is set to staticFelix Fietkau2006-07-301-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rewrite of the network scripts and configurationFelix Fietkau2006-07-301-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.confFelix Fietkau2006-07-251-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4282 3c298f89-4303-0410-b956-a3cf2f4a3e73