Skip to content
Tonny edited this page Dec 12, 2024 · 3 revisions

Welcome to the mikrotik-dhcp-to-dns wiki!

How to install

DNS

  • Install technitium server
  • optional: create a group with only permissions to add/modify/delete zones
  • optional: create a api user
  • create a token for the user account that will modify the zones with dhcp hosts/ip's

Mikrotik

  • add the script "dhcp-2-dns" under each < dhcp-server / dhcp > object
  • define public DNS servers and a domain under each object. Do not specify your technitium dns here. It's usage is enforced with NAT rules
  • paste the NAT rules and netwatch from force-dns-usage in a terminal (move them to the top)

This should do it, you're ready to test now

Clone this wiki locally