Commit graph

39 commits

Author SHA1 Message Date
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
2009-11-22 11:52:08 +00:00
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
2009-10-05 16:58:06 +00:00
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
2009-09-16 18:15:31 +00:00
Jo-Philipp Wich
ff3c63fb61 dnsmasq: add option to specify dhcp-hostsfile (#5079)
SVN-Revision: 15747
2009-05-09 22:34:04 +00:00
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
2009-05-05 11:00:00 +00:00
Markus Wigge
807c0426bf changed "option" to "list" for binding interfaces
SVN-Revision: 15613
2009-05-05 09:33:56 +00:00
Jo-Philipp Wich
d63666203c dnsmasq: add more options for interface binding (#4900)
SVN-Revision: 15172
2009-04-09 14:51:15 +00:00
Jo-Philipp Wich
cd978f4531 make "name" parameter optional in dnsmasq "boot" config sections
SVN-Revision: 14557
2009-02-18 22:00:36 +00:00
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
2009-02-04 14:58:31 +00:00
Markus Wigge
b05f64dd06 - added "server" option list to delegate specific subdomains to given upstream servers
SVN-Revision: 14232
2009-01-27 22:58:11 +00:00
Steven Barth
d0d1d9fd57 Ucified PXE-Boot options for dnsmasq
SVN-Revision: 12960
2008-10-13 07:39:56 +00:00
Steven Barth
05118305ec dnsmasq: Use a more intelligent way of parsing dhcp-options using the new UCI list datatype
SVN-Revision: 12547
2008-09-07 20:07:55 +00:00
Felix Fietkau
fefd23fe13 restore the /tmp/resolv.conf symlink when stopping dnsmasq
SVN-Revision: 12546
2008-09-07 15:22:25 +00:00
Travis Kemen
347913a53c add option to cache local queries, from sn9
SVN-Revision: 12485
2008-09-02 01:37:06 +00:00
John Crispin
5e942a9011 fixes dbus param of dnsmasq, #3818, thanks the.loeki
SVN-Revision: 11967
2008-07-28 07:59:40 +00:00
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
2008-07-05 13:43:55 +00:00
Travis Kemen
162a814ef4 only ignore dhcp but still listen for dns closes #3406
SVN-Revision: 11062
2008-05-08 00:01:58 +00:00
Travis Kemen
cf1cf9a8fd create the dhcp leasefile if it doesn't exist
SVN-Revision: 10460
2008-02-14 21:17:14 +00:00
Felix Fietkau
0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Travis Kemen
e743dd5c81 add option configure a custom netmask for dhcp clients Signed-off-by: Lorenz Schori <lorenz.schori@gmx.ch>
SVN-Revision: 10216
2008-01-17 01:15:50 +00:00
Travis Kemen
031b47be15 use instead of closes #2759
SVN-Revision: 9612
2007-11-28 04:11:36 +00:00
Travis Kemen
df42216881 add option to turn off dynamic dhcp closes #2694
SVN-Revision: 9608
2007-11-28 03:02:20 +00:00
Florian Fainelli
547984d91d Fix missing IP section to properly add static hosts (#2650)
SVN-Revision: 9502
2007-11-05 14:14:06 +00:00
Travis Kemen
c4354c4589 convert the rest of /etc/dnsmasq.conf to uci
SVN-Revision: 9440
2007-10-24 21:08:54 +00:00
Travis Kemen
112c359dad include fixes from #2429 Thanks Lubos Stanek
SVN-Revision: 9028
2007-09-25 23:16:31 +00:00
Travis Kemen
c4fa115e5c add fix from ticket #2290
SVN-Revision: 8732
2007-09-10 20:24:18 +00:00
Florian Fainelli
038459c125 Finally fix the usage of limit (#2240)
SVN-Revision: 8712
2007-09-09 16:05:14 +00:00
Travis Kemen
f0cdd3ffdd fix incorrect parameters
SVN-Revision: 8554
2007-08-30 17:18:04 +00:00
Travis Kemen
297cf0cb90 fix typo closes #2289
SVN-Revision: 8550
2007-08-30 16:08:44 +00:00
Travis Kemen
3740842c70 dnsmasq: extend the init script thanks Sedky
SVN-Revision: 8540
2007-08-29 18:40:52 +00:00
Florian Fainelli
92cd647b8b Use a more explicit variable name for the number of dhcp leases (#2240)
SVN-Revision: 8437
2007-08-19 20:50:52 +00:00
Felix Fietkau
687b83af00 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
SVN-Revision: 7805
2007-06-30 19:28:46 +00:00
Felix Fietkau
f3f941db39 dnsmasq: speed up the dhcp server detection (one try is enough)
SVN-Revision: 6941
2007-04-12 18:49:02 +00:00
Felix Fietkau
9dd72732bb allow dhcp sections for dnsmasq to add command line options
SVN-Revision: 6767
2007-03-31 00:39:55 +00:00
Felix Fietkau
e1bb37f2ec upgrade dnsmasq to latest version, rewrite dnsmasq init script for uci, rename /bin/ipcalc to /bin/ipcalc.sh (fixes #1452)
SVN-Revision: 6595
2007-03-17 13:31:13 +00:00
Felix Fietkau
656412d1a3 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
SVN-Revision: 6043
2007-01-08 21:33:53 +00:00
Felix Fietkau
b2dedf0ab2 add START=60 to dnsmasq init
SVN-Revision: 5525
2006-11-13 21:16:03 +00:00
Felix Fietkau
17f313b06a move /usr/lib/parse-config.awk to /lib/config/template.awk
SVN-Revision: 5244
2006-10-20 00:13:34 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00