DNS: how to add .test records?

Good day!
I can't think of how to implement the following:
There is a subnet 10.0.1.1/24, which is like computers and servers, and that as the dns to use 8.8.8.8.
I would like that computers on the network addressed to the local server by name, not by ip. (example: demoserver.test), but below all other dns requests sent to 8.8.8.8.
I understand that would require their own dns server (bind), the only question is, how to configure it? Please help with advice.

Thank you!
March 23rd 20 at 19:11
3 answers
March 23rd 20 at 19:13
Raise your primary area, all the computers send to your DNS
Register a forwarder to 8.8.8.8

Requests are satisfied locally, will go from the local database.
The other will be given to the forwarder.
Documentation on the creation of zones in tyrnete full.
March 23rd 20 at 19:15
Do some routers are able to do, there's plenty in the area to do a DNS entry, host-ip and when you call by this name will be given immediately reply from the local DNS, look first in that direction.
If we are talking about 5 PC, insert a damn to hosts on the PC and not worry.
March 23rd 20 at 19:17
Dhcp gives a list of dns servers in order of priority. You pick the direction) for example, in our company, the domain controller is on another, and gives their dns, and the secondary controller, it duplicates just in case

Find more questions by tags Domain name system