Wednesday, May 15, 2019

likewise open - Configuring linux to be visible in microsoft DNS domain



I've been trying to have one of our linux box available in the windows domain. The linux box is a ubuntu server without gui or X installed. All manipulations are done from ssh.



Linux box:





  • hostname: cactus

  • fqdn: cactus.example.com

  • ip: 10.0.1.121



Microsoft AD + DNS:





  • hostname: example.com

  • ip: 10.0.1.115



I followed some tutorials but It still not working. I installed likewise and added my linux box to active directory. I can login using



ssh 'domain\user'@10.0.1.121


But I can't login or ping : cactus.example.com. On my workstation, the nameserver is correctly set to 10.0.1.115 and pinging example.com return the correct ip. But my domain is still invisible.




I heard I only had to join to the domain to make it visible but apparently it's not working.



Any idea how to get that linux box hostnamed resolved by other machine in the network?



Edit



I created an A record under



Forward Lookup Zone




+--> example.com



....+--> host: ip: static



It shows up as static but ping is still not working.


Answer



You have to manually add a static A record in DNS for cactus. The Linux server with Likewise installed doesn't have the same "automatically register with DNS" function that Windows clients do.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...