Mark,

    Your on the right track. I stumbled through the configuration process
looking for a great reference that would help, and finally found two sources
that held the key. (I have the hardcopies somewhere that I could dig out for
you and fax -- probably 40 pages) The configuration challenge is daunting,
but it has nothing to do with BIND or dhcpd. The challenge is just finding
the one or two docs that actually break the config down to simple english.
The actual setup takes about an hour if your slow like I am. (not a VI
expert, but I get by - just have to remember whether it is yyn or ddn)  I
set up BIND and dhcpd to work together in my office along with everything
else under the sun on my LM 7.2 server  (ssh, pptpd - vpn, ftp, pop3, imap,
smtp, samba, etc..) and I went to 436 days uptime without a single glitch,
moved offices and had to shut it down, and have gone nearly 180 days since
without a glitch (besides the time msec got pissy with me)

    The point to be made is, that once you take the time to learn the animal
it really is a "setup and forget process." My LM box "is" my law office,
serves 8 various M$ client machines, everyone from home via vpn, and I have
no complaints.

    So what your trying to do is easily "doable", you'll just need some help
getting the syntax right. I'm no expert, but I'm more than willing to send
you all my config files to let you digest them. I can't imagine setting my
system up any other way. The working DNS, dhcpd combination is so elegant
and efficient that it truly exposes how LM and Linux can hold its own and
actually "kick the $h17" out of any propriety software on the market.

    Like I said, I'm no expert, but I'll do what I can to hep!

--
David C. Rankin, J.D., P.E.
Rankin * Bertin, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
----- Original Message -----
From: "Mark Weaver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 9:32 PM
Subject: Re: [expert] DHCP duplicate lease???


