Re: dhcp startup
From: P.T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 12/28/03
- Next message: P.T. Breuer: "Re: Learning question about a compromised system"
- Previous message: John Bailo: "Rational Betting"
- In reply to: Scott: "Re: dhcp startup"
- Next in thread: Searle: "Re: dhcp startup"
- Reply: Searle: "Re: dhcp startup"
- Reply: Scott: "Re: dhcp startup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Dec 2003 06:40:22 GMT
Scott <scott@somewhere.invalid> wrote:
> Well I don't use SuSE, but I've found that in general Linux DHCP
No you haven't found - your experience is the product of your own
perceptions and shortcomings, and is not a fact at all!
> client software is pretty incomplete - if you can use a fixed address,
> do so. I recently set up dhcp + ddns (running on linux servers) for
No you didn't set it up, in the common semantics of the phrase.
> our company subnets. The Windows machines all work great, they receive
> all information required, Samba assigns the network drives, and DNS is
> updated. However, The linux clients just about manage to find an IP
> address, netmask and default route, and that's it. DNS, domain name,
They get whatever you tell them to get from a dhcp server. Configure
your dhcp client software appropriately! I use dhclient and the config
is is
/etc/dhclient.conf
and in case you wanted to do anything at all, the script that
interprets the config and which is called by dhclient with certain
parameters when it makes contact is
/etc/dhclient-script
and can be altered any way you please to do anything at all that you
want to do. You'll find manpages for both these elements in the
package. What you usually want to do is modify one of
/etc/dhclient-{entry,exit}-hooks
which are the intended modification points. The documentation states
how these scripts are called and under what circumstances. But you
will not normally need anything special. This system is common across
many operating systems, not merely linux, so you can be SURE that your
criticisms are unfounded:
AUTHOR
dhclient-script(8) has been written for the Internet Soft
ware Consortium by Ted Lemon <mellon@fugue.com> in cooper
ation with Vixie Enterprises. To learn more about the
Internet Software Consortium, see http://www.vix.com/isc.
To learn more about Vixie Enterprises, see
http://www.vix.com.
> search domain etc all have to be hard-coded (which kind of defeats the
No they don't! I at least have
request domain-name, domain-name-servers;
in my dhclient.conf!
> object of dhcp), and I assume some other software is required for the
> Linux clients to announce their hostnames and addresses to the DNS for
> dynamic updates, since by default, they don't do that either.
Uh, fella, you must be crazed. ddns runs on a dns server - it's a dns
protocol, and the best place to talk to it from is the dhcp server.
Wenever the dhcp server adds a new lease for a client, on my machines it
tells the dns server all about it via the ddns protocol and the dns
server updates its database accordingly. Tools for talking via ddns
come with your dns server.
I've been going with this particular setup for about 4 years!
> It's not too big a deal for us, since all the linux servers have fixed
Yes it is too big a deal for you.
> addresses, as well as my Gentoo desktop, with fixed entries in DNS.
> Everyone else in the company uses Windows on the desktop, which works
> fine. It's a shame it doesn't work for Linux; I'm sure it'll be fixed
I don't know if you know you are blowing! But I almost suspect you are
doing it deliberately.
> eventually...
It has been fixed - years and years ago. The problems I originally had
when I first started doing dhcp + ddns years ago were that the bind
server overwrites its zone file when one does a ddns update, thus losing
all ones carefully written comments and TXT entries. That sukkzz. The
solution is to use a different zone file for humans, and copy it to the
real zone file at dns startup, after having scanned the lease file in
order to add in the validly leased dynamic info. Same for when humans
do a zone data change.
Peter
- Next message: P.T. Breuer: "Re: Learning question about a compromised system"
- Previous message: John Bailo: "Rational Betting"
- In reply to: Scott: "Re: dhcp startup"
- Next in thread: Searle: "Re: dhcp startup"
- Reply: Searle: "Re: dhcp startup"
- Reply: Scott: "Re: dhcp startup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|