Answer the question
In order to leave comments, you need to log in
How to change the page using DNS?
Good day to all
We have a small network in the hostel: a router + 7 laptops + 10-12 smartphones / tablets
The role of the router is played by a netbook (CentOS 7 + OpenVPN), which is connected by wire to the channel provider and distributes the Internet to everyone else via WIFI. Adguard DNS Family Protection is registered on it as a DNS to block porn.
Two tasks need to be solved:
Answer the question
In order to leave comments, you need to log in
In general, there is usually a dhcp server on the router and it distributes the address of the DNS server - you can replace it with a local DNS server (for example, deploy pihole and configure everything there)
But if a friend understands how DNS, DHCP and networks work, he will simply statically register himself google public dns (8.8.8.8) and everything will work. You can also replace one site with another by dns (just add a record in your DNS server that will point to your IP), but there are nuances - the user can access directly by IP and then he will not care that there is such a DNS on the network, or on the site can be https and then the person immediately sees the fact that the site has been spoofed ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question