Fix Minecraft lag by checking server settings first, then your router, and only then DNS. Server lag and Wi Fi lag feel the same, but they are not the same monster. In Java Edition, the server property view-distance controls how many chunks players can see, and the default is 10 chunks [source: Minecraft Wiki]. That single number can make your server sweat like a creeper in daylight.
TLDR: If blocks break late, mobs freeze, or chat takes two seconds, start with server settings. Example: lowering view distance from 10 to 6 cuts the chunk area per player by about 64%, so a tiny server with 5 players can stop gasping. Router tweaks help when your ping jumps from 40 ms to 200 ms during dinner time. DNS changes may help you connect faster, but they rarely fix in-game lag.
First, name the lag monster
Before changing stuff, figure out what kind of lag you have. This saves pain. And snacks.
- Server lag: Blocks reappear after mining. Mobs freeze. Redstone acts drunk.
- Network lag: Players teleport. Hits register late. You get rubber banded.
- FPS lag: Your screen stutters. The game feels like a slideshow.
This article is about server settings, DNS, and router tweaks. If your FPS is bad, lower graphics, particles, shaders, and render distance. That is a different pig.

Server settings: the biggest fix for most worlds
If you host a Minecraft server, start here. It is the boring answer. It is also the answer that works.
The big hungry setting is view-distance. It decides how much world the server sends to each player. More chunks means more mobs, more terrain, more memory, and more “why is everyone frozen?”
Try these simple settings:
- view-distance: 6 for small servers.
- simulation-distance: 4 or 5 if the server supports it.
- max-players: set it to a real number, not wishful thinking.
- spawn-protection: lower it if you do not need a huge safe zone.
- allow-flight: keep it off unless needed.
The catch is, every plugin also wants a slice of the cake. Some plugins are fine. Some are little lag goblins in a trench coat. Remove anything you do not use. Check backup plugins too. A backup running every 10 minutes can make the server freeze for 3 seconds. That feels awful during PvP.
Also watch farms. Huge mob farms, hopper chains, and redstone clocks can crush a weak server. If one player builds a chicken machine with 900 birds, the server is not lagging. It is screaming.
DNS changes: useful, but not magic
DNS is like a phone book. When you type a server address, DNS helps your device find the IP address. After that, DNS mostly steps aside.
So yes, changing DNS can help if server lookup is slow. It may shave a second off connecting. It may fix weird “can’t resolve hostname” errors. Nice.
But DNS will not fix:
- low TPS
- chunk loading pain
- bad Wi Fi
- a weak host
- too many plugins
Expect to waste time on DNS if mobs are frozen after you already joined. That is not a phone book problem. That is a server or network problem.
If you still want to try it, use a trusted public DNS provider. Change it on your device or router. Then restart the game. Test before and after. Do not just change ten things and hope the block gods smile.
Router tweaks: the home fix that people skip
Your router matters. A lot. Minecraft does not need huge download speed. It needs a stable path. A jumpy connection makes the game feel cursed.
Try this first:
- Use Ethernet. It is boring. It wins.
- Restart the router. Wait 30 seconds before plugging it back in.
- Move closer to Wi Fi. Walls eat signal like zombies eat villagers.
- Use 5 GHz Wi Fi if you are near the router.
- Use 2.4 GHz Wi Fi if you are far away.
- Stop downloads during play. Yes, even that 80 GB update.
Check who else is using the internet. If someone starts streaming 4K video while you fight the Ender Dragon, your ping may spike. It drives me crazy that one background cloud backup can ruin a whole boss fight.
If your router has QoS, turn it on. Set your gaming device as high priority. This tells the router, “Hey, please send my Minecraft packets before Dad’s giant photo upload.”
Best order to fix Minecraft lag
- Check server TPS. If TPS is below 20, fix the server first.
- Lower view distance. Start at 6. Test. Then adjust.
- Remove heavy plugins. Keep only what you use.
- Test with Ethernet. If lag vanishes, Wi Fi was the villain.
- Restart router and modem. Simple, but often useful.
- Try DNS last. It helps connection issues, not frozen mobs.
Quick examples
Case 1: Your friend hosts a server on an old laptop. Five people join. Blocks break late. Lower view-distance to 6. Remove unused plugins. Limit mob farms. This is a server fix.
Case 2: Single server. Good TPS. Only you lag. Your ping jumps every few seconds. Plug in Ethernet. Stop downloads. Check Wi Fi strength. This is a router fix.
Case 3: You cannot join by domain name, but joining by IP works. Try a new DNS. This is a DNS fix.
Final pick
Server settings give the biggest win. Router tweaks are second. DNS is third. Treat DNS like a screwdriver, not a diamond pickaxe. Handy sometimes. Not made for every block.