Mount Volume using server's DNS name
Mount Volume using server's DNS name
- Subject: Mount Volume using server's DNS name
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 10 Feb 2001 09:28:38 -0500
I know how to use the Mount Volume command in the Standard Additions osax to
mount a volume via IP using the server's IP address, like so: "afp://<user
name>:<password>@10.0.1.2/<volume name>".
But how do I mount the volume via IP using the server's DNS name instead of
its IP address? I'm on a small home network using simple file sharing. The
AppleTalk name of the server (i.e., the name of the machine with file
sharing turned on) is apparently not the same as its IP DNS name. Thus, this
doesn't work: "afp://<user name>:<password>@Bill's Mac OS X PB/<volume
name>". AppleScript Help says you have to know what the DNS name is and
can't browse for it, apparently meaning you have to be the system
administrator. (That would be me, but I haven't been certified.)
You probably noticed that my server is running Mac OS X Public Beta. It
works just fine as a file sharing server using its IP address. The Network
preferences module's IP pane even has a place where you can type in a name,
but it comes named "localhost" and I know just enough about Unix to be
uncomfortable changing it. I suppose I could experiment, but I wonder if
somebody can tell me what the side effects will be. And, anyway, I don't see
any similar ability to assign a DNS name in Mac OS 9.1.
Do home file sharing servers even have DNS names under Mac OS 9.1, out of
the box? If not, is there a way to assign a DNS name?
Is this something that must be done using the AppleScript that is hidden in
the Apple Help modules, as described in a couple of recent Tech Info Library
articles about configuring USB printer sharing? Those TIL articles are very
cryptic and don't really explain what must be done or why. And the
AppleScript in question was saved as run-only, presumably to keep the
details away from prying eyes like mine.
The reason I would like to mount a volume by DNS name is that my server
acquires its IP addresses from an AirPort Base Station configured as a DHCP
server. In other words, the IP address of the server can change from boot to
boot. I assume its DNS name, if any, would stay the same.
Maybe my only hope is to change the AirPort network setup to assign specific
IP addresses to each machine "manually".
All help appreciated.
-
Bill Cheeseman, Quechee, Vermont <
mailto:email@hidden>
The AppleScript Sourcebook
<
http://www.AppleScriptSourcebook.com/>
Vermont Recipes-A Cocoa Cookbook
<
http://www.stepwise.com/Articles/VermontRecipes/>