in reply to Re: find DNS of local server
in thread find DNS of local server

no, I have ten servers and each has the same script on it but needs to do different things depending on which server it is on

rather than hard coding different server names into the script I want to use just one script, which checks which server it is on and then does the appropriate things

ie if I am of server1 then do A
if I am on server2 then do B
etc

Replies are listed 'Best First'.
Re: Re: Re: find DNS of local server
by Paladin (Vicar) on May 12, 2003 at 14:45 UTC