Cant resolve AWS private hosted zone DNS with pritunl enterprise

Hi team,

I’ve a Pritunl enterprise subscription, i’m trying to access private hosted zone record but unable to do so. I am able to access the private ip, and the private DNS is also being resolved from the private instance, but unable to do so when i’m connected to Pritunl.

In my server settings -

  1. I’ve enabled DNS routing and
  2. Added 192.168.0.2, 8.8.8.8 as my DNS server (192.168.0.0/16 being my VPC CIDR)
  3. Added a NAT route - 192.168.0.2/32

can someone please help what is being missed here? Tried with multiple configuration changes but unable to make it work.

Thanks.

Only the AWS DNS server should be configured in the server settings, macOS will prioritize 8.8.8.8 even if it is not the first server. The client DNS mapping option should also be enabled to proxy DNS requests through the Pritunl server.

I made sure the AWS DNS server in settings, and enabled the DNS mapping option as well along with the NAT route /32. But still not able to do so which is strange. Could you please guide further on how can I resolve this?

When I start my Pritunl server, at that time I can’t resolve any DNS on that host.

This got resolved after changing the virtual network CIDR of the pritunl server as it was overlapping with my vpc network