> David Rankin wrote:
> > OK,
> >
> >     Let's get to the bottom of this. With a properly functioning dns and
> > dhcpd the system should be be idiot proof and work 100% of the time.
It's
> > that simple. For LM, BIND and dhcpd work flawlessly once configured.
Your
> > dhcpd.conf should look something like this: (of course there are more
> > options and your internal LAN address may vary)
> >
> > subnet 192.168.7.0 netmask 255.255.255.0 {
> >         # default gateway
> >         option routers 192.168.7.13; (** this is your Linksys Router
> > address***)
> >         option subnet-mask 255.255.255.0;
> >         option domain-name "**whatever your domain is**.com";
> >         option domain-name-servers 192.168.7.14; (this is your server
> > running B IND)
> >         option netbios-name-servers 192.168.7.14; (ditto)
> >
> >         ddns-domainname "**whatever your domain is**.com";
> >
> >         range dynamic-bootp 192.168.7.20 192.168.7.100; **whatever works
for
> > you**
> >         default-lease-time 21600; (up to you)
> >         max-lease-time 43200; (ditto)
> >
> >         # Adding zone information
> >
> >         zone "**whatever your domain is**.com". {primary 127.0.0.1; }
> > **** note the "." after the domain name in the line above -- syntax --
very
> > important!****
> > }
> >
> > Now if your running BIND, your named.conf should look something like
this:
> >
> > // Filename: /etc/named.conf
> >
> > options {
> >         directory "/var/named";
> >         forward first;
> >         forwarders { 205.218.118.1; 208.180.0.2;};  *** whatever yours
are
> > ****
> > };
> >
> > zone "." {
> >         type hint;
> >         file "named.ca";
> > };
> >
> > zone "localhost" {
> >          type master;
> >          file "localhost";
> > };
> >
> > zone "0.0.127.in-addr.arpa" {
> >         type master;
> >         file "127.0.0";
> > };
> >
> > zone "**whatever your domain is**.com" {
> >          type master;
> >          file "**whatever your domain is**.com (your zone filename that
> > is)";
> >          allow-update{**whatever your domain is**.com;}; (**not the most
> > secure, but bind 8 wouldn't generate a secure key**)
> > };
> >
> > zone "7.168.192.in-addr.arpa" {
> >         type master;
> >         file "192.168.7";
> >         allow-update{localhost;}; (**same comment as above**)
> > };
> >
> > Your various zone files in /var/named will automatically update and
should
> > look like this:
> >
> > [root@Nemesis david]# ls /var/named
> > 127.0.0*  192.168.7  localhost*  named.ca*  named.local*  rbpllc.com
(that's
> > my domain)
> > '
> > [root@Nemesis david]# cat /var/named/192.168.7
> > ;BIND DUMP V8
> > $ORIGIN 168.192.in-addr.arpa.
> > 7       172800  IN      SOA     Nemesis.rbpllc.com. root.rbpllc.com. (
> >                 2001023125 86400 7200 3600000 172800 )  ;Cl=5
> >         172800  IN      NS      Nemesis.rbpllc.com.     ;Cl=5
> > $ORIGIN 7.168.192.in-addr.arpa.
> > 94      10800   IN      PTR     davidgbox.rbpllc.com.   ;Cl=5
> > 100     10800   IN      PTR     Rankin.rbpllc.com.      ;Cl=5
> > 95      10800   IN      PTR     Jodie.rbpllc.com.       ;Cl=5
> > 13      172800  IN      PTR     gw.rbpllc.com.  ;Cl=5
> > 14      172800  IN      PTR     Nemesis.rbpllc.com.     ;Cl=5
> >         172800  IN      PTR     mail.rbpllc.com.        ;Cl=5
> > 98      10800   IN      PTR     Secretary.rbpllc.com.   ;Cl=5
> > 99      10800   IN      PTR     TRIPOD.rbpllc.com.      ;Cl=5
> > [root@Nemesis david]# cat /var/named/rbpllc.com
> > ;BIND DUMP V8
> > $ORIGIN com.
> > rbpllc  172800  IN      SOA     Nemesis.rbpllc.com. root.rbpllc.com. (
> >                 2001023127 86400 7200 3600000 172800 )  ;Cl=2
> >         172800  IN      NS      Nemesis.rbpllc.com.     ;Cl=2
> >         172800  IN      NS      205.218.118.1.  ;Cl=2
> >         172800  IN      MX      0 mail.rbpllc.com.      ;Cl=2
> > $ORIGIN rbpllc.com.
> > TRIPOD  10800   IN      A       192.168.7.99    ;Cl=2
> > Jodie   10800   IN      A       192.168.7.95    ;Cl=2
> > davidgbox       10800   IN      A       192.168.7.94    ;Cl=2
> > Rankin  10800   IN      A       192.168.7.100   ;Cl=2
> > gw      172800  IN      A       192.168.7.13    ;Cl=2
> > mail    172800  IN      A       192.168.7.14    ;Cl=2
> > localhost       172800  IN      A       127.0.0.1       ;Cl=2
> > Secretary       10800   IN      A       192.168.7.98    ;Cl=2
> > Nemesis 172800  IN      A       192.168.7.14    ;Cl=2
> > www     172800  IN      A       192.168.7.14    ;Cl=2
> >
> > ** In a nutshell, that's it! There is NO free ride, read the
documentation
> > and get it set up. Once it is set up, it is bulletproof and fast as a
> > "scaulded ape" And ------ if there are any questions, politely as
Andrew, he
> > is the guru that helped me get through the fog. Andrew Bartlett (E-mail
> > Address(es):  [EMAIL PROTECTED]) Just don't tell him I gave you his
> > address!
> >
> > Sorry Andrew, I didn't know anyone else that would be albe to pick it up
> > from here. Andrew, just FYI, weather is just fine in Texas, hope it's OK
> > down under as well! If it makes you feel an better, my daughter is named
> > Sydney.........
> >
> >
> > --
> > David C. Rankin, J.D., P.E.
>
> David,
>
> Holy hanna! this must be the month of the treasure chest!! Thanks for
> the awesome information. Sorry I didn't respond before this. It's been a
> very hectic week so far and it's only Tuesday.
>
> I'll post back once I've gone over all this and checked my files against
> all this.
>
> Mark
>
>
>
>


----------------------------------------------------------------------------
----


> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to