Reputation: 326
I have a server that I have assigned an external IP address to it and NAT'd through in my firewall. Then I have assigned with my domain host provider and made a DNS name to point to that external. All is great from the outside, and inside if I point to the local IP address of that server.
My problem is that the software that is on the server I cannot access certain Java features outside of the network because the local IP address is hardcoded into the software and Java wont read both internal and external IP address. So tech support on the software said we can put in a DNS name into the software.
So I went into the DNS of my domain controller and put in an Host (A) entry of subdomain.domain.com and the local IP address. Well it doesnt resolve right because DNS made the entry I put in as subdomain.domain.com.local so again Java doesn't read it right. How do I make DNS read this entry right as subdomain.domain.com?
Upvotes: 4
Views: 72164
Reputation: 1317
Is this a windows DNS solution and domain controller? if so, the A record should just be "subdomain" (windows will add on domain.com since that is the domain for the domain controller). If this is the case, try that A record, and it should work.
UPDATE
Based on comments below, it sounds like you need to do this:
Create a new zone using your external domain name.
These instructions were pulled from here: Scenario 2
Upvotes: 6