LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   RHEL 5.7 auto register into DNS (https://www.linuxquestions.org/questions/linux-enterprise-47/rhel-5-7-auto-register-into-dns-934608/)

jagdip 03-15-2012 09:59 AM

RHEL 5.7 auto register into DNS
 
Hi,

is it possible for RHEL 5.7 server to auto register into DNS just like windows can do with DNS bulit into MS AD ?

i have read about going through DHCP route and have DHCP update DNS. I am wondering if updating DNS through RHEL 5.7 is even possible technically or not. DNS in question is the DNS which is built into Microsoft AD.

acid_kewpie 03-15-2012 10:09 AM

I think that the idea of a client being permitted to change it's own DNS entry is just horrible. And when we're talking about servers?? ouch. It smacks of not having proper control over your environment, and even if you're building a world of auto deploying VM's or such, you still surely want to manage it effectively. I'm pretty sure that it's not possible in any realistic way outside of the AD world. There are various threads, usually old ones, trying to make it work, but I think the security standards are too different between the real world and M$ land. I was trying last year to use nsupdate to go against AD, but even that was not possible, so I ended up having the DNS domains delegated to a BIND server so build scripts I had written could DNS entries in the loop as part of a complex kickstart build process.

I'm sure there's a way to adjust the process flow you're working with to not want this (imho awful) scenario in the first place.

RobertEachus 03-15-2012 11:58 AM

It will require a little bit of scripting. Install bind-utils that will give you the program you need to send the DDNS updates its called nsupdate. Microsoft doesn't use a key so it should be easy... in fact with nsupdate you or any other person at your company should be able to cause havoc with just a little bit of knowledge of DNS... see DIRE WARNING above from acid_kewpie. :)


All times are GMT -5. The time now is 08:08 AM.