You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
10 years ago
..
authsae authsae: Update to latest version 10 years ago
dnsmasq dnsmasq: Allow creating static DNS entries from static lease entries 10 years ago
dropbear dropbear: move options.h editing to Build/Configure 10 years ago
ead ead: clean up 10 years ago
hostapd hostapd: add a package for eapol_test 10 years ago
igmpproxy igmpproxy: move to trunk, add myself as maintainer 10 years ago
ipset-dns procd: convert various packages to procd style init.d scripts 11 years ago
lldpd lldpd: build without libreadline 10 years ago
odhcpd odhcpd: better dhcpv6 client-compatibility (thanks Hans Dedecker) 10 years ago
openvpn polarssl: update to version 1.3.4 and add openssl compat patch 10 years ago
openvpn-easy-rsa openvpn-easy-rsa: restore essential patch to make it actually work on the target (#14324) 11 years ago
ppp ppp: remove ppp requirement from chat 10 years ago
relayd relayd: add uci validation 10 years ago
samba36 samaba36: do not build libtevent 10 years ago
uhttpd uhttpd: update to the latest version, fixes cgi path handling issues 10 years ago