What's the regular expression pattern of Meraki hostname to DNS?

FredY1
Here to help

What's the regular expression pattern of Meraki hostname to DNS?

Example 1:

On Meraki Console:
Host name of Access Point is set to be: Meraki-8-1(Old)
Mac Address: c5:c6:cd:32:23:42

On our DNS manager it shows the machine's DNS is: meraki-8-1-old-c5c6cd322342

Example 2:

On Meraki Console:
Host name is changed to:  --Meraki-8-1
Mac Address: c5:c6:cd:32:23:42

On our DNS manager, machine's DNS now becomes: m-meraki-8-1-e5c6cd322342

Question:

I understand example 1. We change all invalid symbols to hyphen to make it a valid DNS. I do not understand Example 2. Where did the 'm' in the front come from? What's the pattern here?

3 Replies 3
alemabrahao
Kind of a big deal
Kind of a big deal

Is this question more out of curiosity or do you need this information for something specific?

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

Need it to develop product. We use Meraki Dashboard API for our product. However Dashboard API does not provide valid DNS or FQDN. Need a way to get DNS.

PhilipDAth
Kind of a big deal
Kind of a big deal

This is your own DNS manager you are asking about?  You'll need to take a look at its source code to figure that out.

 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels