Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-05-2004, 09:14 PM
|
#1
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Rep:
|
How to setup DNS on a VPS ?
I have never really dealt with DNS before so I am a little confued with this.. I have a domain name registered at godaddy.com, and I was wondering how do I transfer it to a VPS that I have. Godaddy has a place to enter in the new name servers, but I'm not sure what to put there. The place I got the VPS from says to put in something like ns1.yourdomain.com, and ns2.yourdomain.com. How would godaddy know where ns1.mydomian.com is if there is no DNS on it to point to the servers IP? Would I have to setup bind my the VPS first then enter in the VPS's IP address for the name server at godaddy?
|
|
|
04-06-2004, 03:22 AM
|
#2
|
Member
Registered: Oct 2003
Location: San Francisco
Distribution: Slackware 13.37
Posts: 150
Rep:
|
You have to register a new name server. The website that you registered the domain with should give you the ability to register a name server. That is where you specify that x.x.x.x should resolve to ns1.yourdomain.com. After a few days (usually) the internet name servers will all get updated with your DNS server's info.
|
|
|
04-06-2004, 12:48 PM
|
#3
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Original Poster
Rep:
|
There is a place to enter name servers, but I don't see how adding ns1.mydomain.com into there will do anything, because there is no current DNS server at ns1.mydomain.com.
Would I have to setup bind on my server and enter in the servers IP address for the name servers?
|
|
|
04-06-2004, 01:36 PM
|
#4
|
LQ Newbie
Registered: Apr 2004
Location: Sacramento, CA
Distribution: RHEL 3, Fedora, Slackware (all)
Posts: 7
Rep:
|
Its okay that you do not have DNS running yet. You'll need to register the two IP addresses as names servers before you can use them as your domains ns servers. I too use GoDaddy and that is the correct place to insert your IP's. You'll get an email anywhere from 24 to 72 hours later letting you know that the IP addresses were registered. Once that has happened you can then put in, ns1.example.com and ns2.example.com, to act as your name servers.
Next would be configuring DNS on your VPS. What Linux distro are you using? Were you given a control panel or just shell access? If you have control panel access is it CPanel, Plesk or another? They are all able to configure your DNS through them.
I would only use shell access and command line tools if a contol panel is unavailable.
|
|
1 members found this post helpful.
|
04-06-2004, 02:19 PM
|
#5
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Original Poster
Rep:
|
Quote:
You'll need to register the two IP addresses as names servers
|
I only have one IP address on the server. Do I enter it twice?
Quote:
What Linux distro are you using? Were you given a control panel or just shell access? If you have control panel access is it CPanel, Plesk or another?
|
Its Debian, and I only have shell access.
Edit..
I tried putting in the IP of my server into Custom Name Servers box and a get a error saying
Code:
Field Validation Error
Please correct the following issue(s):
Nameserver 1 contains an invalid character.
Nameserver 2 contains an invalid character.
Last edited by fur; 04-06-2004 at 02:37 PM.
|
|
|
04-06-2004, 03:05 PM
|
#6
|
LQ Newbie
Registered: Apr 2004
Location: Sacramento, CA
Distribution: RHEL 3, Fedora, Slackware (all)
Posts: 7
Rep:
|
Hmmm. Not sure what the issue is with your GoDaddy part. Did you put the IP in and then the name of your name server, ex: NS1 in the text field next to HOST: and then the IP address. Make sure you inputing only valid number characters for the IP and only alphanumeric in the host.
|
|
|
04-06-2004, 03:15 PM
|
#7
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Original Poster
Rep:
|
I put the IP address of my server under the "Set Namerservers" section in this box then clicked save changes.
I'm not seeing any "host" section.
Last edited by fur; 04-06-2004 at 03:16 PM.
|
|
|
04-06-2004, 03:23 PM
|
#8
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Original Poster
Rep:
|
Here is a screen shot of the godaddy page.
|
|
|
04-06-2004, 04:02 PM
|
#9
|
LQ Newbie
Registered: Apr 2004
Location: Sacramento, CA
Distribution: RHEL 3, Fedora, Slackware (all)
Posts: 7
Rep:
|
Ahhh, click on your domain name on the left hand side. Then on the very bottom of the right hand side is a tab labled "Domain Host Summary". Click on the link specified to register new name servers, as I already have some my link says "Click here to see details or to modify." The new screen is where you can register your IP address as a name server.
|
|
|
04-06-2004, 04:35 PM
|
#10
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Original Poster
Rep:
|
Thanks.
|
|
|
All times are GMT -5. The time now is 01:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|