I am have just configured my IP Masq'ing machine as a caching DNS also
(well, I tried to) but I have a few questions:
1) Here is my named.boot file does it look correct?
; a caching only nameserver config
;
directory /etc/dns
cache . root-servers
;primary 0.0.127.in-addr.arpa named.local
I created the directory /etc/dns and placed the named.cache file in
there that I downloaded from the internet and renamed it to
root-servers. I then restarted the name server.
2) Do I need to go to my clients (95/NT) and place the IP Address of my
local caching DNS that I just configured as there DNS or leave there
DNS's as the ISP assigned DNS?
3) My IP Masquerading will not work untill I run the commands
manually. I put the commands on the end of my rc.local but it does not
work at boot time. Maybe I did it wrong here is what it looks like:
#!/bin/sh
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
if [ -f /etc/redhat-release ]; then
R=$(cat /etc/redhat-release)
else
R="release 3.0.3"
fi
arch=$(uname -m)
a="a"
case "_$arch" in
_a*) a="an";;
_i*) a="an";;
esac
# This will overwrite /etc/issue at every boot. So, make any changes
you
# want to make to /etc/issue here or you will lose them when you reboot.
echo "" > /etc/issue
echo "Red Hat Linux $R" >> /etc/issue
echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue
cp -f /etc/issue /etc/issue.net
echo >> /etc/issue
echo "Load IP Masquerading drivers..."
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -S 200.200.200.0/24 -D 0.0.0.0/0
/sbin/insmod ip_masq_ftp
/sbin/insmod ip_masq_quake
/sbin/insmod ip_masq_raudio
Thanks for the help!
Derek Horton
[EMAIL PROTECTED]