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 13:23] – [Addresses] willy | router:dhcp-dns [2025/02/06 08:03] (current) – removed willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== The internal network core ===== | ||
- | |||
- | Any working network needs some setup and configuration to be operative. The first thing every network needs are addresses. Those can be assigned statically, dinamically or a mix of both. | ||
- | |||
- | ===== Addresses ===== | ||
- | |||
- | While running a fully static network is simple enough, today' | ||
- | |||
- | At the same time, a fully dynamic network might be overkill as at least some devices are not //mobile// and will most probably never need to change address. Good examples are IoT devices, smart appliances, TV boxes, webcams and such. | ||
- | |||
- | The protocol behind a dynamic or mixed network is a DHCP server (see [[router: | ||
- | |||
- | |||
- | |||
- | ===== Names resolution ===== | ||
- | |||
- | Another critical service for any network that is also connected to the internet is being capable to resolve domain names to network addressed, otherwise you would not be able to navigate or actually do anything meaningful on the internet. | ||
- | |||
- | The protocol behind names resolution it a DNS srver (see [[router: | ||
- | |||
- | [[https:// | ||
- | |||
- | ===== Internet Routing ===== | ||
- | |||
- | Now that a device in your network has an address and knows how to translate a name to the address of a destination server, all you need is a proper network routing to allow your devices to connect to those servers. | ||
- | |||
- | This is done via an ISP (Internet Service Provider) that connects your home network trough a gateway of some sort, to the internet. For added resillience, | ||
- | |||
- | While it doesn' | ||
- | |||
- | |||
- | |||
- | ===== Legacy ===== | ||
- | |||
- | 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 (see [[router: | ||