jow
55b521b406
[package] dnsmasq: prevent bad command line error when a dhcp pool has ignore set and the corresponding iface has only whitespace as value
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 03:52:04 +00:00
jow
06c76b2102
[package] dnsmasq: only write search directive if domain is actually set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 15:31:58 +00:00
jow
c05762dd88
[package] dnsmasq: add local domain as search directive to /tmp/resolv.conf
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-09 21:03:48 +00:00
jow
a143751bb5
[PATCH] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-08 00:03:08 +00:00
jow
8494bd7c5a
[package] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 00:23:35 +00:00
jow
91312f560f
[package] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 11:52:08 +00:00
jow
ad7c749604
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 16:58:06 +00:00
nbd
5949fd8b7c
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
jow
33def2ea04
[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
c66b290e54
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
1ea23f0d51
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
jow
43e3feff80
[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
jow
64b2ab7e62
[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
markus
2416808ec0
"-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
markus
85e49e4898
- 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
cyrus
70f2d8c965
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
cyrus
8f3994960d
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
nbd
2c8a0b905f
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
thepeople
a47a7d1cc9
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
blogic
0bad7a057a
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
florian
465c4ee863
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
thepeople
06cb59cd07
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
thepeople
6df5e6f208
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
nbd
afa5da1d1b
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
thepeople
38ba799c0a
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
thepeople
8ff024850e
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
thepeople
5e4f3f7961
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
02ab35ee7f
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
thepeople
87897e1c59
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
thepeople
6b945ca26e
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
thepeople
3dec05cfcb
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
cf8c1d5456
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
thepeople
e9c96b5f94
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
thepeople
885a5a1656
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
thepeople
ab2a8c9f1f
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
e76b8552e2
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
nbd
08ec77b115
include the network state in the dnsmasq init script. this makes it possible 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
2007-06-30 19:28:46 +00:00
nbd
a5628b31a4
dnsmasq: speed up the dhcp server detection (one try is enough)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-12 18:49:02 +00:00
nbd
ae2c89d0cd
allow dhcp sections for dnsmasq to add command line options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 00:39:55 +00:00
nbd
4ab4dc8ed8
upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh ( fixes #1452 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-17 13:31:13 +00:00
nbd
5ad62fbdd3
Forward port whiterussian resolv.conf changes
...
/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
2007-01-08 21:33:53 +00:00
nbd
6a5bc52890
add START=60 to dnsmasq init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-13 21:16:03 +00:00
nbd
b73050fb3f
move /usr/lib/parse-config.awk to /lib/config/template.awk
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-20 00:13:34 +00:00
nbd
cf123d2a16
add new rc.common for standardized init scripts, convert existing init scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 20:05:48 +00:00
nbd
bee2d53f8d
fix missing update for include() api change ( #815 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-04 17:11:36 +00:00
nbd
e8267e6743
only set dhcp_enable if lan proto is set to static
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:18:50 +00:00
nbd
c4f3575368
rewrite of the network scripts and configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:09:09 +00:00
nbd
676c017ecf
large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-05 02:09:22 +00:00