How to apply DNS to DHCP server

ok, first things first:

link to the manual about DNS:
http://wiki.mikrotik.com/wiki/DNS

here you have to adjust allow-remote-requests and set value to yes
/ip dns set allow-remote-requests=yesset up dns servers if you do not have one set already for dns resovler.

an example, google dns will be used, you can/should use your dns servers
/ip dns set servers=8.8.8.8,8.8.4.4now the part you are interested in:

in ‘/ip dhcp-server network’ menu you have to set up dns-server attribute a value you want your dhcp-server will give out to the client on dhcp address request.

so we want local router address to be dns server for dhcp hosts:

my local router address is 192.168.88.1 and clients are on 192.168.88.0/24 network.
/ip dhcp-server network set 0 dns-server=192.168.88.1if you have other interfaces with dhcp-server configured it will have a local address, set up that local address as dns-server for network.

If you did not set up dns-server, for that network dns server ip addresses will be taken from DNS resolver that was configured at the beginning of post.