Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
router:dhcp-dns [2024/09/17 10:14] – willy | router:dhcp-dns [2025/02/06 08:03] (current) – removed willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== DNS, DHCP and routing for the internal network ===== | ||
- | |||
- | Since your home network is connected **only** to your home server (right?), in order to be able to navigate and use the home network you must configure some services on your home server. | ||
- | |||
- | In detail, you will need: | ||
- | * one DNS server, so that devices in the home network can resolve names to addresses (and filter ads) | ||
- | * one DHCP server, so provide devices in the home network with automatic configuration | ||
- | * one default gateway and router: to allow devices in the home network to access stuff on the internet | ||
- | |||
- | At first i have been using DNSmasq, which is a seemingly easy approach to both DNS and DHCP for the home network. After a lengthly and annoying debugging session with Android devices i found out that DNS has evolved a lot and DNSMasq is today a bit outdated. | ||
- | |||
- | I decided then to go straight to the Gentoo standard DHCP server and Unbound DNS resolver/ | ||
- | |||
- | For future reference, the older DNSMasq information has been moved to a separate page. | ||
- | |||
- | To create a router, you will be using the Linux built-in great nftables tools that today has replaced the older iptables. | ||
- | |||
- | |||
- | |||
- | [[https:// | ||
- | |||
- | [[https:// | ||
- | |||