"Mikkel L. Ellertson" wrote:
>
> On Fri, 3 Aug 2001, Craig White wrote:
>
> > Jan Carlson wrote:
> > >
> > > On Thu, Aug 02, 2001 at 08:36:17PM -0700, Craig White wrote:
> > > > Is there a redhat rpm solution that provides DHCP to clients on the local
> > > > lan that adds them to /etc/hosts.
> > > >
> > > > It's disconcerting to have the pauses imposed on network users and it makes
> > > > me question the value of DHCP.
> > >
> > > No, but you can set up a dns server on the dhcp server machine, which
> > > has a zone with an entry for every machine on your lan, and your dhcp
> > > server can tell each machine to use your dns server. That way you
> > > don't need to add anything to /etc/hosts, and there are none of the
> > > pauses that you mention.
> > >
> > ----
> > Ok - I'll byte - throw me a bone please.
> >
> > Is there a faq, how-to on this?
> >
> > I know how to set up dns servers & dhcp servers and obviously edit
> > /etc/hosts but apparently I lack the big picture. If the ip address is
> > only known to dhcpd.leases, how does the dns server know? Is this
> > dynamic dns? Adding them to dns records instead of /etc/hosts seems to
> > be the same work - just a different location. Do I have something
> > sitting in my 9cd pack of RH7.1 server that I am not learned enough to
> > recognize?
> >
> > Thanks,
> >
> > Craig
> >
> >
> The big difference is you only have to update one location - the machine
> running bind and dhcpd. You can give the machine it's hostname when you
> give it the IP, name servers, gateway, etc. If you have machines that
> need a fixed name, you can configure mapping between MAC address and IP
> address in dhcpd.conf. Usualy only servers and the gateway/firewall
> need fixed IPs.
>
> You can also go the dynamic DNS route - I have not tried this, but it is
> susposed to work well also. I don't know if the scripts for it are on
> the RedHat CD's...
>
----------
My understanding was that there is a 3.0 version of dhcpd does
dynamically update dns.
Either way, I am looking for either...dhcpd to update dns or /etc/hosts
or...
a shell script that parses /var/state/dhcp/dhcpd.leases (6.1) or
/var/lib/dhcp/dhcpd.leases (7.1) and 'appends' ipaddress tab hostname
linefeed to /etc/hosts - of course, I could probably write that myself
but I'm lazy.
Craig
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list