Task:

Create forward-dns server. If the domain is in the database, then return its address, if not, then get the domain address through 8.8.8.8

simple.domain 321.123.123.321 yandex.ru 12.21.12.21 

On the similarity of the local hosts file.

Please provide examples of Linux daemons to solve this problem.

About bind I know, unfortunately problems with a configuration. If possible then with configuration examples. Please do not ask for google. Google I thought to find the answer here.

Closed due to the fact that the essence of the question is incomprehensible to the participants by aleksandr barakin , user192664, Dmitry Kozlov , Let's say Pie , rdorn Oct 31 '18 at 23:51 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

0