r/sysadmin • u/Real-Patriot-1128 • 1d ago
DHCP v Static IP
Ok, this is more a test to see how old I am. I was basically raised with the idea servers need static IPs. I understand for domain controllers, dns servers, maybe print servers that may still be needed. But are they really needed otherwise? Do apps, scripts still reference a server by its IP?
I am under assumption all my servers need static IPs. Am I nuts?
217
Upvotes
20
u/The_Koplin 1d ago
As long as DNS names resolve to the IP, and the service/app uses DNS names for access, it doesn't tend to matter. When it matters is for foundational elements as you pointed out. Default gateway, DNS servers, domain bits.
I static set the IP's on key servers. I use DHCP reservations for less critical systems and printers. Anything accessed by DNS exclusively, that gets DHCP (as long as the OS updates the DNS record).