PDA

View Full Version : [ubuntu] Ubuntu Server 8.10 DNS and DHCP Server


danooch13
March 2nd, 2009, 07:34 PM
Hello,

I am new to Linux. I am trying to setup a DNS and DHCP server on ubuntu server 8.10 which I already did. Both components work perfectly....well....perfectly separately.

My problem is that I can't get the clients that get a dhcp address from the ubuntu server register with DNS which is on the same server.

I have some static dns addresses in the server which are fine, but the regular dhcp clients will not register with dns.

Is there a way to do this?

Thanks

danooch13
March 3rd, 2009, 11:01 AM
Anyone?

I know it has to be possible.

netztier
March 3rd, 2009, 11:24 AM
I have some static dns addresses in the server which are fine, but the regular dhcp clients will not register with dns.


Read the "DYNAMIC DNS UPDATES" section in dhcpd.conf's manpage. It's all in there.

user@server:~$ man dhcpd.conf


And a suggestion: DHCP clients should not update the server, unless they can be authenticated by a good mechanism (such as Kerberos). Leave it to the DHCP server to send an authenticated DDNS update to the DNS server.

regards

Marc

danooch13
March 3rd, 2009, 11:43 AM
Thank you. I will attempt this in a few.

HermanAB
March 3rd, 2009, 12:54 PM
Hmm, letting the clients update the DNS is a Microsoft abomination that represents a huge security hole. It is used by MS Active Directory - they specially modified an old copy of BSD BIND8 for that.

Soooooo, my suggestion is don't do that. You can use a Samba domain controller or a NIS without having to let the clients do DNS updates.

Cheers,

Herman

danooch13
March 3rd, 2009, 04:22 PM
LOL. I am a Microsoft admin for years, and got frustrated with it so I decided to take the switch. I guess some of my old ways carried over.