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.
/etc/bind/named.conf.options- 0-Level UNIX Monk