DNS update failed: NTSTATUSINVALIDPARAMETER Note, that the join was successful and only the DNS updated failed. After the client was joined to the domain, the net command look up the fully qualified domain name (FQDN) using name service switch (NSS) libraries.
Hi, I am getting following error and have been stuck here:root@fileserver # net ads join -U domainadminEnter domainadmin's password:Using short domain name - DOMAINJoined 'FILESERVER' to dns domain 'FQDN'No DNS domain configured for fileserver. Unable to perform DNS Update.DNS update failed: NTSTATUSINVALIDPARAMETERSearched through many sites and tried numerous attempts without any luck. I have followed the guide to the tee and no go:.Added file server IP addresss and FQDN to /etc/hosts file: '192.168.1.16 fileserver.domain.example.com fileserver'.Manually added an A pointer on the DNS server.Tried both 'Secure' and 'Nonsecure and secure' settings in DNS Dynamic updates.Ran dcdiag DnsDynamicUpdate test on AD DNS server and tested successful.checked IP address of the DNS server is in /etc/resolv.confHow do I troubleshoot this? Issued resolved. Problem is in /etc/hosts file. The server IP was added to bottom and loopback address not removed.
The etc/hosts file after creating the Turnkey File Server LXC container is as follows:127.0.0.1 localhost127.0.1.1 fileserver#Required for IPv6 capable hosts::1 ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allroutersff02::3 ip6-allhosts# - BEGIN PVE -192.168.1.16 fileserver.domain.example.com fileserver# - END PVE -Comment out loopback address like '#127.0.1.1 fileserver' and all is good. Sorry I wasn't able to assist you sooner, but great to hear that you managed to resolve it.Thanks tons for posting back with the solution too! I'm sure that will help others in the future.If you have any other feedback on things that we might be able to do to improve any of our appliances (or any more issues) please feel free to start a new thread.FWIW I try to respond to new posts at least daily, but sometimes I'm a bit slower. On the odd occasion I do miss posts though. So if you don't get a timely response, please feel free to bump your thread (I know it's generally not acceptable/desirable behaviour on many forums, but we don't mind). Unless your bump contains additional info, I'll often delete bump posts when I respond.Good luck with it all and I hope that TurnKey is working well for you!:).