David Rankin wrote:
David,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.
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
