I enetered in the following, the three IP's below are my ISP's DNS
servers. Anyway, entering in the exact following caused my server to
give a !Segmentation error when loading the envi configuration file.
Could you double check my manual startup code if the spacing, commands,
etc are all correct? I thought it might be "set" instead of "sed" but
I'm fairly new to linux.
echo adding forwarders 24.130.1.xx 24.130.4.x 24.128.1.xx to
/etc/named.boot
sed "s/forwarders.*/forwarders 24.130.1.xx 24.130.4.x 24.128.1.xx/g"
/etc/named.boot > /tmp/t
mv /tmp/t /etc/named.boot
kill -HUP `cat /var/run/named.pid`
thanks,
Alan
> echo adding forwarders ip1 ip2 ip3 to /etc/named.boot
> sed "s/forwarders.*/forwarders ip1 ip2 ip3/g" /etc/named.boot > /tmp/t
> mv /tmp/t /etc/named.boot
> kill -HUP `cat /var/run/named.pid`
--
Visit http://www.ShareTheNet.com for info about ShareTheNet
Visit http://www.topica.com/lists/sharethenet for info about this list
_________________________________________________________
Enlighten your in-box. http://www.topica.com/t/15