VPN Glossary 183 entries · 2026 ed.

DHCP (Dynamic Host Configuration Protocol)

No. 041 of 183 Networking
DefinitionDHCP (Dynamic Host Configuration Protocol)

DHCP is the protocol that automatically gives a device an IP address, gateway and DNS server when it joins a network.

§ 01

Definition

Without DHCP you would have to type network settings into every phone and laptop. A DHCP server, usually built into your router, hands out a 'lease' on an address from a pool, along with the router's address and the DNS servers to use. The protocol is defined in RFC 2131 for IPv4.

§ 02

How it works

A joining device broadcasts a request, the server offers an address, the device accepts it and the server confirms. Leases expire and are renewed. Your ISP uses the same idea to assign your router its public IP, which is why many home connections have a dynamic IP that changes from time to time.

§ 03

Why it matters

DHCP decides which DNS server your device uses by default, often your ISP's, which matters for privacy and DNS leaks. On public Wi-Fi, a rogue DHCP server can push a malicious gateway or DNS server; a VPN with its own DNS limits the damage. DHCP is also why restarting your router sometimes changes your public IP.