none
How do I create DNS for local network server without editing hosts files on ever machine

    Question

  • I've setup a Windows 2008 R2 server with IIS and authenticated to our network with a static IP. All works fine.


    I can create a hosts file entry on my local box to map the static IP to a URL and it works fine.


    I'd rather create a DNS entry on the DNS Server, but it's not working.


    We already have a public facing site www.site.com with subdomains such as  sub1.site.com, sub2.sub1.site.com.


    When I get on the DNS server and create a new forward lookup zone with an A record with test.site.com (does not exist publicly) I can see it with nslookup but it does not ping.


    What am I missing?


    • Edited by JonnieLewis Thursday, December 13, 2012 10:40 PM
    Thursday, December 13, 2012 10:32 PM

Answers

  • It works now.


    I deleted and recreated a new forward lookup zone with an A record with test.site.com and it was fine.


    My assumption is I was dyslexic with the IP. Thats why ping would not work.


    Fix: double-check IP.


    Thanks all!

    • Marked as answer by JonnieLewis Friday, December 14, 2012 3:38 PM
    Friday, December 14, 2012 3:38 PM

All replies

  • If your server is joined your domain. why you have create a new zone? use "CNAME" instead of "A" record for IIS.

    Best regards Biswajit Biswas Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin


    Friday, December 14, 2012 5:42 AM
  • I assume "site.com" is your internal AD DNS domain name AND public domain name.

    If so, is the test.site.com webserver internal or external?

    If not, are you trying to access test.site.com on an internal server or externally hosted server?

    Based on your description, I'm not exactly sure what you created. Did you create an internal zone called www.site.com, or a test.site.com zone? What IP did you give it, an internal IP or an external IP?

    You might be giving it the wrong IP, or the wrong name. If not, then it depends on exactly how you created it. Can you provide a step by step, what was chosen, etc?

    Or are you saying that nslookup resolves test.site.com but a ping-a test.site.com is not resolving it?

    I assume since it doesn't exist publicly, that it won't reply to the ping, that at least the ping will resolve it, assuming that your machine is using only your internal DNS servers and the nslookup command is using the same DNS address your machine is configured to use.

    .

    See if this helps understanding split-zones:

    Can't Access Website with Same Name (Split Zone or no Split Brain)
    Published by Ace Fekay, MCT, MVP DS on Sep 4, 2009 at 12:11 AM  1278  0
    If you don't want to use WWW in front of URL, such as to access it by http://domain.com, then scroll down to "So you don't want to use WWW in front of the domain name"
    http://msmvps.com/blogs/acefekay/archive/2009/09/04/split-zone-or-no-split-zone-can-t-access-internal-website-with-external-name.aspx


    Ace Fekay
    MVP, MCT, MCITP/EA, MCTS Windows 2008/R2 & Exchange 2007, Exchange 2010 EA, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Technical Blogs & Videos: http://www.delawarecountycomputerconsulting.com/

    This post is provided AS-IS with no warranties or guarantees and confers no rights.

    FaceBook Twitter LinkedIn

    Friday, December 14, 2012 6:05 AM
  • It works now.


    I deleted and recreated a new forward lookup zone with an A record with test.site.com and it was fine.


    My assumption is I was dyslexic with the IP. Thats why ping would not work.


    Fix: double-check IP.


    Thanks all!

    • Marked as answer by JonnieLewis Friday, December 14, 2012 3:38 PM
    Friday, December 14, 2012 3:38 PM
  • Good to hear you found the issue and resolved it!

    Ace Fekay
    MVP, MCT, MCITP/EA, MCTS Windows 2008/R2 & Exchange 2007, Exchange 2010 EA, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Technical Blogs & Videos: http://www.delawarecountycomputerconsulting.com/

    This post is provided AS-IS with no warranties or guarantees and confers no rights.

    FaceBook Twitter LinkedIn

    Friday, December 14, 2012 5:50 PM