LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2004, 11:33 PM   #1
Terra Niux
Member
 
Registered: Nov 2004
Posts: 36

Rep: Reputation: 15
Dynamic IP - DNS?


Hello I am a beginner when it becomes to most things Linux but i'm trying to learn a little more about hosting my own website, i'm curious to know whether I can have a domain name point to my webserver on a dynamic IP? I have BIND installed aswell if I need to configure it in any way. I have heard of some sites that allow you to do this but aren't free, is there any way I can do this myself?
 
Old 12-05-2004, 12:16 AM   #2
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
I use Zone Edit to point to by webserver behind a cable modem and firewall. They have some info for us with dynamic IP here. Their basic service is free and easy to configure.
 
Old 12-05-2004, 12:29 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You can't run a DNS server like BIND as a resolving nameserver on a dynamic IP address (DNS server IP addresses need to stay fixed). You should do what meblost suggests or look into dyndns.org and like services for name resolution designed to work with dynamic IPs. You'll be using their DNS servers for their domain, as opposed to doing it yourself.
 
Old 12-05-2004, 12:40 AM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I have used no-ip.com myself, with no problems. no-ip and dyndns.org have little scripts that will update your ip info automatically, so you don't have to login to the website.
 
Old 12-05-2004, 12:59 AM   #5
ritme909
Member
 
Registered: Nov 2004
Location: Washington DC
Distribution: Debian, LFS, FC2
Posts: 43

Rep: Reputation: 15
In addition to the other comments I would suggest that you check your ISP's Terms of Service. Some ISP's don't like people running web-servers/mail servers and will block incoming traffic on port 80 and port 25. With port forwarding you can work around this, but you still run the risk of them terminating your account (I assume they would give you a warning first though).

I've been running a web-server off an old PC at home for over a year (with an ISP that forbids running a web-server), and they have yet to say anything, but it is still something to consider...

But then there are very few things as gratifying as running your own web-server and mail server.
 
Old 12-05-2004, 02:01 AM   #6
Terra Niux
Member
 
Registered: Nov 2004
Posts: 36

Original Poster
Rep: Reputation: 15
What if I was to use multiple domain names?
 
Old 12-05-2004, 03:04 AM   #7
ritme909
Member
 
Registered: Nov 2004
Location: Washington DC
Distribution: Debian, LFS, FC2
Posts: 43

Rep: Reputation: 15
I'm not sure that I understand your question, perhaps you could elaborate.

Do you wish to have multiple domains pointing to the same website? Or do you want multiple domains each with their own website served from the same computer?
 
Old 12-05-2004, 03:17 AM   #8
Draygo
Member
 
Registered: May 2004
Location: Frisco, TX
Distribution: Debian Unstable
Posts: 73

Rep: Reputation: 15
You can do it with multiple domains. I know since I've done it before.

Basically you just point domain1.com to nameservers that reside in domain2.com and vice versa. That way you do not need to specify glue records in DNS. The only problem is getting it started. Since one of those domains must be able to resolve initially to get the ball rolling.

After that it's not hard to write a simple script that can check your external ip every 15 minutes and if there is a change then update the zone files and reload the nameserver. Just make sure you set low TTLs on your records so the updates get pushed out faster.

Last edited by Draygo; 12-05-2004 at 03:18 AM.
 
Old 12-05-2004, 05:06 AM   #9
Terra Niux
Member
 
Registered: Nov 2004
Posts: 36

Original Poster
Rep: Reputation: 15
I meant as in using a service like No-IP is it possible to use more than one domain name? say per website.
 
Old 12-06-2004, 01:39 PM   #10
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
If I remember correct no-ip allows you 5 domains for free. Why not go there and have a look:
www.no-ip.org
 
  


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
Dynamic DNS willhawes Mandriva 10 06-21-2004 04:36 AM
Dynamic DNS sporkit Linux - Networking 3 04-28-2004 08:07 AM
Dynamic DNS pyfsapple Linux - Networking 7 05-08-2003 08:05 PM
dynamic DNS linowes Linux - Networking 8 02-21-2003 03:16 AM
Dynamic DNS GOLDF1NG3R Linux - Networking 3 11-20-2001 07:25 PM


All times are GMT -5. The time now is 03:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration