LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-26-2004, 02:44 PM   #1
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Rep: Reputation: 30
Creating nameserver to resolve purchased domain to my computer


I recently bought my own domain and I want to continue hosting from my own computer. I used to use dyndns.org as a dynamic dns address, but now I want my .com address to resolve to my computer. Note: I have dynamic ip addresses, but I usually keep the address for months at a time. I checked my router and found the address of both primary and secondary dns servers, but I am not sure what to do from there, as the nameservers I must have on my registered domain account cannot be in ip form. I understand I must do something in /etc/resolv.conf. Any suggestions? Thanks.
 
Old 07-26-2004, 03:07 PM   #2
Booster
Member
 
Registered: Sep 2003
Location: Ontario, Canada
Distribution: Gentoo, Suse
Posts: 59

Rep: Reputation: 15
Check out the free DNS service at http://afraid.org It's quite nice.
 
Old 07-26-2004, 03:19 PM   #3
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks for replying...but it seems as if I must purchase a domain name and register it with a few nameservers before I use the domain service...I already have a domain name. Or, do I not understand something?
 
Old 07-26-2004, 03:24 PM   #4
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
techrolla

Just an observation the nameservers you got from your router have nothing to do with your domain name

These are provided by your ISP so that your web browser can resolve addresses when you are surfing the net

If you want to find out which nameservers are currently responsible for your domain, on the command line enter
Code:
dig yourdomain.com
Pete
 
Old 07-26-2004, 03:29 PM   #5
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
First off, let me state this clearly

DNS hosting needs a STATIC dns address for the nameservers.

Just keeping a dynamic IP address for "weeks at a time" isn't enough. If you can't arrange to get a static ip address with your provider use the services provided by the company you registered dns with. Without a static ip address, each time your pc loads a new IP address you'll have at least a 48 hour delay on updating that address across *most* of the internet.

That being said, bind is a HUGE topic for discussion. DNS hosting and setup is not a trivial task as there are a few things to consider. Go read up on BIND or NAMED(they're the same thing) and come back with specific questions for help.
 
Old 07-26-2004, 03:36 PM   #6
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Pete M
techrolla

Just an observation the nameservers you got from your router have nothing to do with your domain name

These are provided by your ISP so that your web browser can resolve addresses when you are surfing the net

If you want to find out which nameservers are currently responsible for your domain, on the command line enter
Code:
dig yourdomain.com
Pete
I know the current nameservers, but will this eventually lead me into having to setup bind in one way or another? A Static ip address is not an option for me, as I don't have the $ for one, and my site isn't so important that it would be a disaster to have it off for 2 days. And "weeks" at a time should be "months" at a time, although it doesn't seem like that matters. So there is no quick answer to this? If not, I am all for doing the learning to get somethng working up here...
 
Old 07-26-2004, 03:52 PM   #7
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
Install your distro's package for webmin, and either webmin-bind or webmin-named, and use webmin to setup a new DNS server + records.
 
Old 07-26-2004, 03:55 PM   #8
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
techrolla
Quote:
Check out the free DNS service at http://afraid.org It's quite nice.
I think Booster already gave you the answer to your problem

As jrmann1999 stated running a nameserver from your own machine is not a good idea with your dynamic IP

If you would like an insight into BIND look here DNS How-to

For dynamic DNS look here How-to

Pete
 
Old 07-26-2004, 04:58 PM   #9
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks...So if I set up my registrar's name servers to be the ns(n).afraid.org servers, I will be able to do this? Thanks.
 
Old 07-30-2004, 12:20 PM   #10
Booster
Member
 
Registered: Sep 2003
Location: Ontario, Canada
Distribution: Gentoo, Suse
Posts: 59

Rep: Reputation: 15
Yup! Once you're set up on afraid.org, just point your registrar to it, and you should be off to the races. Well, it'll likely take hours or days before it filters out through the net.

Cheers!
 
Old 07-30-2004, 02:35 PM   #11
techrolla
Member
 
Registered: Nov 2003
Distribution: Gentoo, Debian
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks guys, it works like a dream http://muffinpeddler.com
 
Old 07-30-2004, 02:49 PM   #12
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
techrolla

Well done

Pete
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what would make ever virtual domain name resolve to one domain name on my system kuplo Linux - Newbie 1 11-14-2005 06:57 PM
bought domain name, trying to configure nameserver edschurr Linux - General 2 02-19-2005 05:09 PM
Nameserver on different domain? greyhammer Linux - Networking 5 01-06-2005 07:31 AM
change nameserver domain on ssh ? maxboost Linux - Networking 1 10-07-2003 11:57 PM
Need help with a domain / nameserver problem jfall Linux - Networking 9 10-09-2002 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration