[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 326
  • Last Modified:

Install active directory and DNS on windows 2008 r2

Heres my ip settings for my router:

router default gateway ip: 192.168.0.1
subnet mask: 255.255.255.0
dhcp scope: 192.168.0.100-30

I have installed vmware fusion 6 on my imac

I have then installed windows 2008 r2, installed active directory, then dc promo (and ticked the DNS box)

I am now getting this message (see screen dup)

Message displayed while doing a DCPROMO
the question is what does this message mean?  and can I safely ignore it?


I forgot to mention I have setup my ip address on this server as follows:

static ip: 192.168.0.2
subnet mask: 255.255.255.0
default gateway: 192.168.0.1
prefered DNS: 192.168.0.2
alternative DNS: 192.168.0.1
0
Ikky786
Asked:
Ikky786
  • 8
  • 7
  • 2
4 Solutions
 
*** Hopeleonie ***IT ManagerCommented:
You must click Yes.
0
 
becraigCommented:
Yup unless you are planning to have persons outside the org resolve internal names then you are good to go.

From what you outlined this does not seem to be a requirement:

More details:

http://technet.microsoft.com/en-us/library/cc754463%28WS.10%29.aspx
0
 
*** Hopeleonie ***IT ManagerCommented:
As you can see the explanation from becraig, this can be safely ignored.
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
Ikky786Author Commented:
im getting DNS errors in the logs, also active directory errors:
0
 
Ikky786Author Commented:
i also noticed it changed the prefered dns to 127.0.0.1
0
 
becraigCommented:
Are there any other DCs in the domain ?

If not then localhost / 127.0.0.1is the preferred DNS server for the server when you are deploying AD (after all how else would you resolve any queries for the domain)
0
 
Ikky786Author Commented:
its the only DC in the domain. nothing else in the forest, not even a client! lol
0
 
Ikky786Author Commented:
cant I user

prefered dns: 192.168.0.2
alternative dns: 192.168.0.1
0
 
becraigCommented:
If the server being promoted is the first DC in a new forest: 127.0.0.1 (the existing list is replaced with the loopback)

More reading:
http://blogs.technet.com/b/stdqry/archive/2012/04/11/dns-auto-configuration-during-dcpromo.aspx
0
 
Ikky786Author Commented:
excellent, understood. your the best
0
 
becraigCommented:
Happy we could help, be sure to give the link a good read.

Also some guys on here give tutorials (and have written articles on AD) you should check them out.
0
 
Ikky786Author Commented:
Everything works but when I add an alternative dns i.e. my router default gateway and I do nslookup it cant find the dns server and just says:

default server: unknown
address: ::1

what am I doing wrong
0
 
becraigCommented:
nslookup will return the first dns server.

You are not doing anything wrong.

That is just windows behavior.

Are you asking to specify queries using a specific dns server ?
0
 
Ikky786Author Commented:
at work when I do nslookup it throws back the dns server ip address.

I have installed windows 2008 r2 at home and when it first installed nslookup was throwing back a DNS ip successfully.

Now I just get unknown. find picture of my current settings:

ip settings
0
 
becraigCommented:
127.0.0.1 is the loopback address that is what you get when you run nslookup.

I am not sure what else  you are expecting to see  ?

If you want to add an alternative dns then add it in the alternate box.

This is how windows works:
It looks at the first dns server than tries the alternate if it cannot resolve.



If you have a name registered on the network for the IP it will return the name you have registered for that address:
E.g if the ip address on the R2 server is 192.168.0.2 and DNS is registered on that interface to that ip and there is a record in DNS matching 192.168.0.2 you will get that when you run nslookup.


I hope I am making sense here

Update the Preferred DNS server value to your DNS server IP and you should be good to go.

If the IP address is not mapped to a name you get "unknown"

By the way this would be "another question" on how DNS works
0
 
Ikky786Author Commented:
thanks its clear now. I am creating a new question.
0
 
becraigCommented:
okie great, glad to help.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 8
  • 7
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now