Differences

This shows you the differences between two versions of the page.

doc:howto:dhcp.dnsmasq [2013/05/23 14:53]
p0g0
doc:howto:dhcp.dnsmasq [2013/07/11 11:34] (current)
lorema
Line 1: Line 1:
====== Dnsmasq ===== ====== Dnsmasq =====
-Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network.+[[wp>Dnsmasq]] is lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network.
It can serve the names of local machines which are not in the global DNS. It can serve the names of local machines which are not in the global DNS.
The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file.
Dnsmasq supports static and dynamic DHCP leases and BOOTP for network booting of disk-less machines. Dnsmasq supports static and dynamic DHCP leases and BOOTP for network booting of disk-less machines.
-It is already installed and preconfigured on OpenWrt. See -> [[doc:uci:dhcp]].+It is already installed and preconfigured on OpenWrt. See -> ''[[doc:uci:dhcp|/etc/config/dhcp]]''.
===== Configuration ===== ===== Configuration =====
-The configuration is done with help of the uci-configuration file: ''[[doc:uci:dhcp|/etc/config/dhcp]]'', but you can use this together with ''[[doc/uci/dhcp#using.plain.dnsmasq.conf|/etc/dnsmasq.conf]]''.+The configuration is done with help of the uci-configuration file: ''[[doc:uci:dhcp|/etc/config/dhcp]]'', but you can use this together with the file ''[[doc/uci/dhcp#using.plain.dnsmasq.conf|/etc/dnsmasq.conf]]''.
-Depending on the setting in the uci-file, you may also use ''/etc/ethers'' and ''/etc/hosts'' additionally.+Depending on the setting in the uci-file, you may also use the files ''/etc/ethers'' and ''/etc/hosts'' additionally.
==== /etc/config/dhcp ==== ==== /etc/config/dhcp ====
Line 228: Line 228:
... ...
</code> </code>
 +
 +==== DNS filtering ====
 +  * [[https://forum.openwrt.org/viewtopic.php?id=35023|OpenWrt Forum: Blocking tracking, ad, spyware sites from router]]
===== Troubleshooting ===== ===== Troubleshooting =====

Back to top

doc/howto/dhcp.dnsmasq.txt · Last modified: 2013/07/11 11:34 by lorema