First, this may not even be necessary. If the one IP you enter via STN's gui fails,
after a timeout STN will try it's root.ca root nameservers. If those are down, we're
in *real* trouble...
But if you want it, a workaround is easy via the web admin. I just now tested this on
my STN 2.1.3. On the "Manual Startup Commands" window, enter the following lines:
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`
Where ip1, ip2 and ip3 are the ip addresses of the DNS servers your ISP gives you,
space delimited. Note that this will replace the one IP STN's gui lets you put in
with these, so include all of them here.
The first line just displays the comment during bootup--it's optional.
The second line changes the end of the forwarders line to read whatever the ip's you
choose are and saves that change as /tmp/t.
The next line overwrites the old named.boot with the new version.
The last line restarts the named process, making it reread the (new) named.boot file
with the new configuration.
Of course, save the change (by clicking OK lower on that frame), and reboot the STN
box.
This kind of modify the config file for and restarting of a process is a reliable way
to do lots of stuff on bootup. I started this by saying it was "easy", which I want
to qualify. It's easy to enter it into the GUI--you just need to know what to put.
For that, you need to know Unix (Linux), which in and of itself is NOT easy, but worth
it if you have the time.
pjb
At 01:16 PM 3/17/00 -0800, you wrote:
>Hi everyone who reads this,
>I am trying to come up witha solution to having multipal dns entries in
>STN.
>I contacted STN support and got a limited response to the effect that
>STN
>will support ONE dns entry. I have FOUR dns entries to put in.
>I am on a roadrunner system and they have more than one dns, I guess for
>
>redundancy and load shareing and just cause these things go down
>sometimes.
>I am concerened that if I have only one entry I could be stuck -
>needlessly!
>I have only configured STN from the windows interface and have nat and
>admin selected under the options tab.
>
>Anyone have any suggestions for an improvement to this. I can not expect
>I
>am the only one that has this concern.
>
>I am right now hard coding the dns entries in to the win boxes network
>info.
>And can get 3 of the 4 entries entered that way, It is a pain to chase
>each machine
>when the info changes (as it did recently) and we were down for the
>better part
>of a day trying to figure out what went wrong from one moment to the
>next.
>
>Ideal solution would be for STN to get this info from my provider for me
>
>on boot or more frequently. After all, DHCP works this way!
>
>Any comments / suggestions welcome
>
>
>--
>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
>
Patrick Belliotti
PGP Key available at pgpkeys.mit.edu
PGP fingerprint: 705C B779 76B7 566F 78FC 6CC2 09F0 5EE6 C42D F0B7
--
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