Resolving Local Domain

Hi!
I’m trying to setup RouterOS in order to resolve the names of the local LAN machines.
The domain name is “test.local”, and its correctly given via DHCP to the clients.
I’ve configured the RouterOS to be a DNS server, allowing remote requests.

In the Static section of the DNS configuration, I’ve put a entry, “example”.
If, from the clients, I ping “example” or “example.test.local”, I don’t get a reply.

If in the Static section I put “example.test.local”, I cant ping succesfully both “example” and “example.test.local”.

Is there a way to tell RouterOS to append the local domain name to the static entries, avoiding to write the full name to name?

Thank you very much!

Dee

No. What client asks for, that’s what client gets (if it’s available). Appending domains is done by client, RouterOS can’t help you with that. Just use FQDNs for static records, it’s not that big difference to enter whole thing.

You could have a look at DNSmasq that is also used in Pi-hole.

Add to --synth-domain the ability to create names using sequential numbers, as well as encodings of IP addresses.
For instance,
 --synth-domain=thekelleys.org.uk,192.168.0.50,192.168.0.70,internal-*
   creates 21 domain names of the form
   internal-4.thekelleys.org.uk over the address range given, with
   internal-0.thekelleys.org.uk being 192.168.0.50 and
   internal-20.thekelleys.org.uk being 192.168.0.70