Take the 2-minute tour ×

i am configure a new Windows Server in a new network however i do not know what should i put for my DNS server address. Here is my network configuration:

IP: subnet mask: Gateway:

Please guide me on this. Thank you and appreciate for the help

share|improve this question

closed as off topic by John Gardeniers, Zypher Oct 7 '10 at 14:04


You should use the IP address of the DNS server. Kind of obvious if you stop to think about it. –  John Gardeniers Oct 6 '10 at 11:03
add comment

4 Answers

Given it's an internal address then you'll either need to use an existing internal DNS server or if your gateway is setup to just NAT everything (which I doubt it is) then you could try someone like Google's DNS servers at or

share|improve this answer
add comment

It depends on what you have configured the server to be. If its an Active Directory Server with integrated DNS Zone, Microsoft recommends you add the loopback address ( as the primary DNS then another DNS Server in the Domain as the secondary. You could then set a forwarder in your internal DNS server to an external DNS Server for internet name resolution.

If you just want the server to be able to browse the internet then all you need is to follow Choppers advice

share|improve this answer
add comment

Best option: ask you network administrator, i.e. the one that gave you the IP

Other option: ask your ISP for the DNS servers they suggest.

Where possible, I personally use

share|improve this answer
add comment


You can use any DNS you want. For example I always use But the best option is to use:

  • The DNS recommended by your ISP (probably the DNS that other machines in your network are using now)
  • If not sure use the one that you have in your machine configured (the one you are using to read this)

IP Address

You are using a Private class A that allows you to use 16Million of IPs (exactly 16.777.216). Maybe you should use a class C. Usually people use class C for small networks.

Here you have an example of the different types of Private Class Addresses:

  • Private Class C: IP: subnet mask: Gateway:
  • Private Class B: IP: subnet mask: Gateway:
  • Private Class A: IP: subnet mask: Gateway:

You have more info here :

http://en.wikipedia.org/wiki/IP_address (Check IPv4 private addresses section)


  • I am assuming that you want your host to be x.x.x.7 and your gateway will be x.x.x.5
  • Be careful that all the machines in your network must have same subnet mask.
share|improve this answer
You may want to finish reading the entire article to which you've linked... Classes are obsolete terminology, please read up on CIDR as this supplanted classes many years ago.. –  jscott Oct 6 '10 at 9:18
@jscott. Thanks! I know. But I thought explaining this in depth will cause more trouble than benefit to @asley –  cad Oct 6 '10 at 9:25
Explaining something incorrectly is not beneficial to anyone. Please have a search for "classless" to get a feel for how strongly this community feels about the subject. –  jscott Oct 6 '10 at 9:44
add comment