NickC217
NickC217

Reputation: 326

adding DNS entry (ex. server.domain.com) to domain controller

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

Answers (1)

guydog28
guydog28

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.

  1. Open DNS console.
  2. Click on Forward Lookup Zones.
  3. Right-click, choose new Zone, type in the name of the external domain name (srb1.com).
  4. Once created, right-click the zone you just created, choose New Host Record.
  5. Type in 'software' (without the quotes), and provide the internal Private IP address of your internal webserver.

These instructions were pulled from here: Scenario 2

Upvotes: 6

Related Questions