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 11:35] pedro [DHCP/DNS] |
dhcp_dns [2021/09/07 17:42] (current) techie007 [DHCP/DNS] Removed incorrect information |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== 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 |
- | **Debug mode:** Checking this makes Tomato | + | **Debug mode:** Checking this makes FreshTomato |
- | **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 18: | 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 30: | 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): |
**DHCP IPv6 lease time: **The number entered here sets the default lease time for IPv6 DHCP leases. | **DHCP IPv6 lease time: **The number entered here sets the default lease time for IPv6 DHCP leases. | ||
- | **Mute dhcpv4 logging: | + | **Mute dhcpv4 logging: |
- | **Mute dhcpv6 logging: **Enabling this stops Tomato | + | **Mute dhcpv6 logging: **Enabling this stops FreshTomato |
**Mute RA logging: | **Mute RA logging: | ||
**Custom configuration: | **Custom configuration: | ||
- | |||
===== DHCP Client (WAN) ===== | ===== DHCP Client (WAN) ===== | ||
The DHCP Client (WAN) section includes a dhcpc (dhcp client) options field. | The DHCP Client (WAN) section includes a dhcpc (dhcp client) options field. | ||
+ | |||
+ | **Use Stubby (DNS-over-TLS): | ||
+ | |||
+ | **WINS (for DHCP): **Here, you can specify the IP address of a WINS Server which will be given to DHCP clients. NOTE: This does NOT actually enable the WINS service. FreshTomato' | ||
+ | |||
+ | 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: | ||
+ | |||
+ | //DNSSEC NOTE//: Do not use results from: [[https:// | ||
+ | |||
+ | That webpage is likely to provide wrong results. | ||
+ | |||
+ | Instead, use: [[https:// | ||
**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. | ||
- | **Reduce Packet Size:** udhcpc (the DHCP client | + | **Reduce Packet Size:** udhcpc (the DHCP client |
- | The extra bytes appeared to be entirely padding, and not necessary. | + | The extra bytes appeared to be entirely padding, and not necessary. |
- | \\ | + | |
- | [[https:// | + | |