Ping by routerName.local instead of by IP

Hi there !

In my whole LAN network all of the computers plugged in, I can ping using this sentence: ping machineName.local.

Mikrotik have DNS local service?

For instance, to me will be very usefull to assing a name to the router and then when I need a ssh session, will can do only with to use this command line: ssh routerName.local:21

Regards.

Not really sure what you are asking or telling us.

You gave us no information on equipment, software, or configuration. But yes, the Mikrotik router may or may not be able to provide local DNS service - depending mostly on configuration.

ssh routerName.local:21

Why are you trying to ssh to the ftp port (the reason you have to specify the port - you’re using a non-standard port).

RouterOS does not broadcast a mDNS name… so it won’t have a .local name. The .local is reserved in RFC-6762 for zeroconf/etc.

It does default to havinga static DNS entry for “router.lan” that goes to 192.168.88.1. But you can add any DNS names you want in /ip/dns/static. Just don’t use a domain.

RB4011 with the latest stable firm upgrade.
Have you any example for may Mikrotik does it?

Why are you trying to ssh to the ftp port (the reason you have to specify the port - you’re using a non-standard port).

My mistake, sorry sir.

Thanks sir, that is what I looking for. Diging a bit on DNS - RouterOS, I realize that there is one way for solved my requesting.

/ip/dns/static/print 

Columns: NAME, ADDRESS, TTL
# NAME        ADDRESS      TTL

0 Cloudflare  1.1.1.1      1d 
1 Cloudflare  1.0.0.1      1d 
2 rb4011      192.168.0.1  1d