Networking Forums

Networking Forums > Computer Networking > Linux Networking > Using DHCPd and BIND together

Reply
Thread Tools Display Modes

Using DHCPd and BIND together

 
 
Bram van Gessel
Guest
Posts: n/a

 
      07-21-2003, 11:38 AM
Hello,

On a server computer I installed the DHCP server DHCPd and a DNS server BIND
which are both working fine.
When a client requests an ip-address I want that its hostname is
automatically associated with this ip-address, so I can use the same name
for the same computer every time, even if it hasn't got the same ip-address
all the time.
Can anyone help me with this?

I'm using Redhat 8.0 on the server and various kinds of windows on the
clients.

Thanks in advance,
Bram


 
Reply With Quote
 
 
 
 
Christian Gorecki
Guest
Posts: n/a

 
      07-21-2003, 08:34 PM
Hi,

maybe this can solve your problem.
You can configure your dhcp-server, so it always forces your clients
to get the same ip and dns-name depending on its MAC addresses.

example:

host server1.home.net {
hardware ethernet 01:23:45:67:89:01;
fixed-address 192.168.0.3;
}

passes the ip 192.168.0.3 and the name server1.home.net to
the machine with the MAC address 01:23:45:67:89:01.

hth
christian
 
Reply With Quote
 
Andy
Guest
Posts: n/a

 
      07-22-2003, 01:50 AM
Bram van Gessel wrote:

> Hello,
>
> On a server computer I installed the DHCP server DHCPd and a DNS server BIND
> which are both working fine.
> When a client requests an ip-address I want that its hostname is
> automatically associated with this ip-address, so I can use the same name
> for the same computer every time, even if it hasn't got the same ip-address
> all the time.
> Can anyone help me with this?
>
> I'm using Redhat 8.0 on the server and various kinds of windows on the
> clients.
>
> Thanks in advance,


You can setup an internal only DNS server, and have your DHCP update bind. For
info on how to do this, see this page:
http://www.mattfoster.clara.co.uk/ddns.htm Its pretty easy to understand, and
shoudl tell you everything you need to know.

For more info on how to setup bind (aka named) see:
http://www.tldp.org/HOWTO/DNS-HOWTO.html
For more info on how to setup dhcp see:
http://www.tldp.org/HOWTO/mini/DHCP/index.html

I'm running bind 9, and dhcpd 3.0p11.

If you have win2k or xp clients, make sure that Register this connections
addresses in DNS is checked. You can find that under the the Advanced TCP/IP
properties, on the DNS tab (in xp). I don't think i had to make any changes to
linux clients for them to update dns. Although i'm not sure you need that
option set for windows either :-)

Hope that helps..
Andy

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS & DHCPD Hosam Linux Networking 3 01-28-2008 07:30 PM
dhcpd pechoi@syr.edu Linux Networking 0 06-08-2006 03:15 PM
dhcpd Damir Galič Linux Networking 1 09-08-2005 02:31 AM
dhcpd Henk Salomons Linux Networking 6 02-11-2005 05:08 PM
dhcpd in dmz ? peter pilsl Linux Networking 3 10-30-2004 08:35 PM



1 2 3 4 5 6 7 8 9 10 11