Main Menu
Home
Search
Support
How To's
OpenWiki
Contact Us
Users Blogs
User HowTo's
Announcements
Google Translation

 

 

 

 

DDNS and DHCP PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Paul Matthews   

The DHCP server distributes the IP addresses and updates the DNS server.

Name: ISC DHCP
HomePage: http://www.isc.org/sw/dhcp/
Function: Assigning dynamic IP addresses to devices on a network

Name: BIND9 DNS
HomePage: http://www.isc.org/index.pl?/sw/bind/
Function: BIND (Berkeley Internet Name Domain) is an implementation of the Domain Name System (DNS) protocols.

 

EXAMPLE FILES:

 

named.conf:
http://www.opensourcehowto.org/uploads/conf/named.conf.txt


dhcpd.conf:
http://www.opensourcehowto.org/uploads/conf/dhcpd.conf.txt

0.168.192.rev:
http://www.opensourcehowto.org/uploads/conf/0.168.192.rev.txt

fedora.directory.server.hosts:
http://www.opensourcehowto.org/uploads/conf/fedora.directory.server.hosts.txt

 

NETWORK SETTINGS:

 

DNS & DHCP Server IP: 192.168.0.114

DNS & DHCP Server NetboisName: mc1.fedora.directory.server

Router: 192.168.0.1

DNS domain: fedora.directory.server

 

1. Download the genDDNSkey.sh file from

http://www.opensourcehowto.org/uploads/scripts/genddnskey.txt

 

DDNS and DHCP

2. Change the permissions & run the genddnskey.sh file

chmod a+rwx /home/script/genddnskey.sh
./genddnskey.sh

 

DDNS and DHCP

3. Download, copy & edit the example named.conf file to

http://www.opensourcehowto.org/uploads/conf/named.conf.txt

DDNS and DHCP

cp named.conf /etc/named.conf

DDNS and DHCP

nano /etc/named.conf

 

DDNS and DHCP

4. Download, copy & edit the example dhcpd.conf file to

http://www.opensourcehowto.org/uploads/conf/dhcpd.conf.txt

DDNS and DHCP

cp dhcpd.conf /etc/dhcpd.conf

DDNS and DHCP

nano /etc/dhcpd.conf

DDNS and DHCP

5. Download, copy & edit the example fedora.directory.server.hosts file to

http://www.opensourcehowto.org/uploads/conf/fedora.directory.server.hosts.txt

DDNS and DHCP

cp fedora.directory.server.hosts /var/named/chroot/var/named/fedora.directory.server.hosts

DDNS and DHCP

nano /var/named/chroot/var/named/fedora.directory.server.hosts

DDNS and DHCP

6. Download, copy & edit the example 0.168.192.rev file to

http://www.opensourcehowto.org/uploads/conf/0.168.192.rev.txt

DDNS and DHCP

cp 0.168.192.rev /var/named/chroot/var/named/0.168.192.rev

DDNS and DHCP

nano /var/named/chroot/var/named/0.168.192.rev

DDNS and DHCP

7. Change the ownership of all the files in the named chroot

chown -R named:named /var/named/chroot/etc
chown -R named:named /var/named/chroot/var

8. Change the read/write/execute permissions of all the files in the named chroot

chmod -R u+rwx /var/named/chroot/etc
chmod -R u+rwx /var/named/chroot/var

 

DDNS and DHCP

 

9. Now you just need to start bind & dhcpd 

 

/etc/init.d/dhcpd start
/etc/init.d/named start

 

DDNS and DHCP

 


BookMarking:

 

cell1

cell3 Submit to del.icio.us
cell4
AddThis Social Bookmark Button



Trouble Shooting:


Go to the wiki page

Go to the 'Contact Us ' Forum

Go to the how-to's Support Forum


External Links:

 

http://www.isc.org/sw/dhcp/

Last Updated ( Sunday, 03 June 2007 )
 
Next >