I have a VMWare infrastructure and inside that 2 environments named A and B. "A" has its DNS in the server "D" whereas B has its DNS within itself. The scenario is as given below:
A has domain associated like bdweb01.lp.rmplc.net
and has its DNS in server D.
- All the A records are inside the server D.
B has domain associated like int.books.rmlp.com
and has its DNS server within its environment.
- All the A records are inside its own environment DNS server.
- A nameserver record has been created inside the DNS domain "B" in Server D. Which means all the A records required for this environment is contained with in this domain (int.books.rmlp.com) itself. In the server named D, there contains NS record for int.books.rmlp.com so that the requests gets forwarded to the DNS Server of B environment.
Now about the IP's used:
- A environment has the IP's in the range of 192.168.x.x
- B environment has the IP's in the range of 172.28.x.x
Which means both have private IP's.
My Issue:
When I use https://www.whatsmydns.net/ to check the IP of a site (eg: browse.bdweb01.lp.rmplc.net
), it clearly shows the associated IP of this domain. At the same time when I check the IP of a site hosted in my B environment (eg: browse.int.books.rmlp.com
), it doesn't tell me any IP.
- Though we use two different classes in the environments, both remains to be the private IP addresses. Then why C Class IP is getting displayed whereas not B Class?
- I don't think sites in environment A has natted IP's since I recieve the exact internal IP's when checked with whatsmydns. So, how does this work, whereas the other don't?
- Is there anything that I would need to do, so that I could get the same result in site hosted in environment B also?
Any quick suggestions or help would be really appreciated.