Internal and external zone settings
Hello.
Currently I have the following situation in the new CPANEL infrastructure that I am configuring.
CPANEL Server:
Public IP: 189.224.xx.xx
NAT IP: 10.224.xx.xx
Domain: example.com.br
My Network: 10.224.50.0/24
In my current infrastructure to solve this situation I have a BIND DNS server with two views, internal and external.
In the internal view the match-clients parameter is my network (10.224.50.0/24) and the zone configuration uses the NAT IPs. Example: webmail.example.com.br IN A 10.224.50.10.
In the external view all the IPs that are not on my network are released and the zone configuration uses the public IPs. Example: webmail.example.com.br IN A 189.224.xx.xx.
Can I carry out the same situation in CPANEL?
I already read everything that is tutorial and I can not find answers.
When I create the plan, CPANEL configures DNS zones using public IP.
If I configure it manually by console, it works without problems. But I want to manage everything by WHM and DNS cluster.
Thanks for listening.
-
Hello, cPanel configures dns zones for accounts with one addresses. The way to configure seperate internal and external views would be to edit the /etc/named.conf file. Unfortunately, when cpanel rebuilds this configuration file, it will overwrite these changes. Such changes would have to be manually created in /etc/named.conf. I would avoid running /scripts/rebuilddnsconfig while custom changes are in place. 0
Please sign in to leave a comment.
Comments
1 comment