Page 1 of 1

Set static IP and local DNS name at once (like in dnsmasq)

Posted: Sun Jun 03, 2018 12:20 am
by mode
Hi There,


i am looking for a possiblity to set an static ip and an internal dns name for a mac address.

with dnsmasq this config looks like:
dhcp-host=00:04:13:2C:C7:55,192.168.60.150,tel1
where tel1 is the internal dns name.

I know static dhcp leases and static dns entries in mikrotik but is there a way to have only one point to configuration?

BR

mode

Re: Set static IP and local DNS name at once (like in dnsmasq)

Posted: Mon Jul 23, 2018 5:26 pm
by hammy559
Find a compatible openwrt image for your routing hardware and use metarouter to run it. Add a virtual interface to it that connects to the bridge. Set up dnsmasq in the metarouter

Mikrotik needs to enhance dhcp with dns. This bland dhcp service they offer in routeros is poor and not entirely helpful. All machines in a network should have e resolvable hostnames without the need of a hosts file on each machine