DNS Issues - Subdomains not going to right ip on local network
Ok, probally a simple fix just now sure how to do it. Here in the office we own XYZ.com and it directs to our local server. We have several subdomains office.xyz.com and office2.xyz.com they work fine outside of our local office, but when I ping them from inside xyz.com network it always returns the ip address of the xyz.com server. How do i fix this? Thanks
May 30th, 2012 11:22pm

How is DNS resolution configured across parent and child domains? Note that DNS configuration across parent and child domains is recommended to be setup this way Parent to Child - Delegation - http://support.microsoft.com/kb/255248 Child to Parent - Conditional Forwarders - http://technet.microsoft.com/en-us/library/cc757172(v=ws.10).aspxSachin Gadhave MCP, MCSA, MCTS
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2012 11:37pm

Kind of lost me there. I have one domain that points to my one server. I use freedns and setup subdomains that point to different locations. They work fine everywhere except on my local network. I have server 2008 r2 if it matters. It is hosting my website.
May 30th, 2012 11:43pm

Hope you're referring to domains and sub domains in the context of active directory parent and child domains? My understanding is that you have a parent domain xyz.com and child domains office1.xyz.com....office2.xyz.com (different locations)etc. in the same AD forest, correct me if I'm wrong. Or you're referring to domain controllers with names xyz/office1/office2 in the same domain, please clarify. You domain controller for xyz.com domain is also running DNS server for xyz domain and rest of the domains run DNS server for their own domains. These domains are separate administrative divisions hence DNS name resolution needs to be enabled across them using delegation/conditional forwarders. Hope you follow me here. Sachin Gadhave MCP, MCSA, MCTS
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 12:00am

I only have one server at my office. This might be easier with actual domains. ct1.us points to my server at my office. I use freedns.afraid.org to point all traffic for ct1.us to my server at my office. I set up subdomains ie. condo.ct1.us to point to different ip addresses. I can ping condo.ct1.us from everywhere but my office. My main servers ip address is 192.168.1.10 when i ping condo.ct1.us from my server or any computer at my office I get my servers ip address 192.168.1.10 not the public ip address that i get otherwise for condo.ct1.us My server in my office is the dhcp and dns server for my small office network.
May 31st, 2012 12:30am

Looks like there is a DNS host record for condo.ct1.us in your local DNS zone database. When you query hostname it will be first looked in the DNS cache if it's not found there then the local DNS server will be queried and at last the query will go to the internet DNS server (when internal DNS server doesnt have an entry for that host). in your case the local DNS server returns the query which means there is entry for condo.ct1.us in the local zone database. You will have to remove it and rename the hosts file so that the query goes outside to the internet. Open DNS management snap -in and look for Host record for condo.ct1.us that points to your local server and delete it from there. Also rename the hosts file under C:\windows\system32\drivers\etc folder. Once this is done , run ipconfig /flushdns & ipconfig /registerdns on the server. One question - have you set root hints or forwarders for internet DNS servers outside of your network? Also please post ipconfig /all from your server here. Sachin Gadhave MCP, MCSA, MCTS
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 2:15am

