Hello all,
I am trying to figure out how to resolve local-to-server traffic internally instead of having it route to router and back again.
For example, on Plesk 17.x/Centos 7 server I ran into a problem where a Scheduled Task set up as Fetch URL would not resolve and failed with URL not found.
I added the domain to hosts file using the internal IP address and it then resolved and executed correctly.
My problem compounds because I am running Imunify360 and on a second Plesk 17.x/Centos 6 server, I ran into same problem but added Public IP address to IP Address under Tools and then configured Plesk DNS/Bind.
This allowed the Fetch URL Scheduled Task to resolve to external IP and run without error for all domains.
The problem is that now there is all kinds of local-to-server traffic which routes to router IP (192.168.10.254) and back to originating server and IM360 blocks that traffic because it identifies all that traffic as malicious which leads the Scheduled Task as noted above to fail.
I have to then whitelist the router IP of 192.168.10.254 and the Scheduled Task then works again.
So here is where I am at:
If I configure Plesk DNS to use internal IP but don't add external IP to Public IP address to IP Address under Tools, websites won't ping internally and don't resolve. Internal DNS only seems to work if I add external IP address under Public IP address.
The only thing that works is manually adding internal IP for every domain/subdomain to hosts file which is not a realistic option.
Any additional insights into all of this would be greatly appreciated.
Thanks,
G
I am trying to figure out how to resolve local-to-server traffic internally instead of having it route to router and back again.
For example, on Plesk 17.x/Centos 7 server I ran into a problem where a Scheduled Task set up as Fetch URL would not resolve and failed with URL not found.
I added the domain to hosts file using the internal IP address and it then resolved and executed correctly.
My problem compounds because I am running Imunify360 and on a second Plesk 17.x/Centos 6 server, I ran into same problem but added Public IP address to IP Address under Tools and then configured Plesk DNS/Bind.
This allowed the Fetch URL Scheduled Task to resolve to external IP and run without error for all domains.
The problem is that now there is all kinds of local-to-server traffic which routes to router IP (192.168.10.254) and back to originating server and IM360 blocks that traffic because it identifies all that traffic as malicious which leads the Scheduled Task as noted above to fail.
I have to then whitelist the router IP of 192.168.10.254 and the Scheduled Task then works again.
So here is where I am at:
If I configure Plesk DNS to use internal IP but don't add external IP to Public IP address to IP Address under Tools, websites won't ping internally and don't resolve. Internal DNS only seems to work if I add external IP address under Public IP address.
The only thing that works is manually adding internal IP for every domain/subdomain to hosts file which is not a realistic option.
- How can I get Plesk/Centos to resolve all domains by internal IP address without having to manually update hosts file?
- Is there a way to have domain names resolve internally without installing Plesk DNS? I would rather not have DNS installed.
- Are there any potential drawbacks resolving domains inside the server to internal IP address?
- Am I correct in assuming all traffic which is shown as originating from router IP 192.168.10.254 originates from local server?
- All inbound traffic is not NAT'd while all internal outbound traffic is NAT'd: All inbound traffic should show as originating from external IPs since it is NAT'd.
Any additional insights into all of this would be greatly appreciated.
Thanks,
G
Last edited: