How do I setup a dns server to relate a hostname to a public ip.

Problem?  I have a Mac X server that is assigned a public ip address.  I can ftp into the server, however since the server isn't located on a domain (it is "name".local) I can't use a fully qualified domain name such as (server.domain.com) to log into the ftp server.  The company concerned has a domain name on a server in British Columbia.  But the X server I'm referring to is in Crested Butte, Colorado.  How can I go about this.
MCSComputersServicesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mzalfresCommented:
First, your server probably has some name assigned - if you have public IP, your providede probably has also assigned a name to it. But usually this name will be at least not user friendly and easy to remember.

Try 'nslookup <your_public_ip>' to check that.

What you need is first - buy a domain (if you don't have one), and then - create 'A' record in this domain pointing to your public IP. That is all. Many providers offering domains for sale, offer also DNS service for their customers, just find one.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sabioitCommented:
In your internal DNS you can create an A record pointing to the external IP let say you want to call the MAC (MAC)
the go to you zone mydomain.com and create an A record to external IP address called MAC

After that internal users can enter either MAC or mac.mydomain.com and the will be able to get to the external IP address


This will work only for internal users if you need to be able to reach it by name from anywhere them you need to buy a domain name and do basically the same  
0
omarfaridCommented:
Hi,

Since the company has a domain but on some other server, you can use that domain to give the FQDN for the server you want to access with ftp.

e.g. if the company has the domain mycompany.com. , then you  may ask the dns administrator of that domain (if not you) to add an A record under that domain for your server name and ip address.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.