This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dhcp_dns [2021/05/06 17:25] pedro |
dhcp_dns [2021/09/07 17:42] (current) techie007 [DHCP/DNS] Removed incorrect information |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME (description applies to the old version of the page) | ||
- | |||
====== DHCP/DNS ====== | ====== DHCP/DNS ====== | ||
- | The Advanced / DHCP/DNS page allows you to configure advanced settings for the DHCP and DNS services for the LAN and WAN. Most of this functionality is provided by FreshTomato' | + | The Advanced / DHCP/DNS page allows you to configure advanced settings for the DHCP and DNS services for the LAN and WAN. Most of this functionality is provided by FreshTomato' |
===== DHCP / DNS Server (LAN) ===== | ===== DHCP / DNS Server (LAN) ===== | ||
- | **Use internal DNS:** Makes dnsmasq(uerade) | + | **Use internal DNS:** Makes dnsmasq act as the DNS server on your LAN. DHCP clients will receive FreshTomato' |
**Debug mode:** Checking this makes FreshTomato write detailed information the log file. | **Debug mode:** Checking this makes FreshTomato write detailed information the log file. | ||
- | **Use received DNS with user-entered DNS: **Add DNS servers received from DHCP on your WAN connection to the static (manual) DNS server list. | + | **Use received DNS with user-entered DNS: **Add DNS servers received from DHCP on your WAN connection to the static (manual) DNS server list. See Basic/ |
- | + | ||
- | See Basic/ | + | |
**Prevent DNS-rebind attacks:** Enable DNS rebinding protection in dnsmasq. (Default: Enabled). | **Prevent DNS-rebind attacks:** Enable DNS rebinding protection in dnsmasq. (Default: Enabled). | ||
Line 19: | Line 15: | ||
**Intercept DNS port:** Any DNS requests/ | **Intercept DNS port:** Any DNS requests/ | ||
- | **Use user-entered gateway if WAN is disabled**: DHCP will assign the router' | + | **Use user-entered gateway if WAN is disabled**: DHCP will assign the router' |
- | \\ | + | |
- | [[https:// | + | |
- | \\ | + | \\ \\ **Ignore DHCP requests from unknown devices: **dnsmasq will ignore DHCP requests from MAC addresses not listed on the Static DHCP/ |
- | \\ | + | |
- | **Ignore DHCP requests from unknown devices: **dnsmasq will ignore DHCP requests from MAC addresses not listed on the Static DHCP/ | + | |
**Maximum active DHCP leases:** Maximum allowable active DHCP leases at one time. (Default: 255). | **Maximum active DHCP leases:** Maximum allowable active DHCP leases at one time. (Default: 255). | ||
Line 31: | Line 23: | ||
**Static lease time:** The absolute maximum valid time for any DHCP lease. | **Static lease time:** The absolute maximum valid time for any DHCP lease. | ||
- | * Same as Normal Lease Time: The Static lease time is the same as the normal lease time (1440 minutes). | + | |
* Infinite: The Static lease time is infinity. | * Infinite: The Static lease time is infinity. | ||
* Custom: This allows you to enter a custom Static DHCP lease time. \\ (Default: Same as Normal Lease Time). | * Custom: This allows you to enter a custom Static DHCP lease time. \\ (Default: Same as Normal Lease Time). | ||
- | **Announce IPv6 on LAN (SLAAC): **Enabling this turns on router advertisements for IPv6 //Stateless Address Autoconfiguration (SLAAC)// | + | **Announce IPv6 on LAN (SLAAC): **Enabling this turns on router advertisements for IPv6 //Stateless Address Autoconfiguration (SLAAC)// |
**Announce IPv6 on LAN (DHCP): | **Announce IPv6 on LAN (DHCP): | ||
Line 55: | Line 47: | ||
**Use Stubby (DNS-over-TLS): | **Use Stubby (DNS-over-TLS): | ||
- | **WINS (for DHCP): **Here, you can specify the IP adddress | + | **WINS (for DHCP): **Here, you can specify the IP address |
Windows Internet Name Service (WINS) is a legacy computer name registration and resolution service that maps computer NetBIOS names to IP addresses. Officially, WINS is outdated and largely obsolete. DNS is supposed to have replaced most WINS functionality. However, Microsoft has not officially deprecated WINS. It may still be necessary for some Windows LAN browsing functions, especially on very old Windows versions. | Windows Internet Name Service (WINS) is a legacy computer name registration and resolution service that maps computer NetBIOS names to IP addresses. Officially, WINS is outdated and largely obsolete. DNS is supposed to have replaced most WINS functionality. However, Microsoft has not officially deprecated WINS. It may still be necessary for some Windows LAN browsing functions, especially on very old Windows versions. | ||
- | More details about WINS can be found here:\\ | + | More details about WINS can be found here: |
- | [[https:// | + | |
+ | //DNSSEC NOTE//: Do not use results from: [[https:// | ||
+ | |||
+ | That webpage is likely to provide wrong results. | ||
- | Note about DNSSEC: do not use results from site [[https:// | + | Instead, |
**dhcpc options: **In this field you can enter custom configuration settings for the dhcp client. | **dhcpc options: **In this field you can enter custom configuration settings for the dhcp client. | ||
Line 68: | Line 63: | ||
**Reduce Packet Size:** udhcpc (the DHCP client FreshTomato uses to obtain a WAN IP address) has a problem. It has a DHCP discovery packet size 590 bytes long. However, DHCP relay servers can only handle DHCP discovery packets up to 576 bytes. If there are DHCP relay servers between your FreshTomato router and your Internet provider' | **Reduce Packet Size:** udhcpc (the DHCP client FreshTomato uses to obtain a WAN IP address) has a problem. It has a DHCP discovery packet size 590 bytes long. However, DHCP relay servers can only handle DHCP discovery packets up to 576 bytes. If there are DHCP relay servers between your FreshTomato router and your Internet provider' | ||
- | The extra bytes appeared to be entirely padding, and not necessary. FreshTomato developers eliminated the padding, which reduced udhcpc' | + | The extra bytes appeared to be entirely padding, and not necessary. FreshTomato developers eliminated the padding, which reduced udhcpc' |
- | \\ | + | |
- | [[https:// | + | |