C:\Users\Administrator>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : dc Primary Dns Suffix . . . . . . . : ct1.us Node Type . . . . . . . . . . . . : Broadcast IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : ct1.us Ethernet adapter Local Area Connection 3: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : New Virtual Network Physical Address. . . . . . . . . : 00-1C-C0-61-5E-D4 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::f823:fcda:7af1:212d%16(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.10(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 268442816 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-57-4B-2B-00-1C-C0-61-5E-D4 DNS Servers . . . . . . . . . . . : 127.0.0.1 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter isatap.{280C61A4-3F76-4069-8ECC-F65720CCC834}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Teredo Tunneling Pseudo-Interface: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Here is my ipconfig from my server. I opened up the DNS Manager and did not see any host record for condo.ct1.us inside of Forward lookup zones Under Fowrwarders in the properties of my server inside the DNS snap in I have one forwarders it is 8.8.8.8. I did not set up any root hings but there are a bunch of them there. They start with a.root-servers.net and go through m.root-server.net Here is my hosts on my server. # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost
May 31st, 2012 2:38am

No Host record for condo host? Please disable IPv6 if you dont use it - http://support.microsoft.com/kb/929852 Under forwarders put a conditional forwarder for condo.ct1.us and specify the IP for that DNS server. Also you add a maunal entry for this subdomain in the hosts file, add this line to the hosts and save it. x.x.x.x condo.ct1.us x.x.x.x will be the ip address for that domain DNS zone
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 2:58am

I could not fine any host record for it. Is the DNS manager where I needed to look? I can not add a manual entry for this sub domain as it has a dynamic ip address.
May 31st, 2012 11:11am

Yes look in DNS manager. What happens when you explicitly specify external DNS server IP under NIC properties of this server? does the query go outside?Sachin Gadhave MCP, MCSA, MCTS
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 11:17am

When I changed the nic to 8.8.8.8 instead of 127.0.0.1 it pings condo.ct1.us correctly. C:\Users\Administrator>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : dc Primary Dns Suffix . . . . . . . : ct1.us Node Type . . . . . . . . . . . . : Broadcast IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : ct1.us Ethernet adapter Local Area Connection 3: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : New Virtual Network Physical Address. . . . . . . . . : 00-1C-C0-61-5E-D4 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::f823:fcda:7af1:212d%16(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.10(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 268442816 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-57-4B-2B-00-1C-C0-61-5E-D4 DNS Servers . . . . . . . . . . . : 8.8.8.8 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter isatap.{280C61A4-3F76-4069-8ECC-F65720CCC834}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Teredo Tunneling Pseudo-Interface: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes C:\Users\Administrator>ping condo.ct1.us Pinging condo.ct1.us [70.178.136.47] with 32 bytes of data: Reply from 70.178.136.47: bytes=32 time=92ms TTL=52 Reply from 70.178.136.47: bytes=32 time=67ms TTL=52 Reply from 70.178.136.47: bytes=32 time=66ms TTL=52 Reply from 70.178.136.47: bytes=32 time=76ms TTL=52 Ping statistics for 70.178.136.47: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 66ms, Maximum = 92ms, Average = 75ms As soon as I change it the dns back to 127.0.0.1 and Ping condo.ct1.us I get the message ping request could not find host condo.ct1.us Please check the name and try again. If I return the nic to 8.8.8.8 i get a response from ping condo.ct1.us
May 31st, 2012 11:25am

In that case Configure Conditional Forwarder for condo.ct1.us Look here for instructions- http://msmvps.com/blogs/ad/archive/2008/09/05/how-to-configure-conditional-forwarders-in-windows-server-2008.aspx This should fix your problem.Sachin Gadhave MCP, MCSA, MCTS
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 1:13pm

condo.ct1.us has a DYNAMIC IP address. Looks like the directions want me to put in the static ip off condo.ct1.us
May 31st, 2012 1:30pm

Looks like you misread me. I want you to specify the public DNS address 8.8.8.8 against condo.ct1.us in conditional forwarders.Sachin Gadhave MCP, MCSA, MCTS
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 2:26pm

Do I need to select store this conditional forwarder in active directory and rpelicate it to all dns servers in this forest? When I hit ok I get an error DNS A problem occurred while tryting to add the conditional foorwarder. a zone configuration problem occured. This is what i am trying to do So let me understand this. The DNS server you are setting a forwarder to is hosting a zone called, example.com. You are then attempting to create a conditional forwarder to a child domain such as, child.example.com.
May 31st, 2012 5:56pm

As I know this is the only DC/DNS server you have hence there is no replication. conditional forwarders are set to route DNS query based on the domain name you specify, any requests for that DNS suffix will be forwarded to that particular address. If you dont want that you can also route all external requests to internet DNS server which will not require any replication as the setting is on the server node. Please add internet DNS server address directly under server properties so that all external requires get routed to internet DNS. Refer to screenshot below- Sachin Gadhave MCP, MCSA, MCTS
Free Windows Admin Tool Kit Click here and download it now
June 1st, 2012 4:46am

8.8.8.8 was already in there. Added my isps as well and still get ping request could not find host condo.ct1.us
June 1st, 2012 11:21am

Give up....
Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2012 12:09am

Anyone else got any ideas?
June 11th, 2012 4:33pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics