Commit Graph

14 Commits (15886b64ba9241704ad54dec8210815d0938c187)

Author SHA1 Message Date
Felix Fietkau 2432093f50 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-21 13:25:11 +00:00
Travis Kemen 64e913ca5a 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
Felix Fietkau 0788207055 disable filterwin2k in dnsmasq (see #2566)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 17:42:08 +00:00
Florian Fainelli 0ef3652486 Do not cache negative answers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-22 09:24:50 +00:00
Felix Fietkau 947bab0abb 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
Felix Fietkau bd078bad0f 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
Mike Baker 9d5733595e fix error if dhcp is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-08 20:15:09 +00:00
Felix Fietkau f15e613e2b use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.conf
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-25 18:12:30 +00:00
Felix Fietkau e1b417ee76 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
Felix Fietkau 5b030de944 set dhcp lease file in dnsmasq.conf instead of /tmp/dhcp.leases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-11 04:26:46 +00:00
Florian Fainelli 94b8298730 Fixed ticket #169 thanks to gps !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-02 13:59:41 +00:00
Felix Fietkau a29a13a642 fix documented syntax for /etc/ethers in dnsmasq.conf (fixes #65)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-12-11 22:34:34 +00:00
Felix Fietkau be9896e3bf set dnsmasq except-interface in init script to wan_ifname instead of vlan1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-07 11:34:05 +00:00
Felix Fietkau ba4ba9de88 sync dnsmasq with whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-25 08:11:12 +00:00