Domain controller IP address change

Sorry if my question sounds obvious, but I'm getting started here.

I wanted to change my recently configured Domain Controller's static IP on Ubuntu 14.04.4, Samba 4.4.4 since I experienced some instability (was using 192.168.1.16 address). So, I changed it to 192.168.1.100 in /etc/network/interfaces and in /etc/hosts and restarted samba, but when I try to test Kerberos using kinit , I get the following message:

kinit cannot contact any KDC for realm 'MYDOMAIN.LOCAL' while getting initial credentials

My Windows machine which could access the DC before no longer can as well.

Investigating, I got this out of nslookup mydcserver.mydomain.local:

Server: 192.168.1.100
Address: 192.168.1.100#53
Name: mydcserver.mydomain.local
Address: 192.168.1.16 <---- Former address!

ifconfig gives:

p2p1 ... inet addr: 192.168.1.100 Bcast: 192.168.1.255 Mask:255.255.255.0

So, where nslookup got this old address? I guess this explains why my DC is no longer reachable?

Many thanks.

1 Answer

I'm not 100% certain here but I think you are having issues with name resolution.

You will need to update the IP address the domain name mydcserver.mydomain.local points to.

Here is the link to the samba documentation on administering DNS records. I would propose that you need to delete the existing record for your domain controller and then add a new record pointing to the updated address.

Leave any comments and ill try and assist where I can!

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like