openwrt/package/network/services
Florian Fainelli 8f526ff530 dnsmasq: Allow creating static DNS entries from static lease entries
DHCP entries in /etc/config/dhcp will not automatically create A or PTR
records.  Add an "option dns" directive which appends an entry to
/tmp/hosts/dhcp to facilitate forward and reverse DNS lookups.  For
instance, this item:

    config host
            option ip       '192.168.0.10'
            option mac      '00:13:57:9b:df:02'
            option name     'winpc'
            option dns      '1'

will add a corresponding entry to /tmp/hosts/dhcp:

    192.168.0.10 winpc.lan

This keeps the hostname/IP/MAC in a single place, for easy maintenance.

Related: ticket #13854 reports an regression involving missing PTR
records when using "config domain" to define static DNS entries for
individual hosts.  However, per Simon Kelley[1], the --address feature
used by "config domain" was never intended to generate DNS A records for
hosts.  It would probably be better for the reporter to apply this patch,
and then use "config host" sections instead of "config domain" sections.

[1] http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2008q4/002498.html

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40799
2014-05-20 05:00:28 +00:00
..
authsae authsae: Update to latest version 2014-04-27 20:49:14 +00:00
dnsmasq dnsmasq: Allow creating static DNS entries from static lease entries 2014-05-20 05:00:28 +00:00
dropbear dropbear: move options.h editing to Build/Configure 2014-03-29 17:10:52 +00:00
ead ead: clean up 2014-03-21 15:54:59 +00:00
hostapd hostapd: add a package for eapol_test 2014-05-19 21:58:48 +00:00
igmpproxy igmpproxy: move to trunk, add myself as maintainer 2014-05-08 13:14:34 +00:00
ipset-dns procd: convert various packages to procd style init.d scripts 2013-09-17 21:45:30 +00:00
lldpd lldpd: build without libreadline 2014-01-29 13:10:39 +00:00
odhcpd odhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker) 2014-04-24 09:36:01 +00:00
openvpn polarssl: update to version 1.3.4 and add openssl compat patch 2014-03-14 15:05:46 +00:00
openvpn-easy-rsa openvpn-easy-rsa: restore essential patch to make it actually work on the target (#14324) 2013-10-15 12:23:21 +00:00
ppp ppp: remove ppp requirement from chat 2014-03-21 15:54:52 +00:00
relayd relayd: add uci validation 2014-02-18 13:34:12 +00:00
samba36 samaba36: do not build libtevent 2014-05-01 21:17:56 +00:00
uhttpd uhttpd: update to the latest version, fixes cgi path handling issues 2014-05-09 11:17:42 +00:00