The term you're looking for to plug into Google is "DNS rebind protection", and it's common across a lot of consumer routers.