Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Prerequisites for joining a domain


  • This topic is locked This topic is locked
8 replies to this topic

#1 Chrislw324

Chrislw324

  •  Avatar image
  • Members
  • 13 posts
  • OFFLINE
  •  
  • Local time:12:50 AM

Posted 15 August 2022 - 09:12 PM

I'm a beginner when it comes to this, but I'm setting up a virtual lab to learn windows server and I can't seem to join my client VM to the domain I created.

 

Right off the bat, I'm creating these virtual machines in Hyper-V and I have them both connected to the same private switch not connected to the internet, but that should still work, right?

 

server:

installed OS

renamed to DC01

gave static ip 169.254.100.100 255.255.0.0

installed AD

promoted to domain controller

created test.local domain

 

client:

installed OS

renamed to client01

gave static ip 169.254.100.101 255.255.0.0

 

I can ping my DC from the client, but when I try to join it to test.local, Im told that a DC for the domain test.local cannot be contacted.

Are there any steps that I need to do that I haven't done yet?


Edited by hamluis, 19 August 2022 - 04:01 PM.


BC AdBot (Login to Remove)

 


#2 sflatechguy

sflatechguy

  •  Avatar image
  • BC Advisor
  • 2,751 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:50 AM

Posted 21 August 2022 - 10:18 AM

If you do nslookup test.local, what response do you get?

 

You are probably missing DNS records for the DC for that domain.

 

https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/verify-srv-dns-records-have-been-created



#3 cryptodan

cryptodan

    Bleepin Madman


  •  Avatar image
  • Members
  • 35,210 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:04:50 AM

Posted 27 August 2022 - 07:58 PM

I would try not using aipa https://www.techtarget.com/whatis/definition/Automatic-Private-IP-Addressing-APIPA instead try using one of the other address ranges like

192.168.0.0/16
10.0.0.0/8
172.16-31.0.0

See if that works

US Navy Veteran from 2002 to 2006

Masters in Computer and Digital Forensics Expert - Stevenson University Alumni 2015

Arch Desktop - https://termbin.com/epij

Arch Laptop - https://www.termbin.com/dnwk

Ubuntu Server - https://termbin.com/zvra


#4 ZFlavius

ZFlavius

  •  Avatar image
  • Members
  • 7 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:50 AM

Posted 01 September 2022 - 12:39 AM

Additionally you have to make sure your client using the same DNS which AD using. Have to check in client : Network Configuration->DNS



#5 Shak3nBak3

Shak3nBak3

  •  Avatar image
  • Members
  • 8 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Lillehammer Norway
  • Local time:09:50 PM

Posted 13 June 2023 - 02:33 PM

The issue is in your DNS> 

If you don't have that configured properly you can also modify your LMHOST file, but this is just a bandaid of sorts.  You'd be better served having your DNS setup properly. 

Since you are using this as a lab and a learning opportunity I would suggest watching some videos on how to configure DNS properly and DNS best practices. 

Best of luck!



#6 Pkshadow

Pkshadow

  •  Avatar image
  • BC Advisor
  • 13,782 posts
  • ONLINE
  •  
  • Gender:Not Telling
  • Location:On the Brow of the Hill, West Coast, Canada
  • Local time:09:50 PM

Posted 13 June 2023 - 04:02 PM

@Shak3nBak3 please do not resurrect old Topics even if have a answer.  Thanks.


" mosquitoes really wake up everyday and choose violence "   — dalia (@_dalia7)
www.cnn.com/2020/07/23/health/mosquitoes-attraction-humans-future-wellness-scn/index.html

Ticks - Lyme disease & anaplasmosis - https://www.ctvnews.ca/health/what-you-should-know-about-the-tick-borne-disease-anaplasmosis-1.6942217
 

I-7 ASUS ROG Rampage II Extreme  / ASUS TUF Gaming F17 / I-7 4770K ASUS ROG Maximus VI Extreme


#7 Shak3nBak3

Shak3nBak3

  •  Avatar image
  • Members
  • 8 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Lillehammer Norway
  • Local time:09:50 PM

Posted 14 June 2023 - 02:29 PM

@Shak3nBak3 please do not resurrect old Topics even if have a answer.  Thanks.

1.  I'm new here.  If you can't see that then you need to be more aware.

2.  I was helping.

3.  When I log in and go to the server forum at his is one of the posts at the top and it's labeled "hot", to me that says this still is ongoing.  There is not way to mark anything on this board as 'complete' from what I can see.

4. Get off your high horse - something that is not even a year old - is not an old topic.  Not from my point of view.

5. Thanks for the welcome!



#8 AkritiSingh9021

AkritiSingh9021

  •  Avatar image
  • Banned Spammer
  • Member rank image
  • 12 posts
  • OFFLINE
  •  

Posted 03 July 2023 - 05:25 AM

Yes, you should be able to join your client VM to the domain even if it's not connected to the internet. Here are a few things you can check:

Make sure that the client VM is using the same DNS server as the DC VM. You can do this by opening the Network and Sharing Center and clicking on Change adapter settings. Right-click on the network adapter that the client VM is using and select Properties. Click on the Internet Protocol Version 4 (TCP/IPv4) tab and select Use the following DNS server addresses. Enter the IP address of the DC VM in the Preferred DNS server and Alternate DNS server fields.



#9 hamluis

hamluis

    Moderator


  •  Avatar image
  • Moderator
  • 63,879 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Killeen, TX
  • Local time:11:50 PM

Posted 07 July 2023 - 03:37 PM

Topic closed, responding to topics which are not current...result in wasted time/energy, since resolution of stated issues has probably taken place by now..

 

Louis






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users