Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have several Ubuntu machines (mostly 8.04) that I would like to register their hostnames (or desired hostnames) with my main DNS server running on Windows 2000 so that I can access these machines from any other machine using that DNS server by hostname. Windows clients can do this automatically with the MS client or manually with ipconfig /registerdns. How do I do the equivalent in Linux? I don't necessarily want to register them with the domain using Likewise Open, unless that is the only way to send DNS entries to the Windows server.

These are static IP's. I realize I could add the DNS entries on the Windows side manually as well, but I'm not actually in charge of that Windows DNS server.

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

Sorry, I forgot to put in the question that these are static IP's. I realize I could add the DNS entries on the Windows side manually as well, but I'm not actually in charge of that Windows DNS server.

If you don’t have control of the DNS server, and if the DNS isn’t set up to allow non-secure updates, and it isn't set up to update based on DHCP assignments, and you have a static address, then you are probably out of luck.

Since this system has a static address, is there some reason you can’t just contact the person who runs the DNS server and ask them to add a record for your system?

share|improve this answer
2  
Usually that's what I end up doing. I was just curious if there was a way to emulate on Linux what the Client for MS Networks service does on Windows. –  bobwood Jun 5 '09 at 13:00
add comment

If you want the Linux machines to update DNS themselves, then the DNS zone(s) must be configured for nonsecure dynamic updates. Then if you have the Samba client installed, you can update the record manually like this:

net ads dns register -P

I'm not sure if this command requires you to be on the domain though.

share|improve this answer
2  
This seems promising. I have been getting that stupid "No logon servers" error when attempting this, so I haven't been able to prove that it works. Nonsecure dynamic updates are allowed according to the DNS server admin. I would vote you up, but I don't have the rep yet. –  bobwood Jun 5 '09 at 13:06
add comment

Have you considered configuring your Windows DHCP server to update DNS entries from the DHCP leases? This could achieve the desired result without any changes on the DNS server or Linux side of things.

share|improve this answer
1  
Sorry, I forgot to put in the question that these are static IP's. I realize I could add the DNS entries on the Windows side manually as well, but I'm not actually in charge of that Windows DNS server. –  bobwood Jun 4 '09 at 21:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.