LinuxQuestions.org
Visit Jeremy's Blog.
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-17-2004, 03:36 PM   #1
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Rep: Reputation: 15
How do I setup a simple name server?


I have registered a domain name, and rather than using the registrar's name servers, I would like to setup a simple name server of my own to resolve its self.

For example, I have domain.com and I would put in the external IP address of my network as the name server, and then forward the port which is used to lookup the IP address to my internal linux server. The server is currently a small web and mail server, but I would like to addon the capability to resolve its self so that I do not need to continue to contact them each time my external IP address has changed.

Any tips on how to do this, and what would be the most simple and quickest but secure way of doing this. I do not plan on resolving more than this one domain.

Thanks,
Jason Bush
 
Old 07-17-2004, 03:51 PM   #2
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
jrbush82

If your IP is not static I afraid your plan simply won't work

You need a service offered by somebody like this dynamic dns

Pete
 
Old 07-17-2004, 04:39 PM   #3
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Original Poster
Rep: Reputation: 15
I don't see why it wouldn't work. My IP will not change unless I change the network card associated with the modem, or if my ISP changes something... on average, about once every three months. It would be easier to change the name server IP to my new IP in the registrar control panel, since I can manually go in and change that, and I am unable to change the forwarding IP address. I understand that each time the IP changes, that it would take a day or two for the new address to propegate... but this way I can do it, rather than having to contact the registrar, opening a ticket, etc...
 
Old 07-17-2004, 04:43 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
jrbush82

Ok as long as you understand the pitfalls here is a good tutorial

DNS

Pete
 
Old 07-18-2004, 08:14 PM   #5
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
Yes, you can use a dynamic IP address with a your domain name. I am using www.no-ip.com to point to my server. It allows you to specify an alternate port for those of you who have ISP's who block port 80. They even have a daemon that automatically updates No-ip's servers to the external IP of the modem. They have a bunch of redirecting services.

So since you already bought a domain name all you have to do is have it point to No-ip's servers (if you plan on using their service) and No-ip will point to your server.
 
  


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
Simple Mail Server Setup paul_mat Linux - Newbie 3 02-16-2005 05:52 PM
simple network setup nenyo Linux - Software 2 02-12-2005 07:39 PM
iptables setup for simple fwd to web server sdbaroni Linux - Networking 3 08-28-2003 12:05 AM
simple mail server setup mehargags Slackware 1 08-04-2003 06:59 AM
simple dialin server setup slack66 Linux - Networking 1 07-12-2003 02:56 AM

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

All times are GMT -5. The time now is 02: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
Open Source Consulting | Domain Registration