How do I change my DHCP and DNS settings?

On Windows

Enter “network connections” in the search bar and click on the item below.

Then locate your network card and access its properties.

Double-clicking on “Internet Protocol version 4 (TCP/IPv4)” and “Internet Protocol version 6 (TCP/IPv6)” will open a window for viewing and editing your IP configuration.

Click on the buttons selected in the previous image to indicate that the values are to be obtained automatically.


On Linux (Debian-like)

Look in /etc/network/interfacesfor your network interface configuration. If it's in a line that says iface <interface> inet static, then replace the static  keyword with dhcpand delete the address, subnet and gateway definitions. If dns-nameserverslines are present in your configuration, please delete them. Then restart the networking service.