none
Loopback for DNS server on domain controller

    Question

  • What is the most recommended way for configuring your DNS settings on a domain controller with DNS Server installed? (or not even a DC).

    I have always used the loopback address for the DNS server (points to itself). I have googled and find mixed findings of configuring it this way. Some say this is the way to go, some say it is not. I did find that this configuration didn't appear to be supported with Windows 2000 and earlier. Doesn't matter to me since I'm not running earlier than that.. only 2003+.

    So what is the best practice? Use the local IP or use the loopback address? From what I see with the loopback is it possibly could be faster and you would not have to worry about if the IP changes. I mean really it isn't that hard to change the IP in the nic configuration anyways...

     

    But either way I would like to know why so I can understand the best practice / opinions.

     

    Thank you!

    Wednesday, January 12, 2011 4:02 AM

Answers

  •  

     

    // When referencing a DNS server on itself, a DNS client should always use a loopback address and not a real IP address.
    

     

    ^^ So why is this?

    Hate to say it but it seems they both work the same way, just more of a personal preference. Only gain you get is not having to worry about changing the DNS client settings if you change the server IP in the future.

    I agree with that, no perf preference and if you are going to change the IP of the server I can't imagine you would forget DNS; but again if you use loopback that is fine too
    http://adisfun.blogspot.com
    http://twitter.com/mekline
    • Marked as answer by Jacob-Dixon Wednesday, January 12, 2011 4:46 AM
    Wednesday, January 12, 2011 4:42 AM
  • Jacob, Mike has already provided a good link regarding the question & i tried to give more scope, if it helps you further as Mike link answered all the question related to loopback.

    Awinish Vishwakarma | TA - DS/Exchange
    • Marked as answer by Jacob-Dixon Wednesday, February 23, 2011 2:53 AM
    Wednesday, January 12, 2011 4:56 AM

All replies

  • The DS team also fielded a question about something similar

    http://blogs.technet.com/b/askds/archive/2010/07/17/friday-mail-sack-saturday-edition.aspx

    "...What is Microsoft's best practice for where and how many DNS servers exist? What about for configuring DNS client settings on DC’s and members?..."

    I also asked a follow up about the loopback in the comments.

    If you are currently using loopback that is fine and keep it that way.  We were not using loopback on our DC/DNS boxes.  For now we didn't change things but I understand Ned's reasoning.

     

    Thanks

    Mike


    http://adisfun.blogspot.com
    http://twitter.com/mekline
    Wednesday, January 12, 2011 4:08 AM
  • Mike has given you good link, check the below too,don't go for OS involved,get the view.

    http://support.microsoft.com/kb/825036

     


    Awinish Vishwakarma | TA - DS/Exchange
    Wednesday, January 12, 2011 4:20 AM
  • Ok so from the blog what I understand is there is really no benefit for using the loopback other than not having to worry about reconfiguring the DNS client settings when you change the servers ip address. Other than this article talks about not using itself if there are multiple DNS servers. Use an alternative as the primary and itself as secondary (we only have one at most of our clients so this does not pertain to us right now)

    // When referencing a DNS server on itself, a DNS client should always use a loopback address and not a real IP address.
    

    ^^ So why is this?

    Hate to say it but it seems they both work the same way, just more of a personal preference. Only gain you get is not having to worry about changing the DNS client settings if you change the server IP in the future.

    Wednesday, January 12, 2011 4:36 AM
  • Awinish that is a good article. We are smaller environments with only one DNS server at each location. I do notice how it doesn't mention anything about a loopback being used or not being used.
    Wednesday, January 12, 2011 4:38 AM
  •  

     

    // When referencing a DNS server on itself, a DNS client should always use a loopback address and not a real IP address.
    

     

    ^^ So why is this?

    Hate to say it but it seems they both work the same way, just more of a personal preference. Only gain you get is not having to worry about changing the DNS client settings if you change the server IP in the future.

    I agree with that, no perf preference and if you are going to change the IP of the server I can't imagine you would forget DNS; but again if you use loopback that is fine too
    http://adisfun.blogspot.com
    http://twitter.com/mekline
    • Marked as answer by Jacob-Dixon Wednesday, January 12, 2011 4:46 AM
    Wednesday, January 12, 2011 4:42 AM
  • Thanks for the replies!
    Wednesday, January 12, 2011 4:46 AM
  • Jacob, Mike has already provided a good link regarding the question & i tried to give more scope, if it helps you further as Mike link answered all the question related to loopback.

    Awinish Vishwakarma | TA - DS/Exchange
    • Marked as answer by Jacob-Dixon Wednesday, February 23, 2011 2:53 AM
    Wednesday, January 12, 2011 4:56 AM