Catchall DNS and Redirect to host

Reply
L1 Bithead

Catchall DNS and Redirect to host

My old firewall was able to catch all dns requests from a zone and redirect them to a defined server.  I cannot find a way to do that on the Palo Alto. Can it be done?

Tags (3)
L7 Applicator

Re: Catchall DNS and Redirect to host

@Jimbo_NGC,

Are you talking about DNS Proxy? If yes then the firewall is perfectly able to do the same thing now. I've included a link HERE that will walk you through enabling the feature and getting it setup. 

L1 Bithead

Re: Catchall DNS and Redirect to host

Unfortunatly not, it is more like a proxy redirect where the firewall see port 53 traffic outbound from any to any and redirects the traffic to a host that then responds.   Saves a lot of time changing dns server entries in hundreds of static hosts as i migrate between firewalls or change designs.  Thank you for your reply.

L2 Linker

Re: Catchall DNS and Redirect to host

What about doing a destination NAT policy ?

L7 Applicator

Re: Catchall DNS and Redirect to host

@Jimbo_NGC,

I would think that @khuynh's suggestion of a Destination NAT would probably work out alright. Personally I would look at using PBF to force the traffic to the destination that you prefer. 

L1 Bithead

Re: Catchall DNS and Redirect to host

The NAT solution from any to any on 53 would not save without errors. I will look a PBF to see if it is an option. This just may be a limitation in functionality.   

 

Thank you both for your efforts.

 

Jim

L1 Bithead

Re: Catchall DNS and Redirect to host

Putting it into other terms, I need to do a DNS sinkhole rule/nat that I can define myself on traffic between zones.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!