Author Topic: How to bind AD DNS names to external IP address?  (Read 1178 times)

murz

  • Zen Apprentice
  • *
  • Posts: 37
  • Karma: +1/-0
    • View Profile
How to bind AD DNS names to external IP address?
« on: January 09, 2020, 04:10:33 pm »
I have server, hosted in virtual cloud, and it have internal IP address on network interface (eg 10.130.0.2).

All traffic are bridged to external IP (eg 84.201.151.2) via virtual private cloud.

And I can't understand, how can I bind Zentyal AD server to external IP, instead of internal?

If I fill external IP 84.201.151.2 into DNS zone together with internal, all works, but external AD clients sometimes receive internal IP address (10.130.0.2) and see connection errors.

If I remove 10.130.0.2 from DNS, I can't restart Samba with error:
Code: [Select]
Samba can't be provisioned if no IP addresses are set for domain org.digiterra.pro.
So what is right solution for bind Zentyal Active Directory domain to external IP address, that not match current network interface IP address?