Can someone ELI5 me why DNS is such a fucking cancer with VPNs? My work machine uses VPNs and my home network, my server, etc, no probs whatsoever. I can ping outside all damn day. But to get DNS to work on my work pc sometimes I have to restart my home network to get DNS to work on the machine. I can’t wrap my head around that.
A server where you ask what IP is connected to the letters you enter in the browser.
VPN
A way to connect to someone else’s pc and Internet.
The issue that I had with dns was for example connecting to the router.
It has a url like fritz.box so you get to the UI.
Now with a vpn this won’t work, because the router is circumvented and can’t redirect your DNS request to its own ip.
However the ip of the router still works.
So you must know that when using a vpn you have the dns of the config in router of your vpn provider. You can overwrite that on various places but it is a bit confusing.
am not a network engineer but it’s because when your OS network stack and DNS were designed the idea of having multiple potential DNS servers wasn’t really much of a thing yet, i think. the stack isn’t really made for a multiple sources of truth scenario. it could be a number of things in your case - race conditions, override conflicts, etc.
Can someone ELI5 me why DNS is such a fucking cancer with VPNs? My work machine uses VPNs and my home network, my server, etc, no probs whatsoever. I can ping outside all damn day. But to get DNS to work on my work pc sometimes I have to restart my home network to get DNS to work on the machine. I can’t wrap my head around that.
DNS
A server where you ask what IP is connected to the letters you enter in the browser.
VPN
A way to connect to someone else’s pc and Internet.
The issue that I had with dns was for example connecting to the router.
It has a url like fritz.box so you get to the UI. Now with a vpn this won’t work, because the router is circumvented and can’t redirect your DNS request to its own ip.
However the ip of the router still works.
So you must know that when using a vpn you have the dns of the config in router of your vpn provider. You can overwrite that on various places but it is a bit confusing.
am not a network engineer but it’s because when your OS network stack and DNS were designed the idea of having multiple potential DNS servers wasn’t really much of a thing yet, i think. the stack isn’t really made for a multiple sources of truth scenario. it could be a number of things in your case - race conditions, override conflicts, etc.