Custom DNS rules on MX64W

Solved
level42
New here

Custom DNS rules on MX64W

We have a webservice hosted for our users internally, however, instead of accessing the service via http://%IPADDRESS%:%PORTNUMBER%, we'd like them to access it using something like http://customurl.com.

I'm not sure if this can be done, or how it can be done from an MX64W. Which controls all aspects of the network.

Thanks!

1 Accepted Solution
Adam
Kind of a big deal

You'll need a DNS server that you can manage. Then you'd have to add a new domain to your forward lookup zones.

ie http://customurl.com to 192.168.1.1

 

Then on the MX as @MRCUR specified you can change the DNS server in the DHCP settings to point to the DNS server that you can manage above.  

Adam R MS | CISSP, CISM, VCP, MCITP, CCNP, ITILv3, CMNO
If this was helpful click the Kudo button below
If my reply solved your issue, please mark it as a solution.

View solution in original post

9 Replies 9
MRCUR
Kind of a big deal

Are you running an internal DNS server or proxying everything to an external DNS server? 

 

The MX line doesn't run a DNS server that you can add entries to, so you'd need to proxy the DNS requests to an internal server. 

MRCUR | CMNO #12
level42
New here

Currently, the MX64W handles all DNS requests.

Can I proxy just the one request? instead of all traffic?

Would that require setting up a DNS server to handle the translation, and proxying the traffic from the Meraki to the DNS server?

MRCUR
Kind of a big deal

On the MX, you'll need to proxy all of the DNS to another server. On the DNS server (like a Windows server for instance), you'd only need to have any entries internal DNS queries and the rest would be forwarded to whatever you select as the upstream DNS. 

 

You could also consider something like BIND if you'd prefer Linux (and don't want to deal with Windows licensing/CAL's). 

MRCUR | CMNO #12
level42
New here

Hmm, are you able to reference me the documentation for Proxying the DNS from the Meraki?

MRCUR
Kind of a big deal

The DNS is configured with the DHCP options. See "DNS nameservers" here: https://documentation.meraki.com/MX-Z/DHCP/DHCP_Services

MRCUR | CMNO #12
Adam
Kind of a big deal

Can't be done on the MX.  You'd have to have a DNS server you control.  Is the IP you are trying to direct the domain to an internal IP or public?  If public you could just specify it as the domain hosting company. 

Adam R MS | CISSP, CISM, VCP, MCITP, CCNP, ITILv3, CMNO
If this was helpful click the Kudo button below
If my reply solved your issue, please mark it as a solution.
level42
New here

@Adam It's an internally hosted site.

Thanks @MRCUR

Adam
Kind of a big deal

You'll need a DNS server that you can manage. Then you'd have to add a new domain to your forward lookup zones.

ie http://customurl.com to 192.168.1.1

 

Then on the MX as @MRCUR specified you can change the DNS server in the DHCP settings to point to the DNS server that you can manage above.  

Adam R MS | CISSP, CISM, VCP, MCITP, CCNP, ITILv3, CMNO
If this was helpful click the Kudo button below
If my reply solved your issue, please mark it as a solution.
level42
New here

That's what I thought, I just wanted to know if there was a way to do it directly from the Meraki.

Thanks for the clarification guys. Much appreciated!

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