LinuxQuestions.org
Visit Jeremy's Blog.
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 10-06-2004, 02:47 PM   #1
fbfd1338
LQ Newbie
 
Registered: Mar 2004
Location: Motor City, MI
Distribution: Redhat 7.3
Posts: 12

Rep: Reputation: 0
DNS server at home


Hey everone. I just want to start out by saying that this forum is awesome, I have learned so much here in the past year. Unfortunately there is one thing I haven't been able to understand or find. I am looking to host a web server and ftp server from my home server. I have a dynamic ip address through my isp. I can configure apache and proftpd just fine, they work great. I have an account at dyndns.org, but here is the hard part. I just registered my own domain, and I cant seem to figure out how to point it at my linux computer. I'm trying not to spend the 25 dollars that dyndns.org and websites like it have to provide a nameserver. I guess my question would be, is there a way to host the website and ftp on my home server without any other hosting costs aside from registering the custom domain name? And if there is, how do I do it?

Thanks alot in advance.
-Kevin
 
Old 10-06-2004, 07:04 PM   #2
nmistry
LQ Newbie
 
Registered: Nov 2003
Posts: 9

Rep: Reputation: 0
The dynamic ip will propose a problem but I suggest this site for help
It walks you through the process

http://www.tldp.org/HOWTO/DNS-HOWTO.html
 
Old 10-06-2004, 10:45 PM   #3
blizunt7
Member
 
Registered: Mar 2004
Distribution: Fedora Core 1,2,3, RHEL3,4,5 Ubuntu
Posts: 272

Rep: Reputation: 30
i dont know much about the web server side, but i would say for sure, a dynamic ip address will pose a huge problem for the ftp server. A static ip is usually a must. With no static ip, a use would have no idea of an address to ftp into. Having the DNS will point users to your web page, but the web page and ftp server needs to be hosted on your own machine, and can be done only with a static IP address. My suggestion, would be to look into obtaining a static IP from your ISP. ALL the best.

Josh

PS: i have to agree, this forum has a huge wealth of knowledge.
 
Old 10-06-2004, 10:54 PM   #4
DirtyDan
Member
 
Registered: Aug 2004
Posts: 41

Rep: Reputation: 15
There's ways of doing it, but they are beyond me. On shilo's guide he says something about...
Quote:
No need for an IP updating program on my computer, I just let my router take care of the automatic updating.
But I really dont know how you would write a program to login to dydns.org and update your ip on a change. Sorry, maybe a guru is around to help
 
Old 10-06-2004, 11:28 PM   #5
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If the host is always on then the IP address is unlikely to change even if you're on dynamic ip, since the host automatically renews the dhcp lease every now and then with the same ip address. Though it'll depend on the ISP's configuration.

I haven't tried dyndns.org but this is what I use(its free):
http://www.afraid.org

Basically what you need to do is register your domain, point the nameservers to afriad.org nameservers, add your dns records, then run dynamic dns updating scripts(which they provide on their website) at regular intervals(say every 6 hours or something)

Last edited by Demonbane; 10-06-2004 at 11:30 PM.
 
Old 10-07-2004, 07:19 AM   #6
nmistry
LQ Newbie
 
Registered: Nov 2003
Posts: 9

Rep: Reputation: 0
another point is the ip is unlikely to change if the machine is always on, check it often to find out when it changes, you may find that you have had the same one for a while.

don't let the ip issue keep you from setting up your dns server, you may find that the ip is not changing often. Just be aware of this possiblilty when trouble shooting (ie: you restart your system after some software-hardware update and then all of a sudden-guess what!)

make sure your machine is accesable from outside your lan via ip address (your firewall is open enough to allow certain requests.) This way you have assured connections and know things are working- then tackle your dns

also I suggest setting up a modem for connectivity so you can trouble shoot from 'outside' your network, test settings made, a bit of due diligence. This allows you to look into your zone or network from the outside like everyone else would intead of within your lan (localhost and so forth)
 
Old 10-07-2004, 08:18 AM   #7
manvirr
Member
 
Registered: Jul 2004
Location: Chandigarh
Distribution: RedHat 9.0
Posts: 34

Rep: Reputation: 15
Your main problem will be that of child name servers. Since the child nameservers have static IP's and these IP's are stored in the Internet registry (internic.net or verisign) You will not be able to change on the fly. Now these child name server IP's point to where the nameserver can be found. (the DNS that you are trying to create). So you may not be able to do this for your domain until there is a DNS that points to your dynamic IP's on the fly.

Cheers
http://www.linuxbrats.com/forums
http://www.linuxbrats.com/forums/rss.php
http://www.propertytalaash.com

Last edited by manvirr; 10-07-2004 at 08:19 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
Home DNS Server khurtwilliams Linux - Networking 5 06-05-2004 11:37 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM
DNS Server for home office with firewall rioguia Linux - Networking 3 12-29-2002 08:05 PM


All times are GMT -5. The time now is 04:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration