Go to Post Why aren't the kids who sit alongside the sidelines and observe as valued? Why are they looked upon as leeches, in it for a trip? - Madison [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-03-2005, 21:00
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,507
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Home DNS Server?

Is it possible to set up a home DNS server? I do not have a global IP address for it, only local. But I can forward ports in my router. My home network goes Cable modem>router>switch>computers If it is not possible to set up a real DNS server on the internet from my house (I would prefer to do this, but if I can't then...), can I set one up just for my home network? So when I type a domain, it will point to an http server on my home network?

Specifically, I am using MacDNS. I have read through the manual and read through howstuffworks and wikipedia about DNS but still only vaugley understand it.

What I need to know is how to set up my machine so that when I (or anyone in the globe if possible) type for example mymachine.net it will go to the IP that I set. I am not looking for URL forwarding, I want real DNS from my own DNS server.

Sorry if my question is a little unclear, but this stuff is confusing to me. Thanks.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #2   Spotlight this post!  
Unread 04-03-2005, 21:22
jdhawg's Avatar
jdhawg jdhawg is offline
Programmer/Mentor/Parent. Pick One
AKA: Jack D Higgs
FRC #0364 (Team Fusion)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Gulfport, MS
Posts: 49
jdhawg will become famous soon enough
Re: Home DNS Server?

Is it possible to set up a DNS server at your house so that one machine on your local network can hit another machine by typing www.blingbling.net? Yes. Is it practical to think that someone around the world could do the same? No! The time, effort, and expense make in impractical to do it if you want someone in another city/state/country to hit a box in your house.
__________________
"Opportunity is missed by most people because it is dressed in overalls and looks like work." - Thomas A. Edison

"In the professional world, spelling mistakes, grammatical shortcuts, leet-speek, and misused verbiage are not interpreted as signs of cute, efficient communications. They are indicators of illiteracy, inefficiency, unprofessional behavior, and sloppy work habits." - Dave Lavery
  #3   Spotlight this post!  
Unread 04-03-2005, 21:45
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Home DNS Server?

Quote:
Originally Posted by sanddrag
Is it possible to set up a home DNS server? I do not have a global IP address for it, only local. But I can forward ports in my router. My home network goes Cable modem>router>switch>computers If it is not possible to set up a real DNS server on the internet from my house (I would prefer to do this, but if I can't then...), can I set one up just for my home network? So when I type a domain, it will point to an http server on my home network?

Specifically, I am using MacDNS. I have read through the manual and read through howstuffworks and wikipedia about DNS but still only vaugley understand it.

What I need to know is how to set up my machine so that when I (or anyone in the globe if possible) type for example mymachine.net it will go to the IP that I set. I am not looking for URL forwarding, I want real DNS from my own DNS server.

Sorry if my question is a little unclear, but this stuff is confusing to me. Thanks.
I think what you are asking for is to type in a url and to access your server. The setup isn't really a DNS server but more a webserver. YOu will want to get something running apache or another simmilar program. Then you need to forward within your router to the server running apache, within apache it will read the url and decide what folders to send the user to. Basicly it sounds to me you want to make a webserver. If thats what you really want then just do a search here on CD and you'll find many resources that others including myself have learned.
  #4   Spotlight this post!  
Unread 04-03-2005, 22:12
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,507
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Home DNS Server?

No, I already have a couple webservers. www.classicserver.net

Right now I have the domain pointed with DNS to a CPanel (hosting) account that I pay for. Then in CPanel, I redirect it to my IP and port.

What I want is another machine of my own to be a DNS server. First, I will have to edit my domain registration info to use the name of my personal DNS server. Then when a browser types www.classicserver.net it will contact my DNS server and my DNS server will say "oh, I know the IP for that domain, here ya go" and then the browser will say "okay great, I'll go ahead and load that IP"

I have the software installed, I just don't know much about it. I don't know what name to give my DNS server and stuff like that.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #5   Spotlight this post!  
Unread 04-03-2005, 22:19
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Home DNS Server?

Quote:
Originally Posted by sanddrag
No, I already have a couple webservers. www.classicserver.net

Right now I have the domain pointed with DNS to a CPanel (hosting) account that I pay for. Then in CPanel, I redirect it to my IP and port.

What I want is another machine of my own to be a DNS server. First, I will have to edit my domain registration info to use the name of my personal DNS server. Then when a browser types www.classicserver.net it will contact my DNS server and my DNS server will say "oh, I know the IP for that domain, here ya go" and then the browser will say "okay great, I'll go ahead and load that IP"

I have the software installed, I just don't know much about it. I don't know what name to give my DNS server and stuff like that.
You do not need to set up a dns server for what you are looking for.
You would just need to set up nameservers to your ip address on your domain through whoever you registered the domain you have with, then for the nameservers you would set it to ns1.classicserver.net and ns2.classicserver.net or whatever

EDIT:
You would need to contact powerpipe.com (the place your domain is registered by) and ask them to set up name servers from your domain name to your ip address, then alter your nameservers from cp1.globaldns.org and cp2... to whatever they had just set up.
also:
you would have to change your serving port from 81 to 80 on your ip address, that is if your internet service provider allows you to host form there (Mine doesn't ).
__________________
- from B B frank


Last edited by AIBob : 04-03-2005 at 22:27.
  #6   Spotlight this post!  
Unread 05-03-2005, 01:13
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,131
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Home DNS Server?

It's quite possible to do this - my own site is served by a home-brew DNS server. What you need to do first is through your registrar set your internet connection's IP address as your domain's nameserver. Then you need to tell your router to forward port 53 (the DNS lookup port) to your DNS server, which should be configured to deliver your internet connection's IP when it receives a lookup request for your domain. However, as far as I know, you can't specify a port in DNS for a given domain (and shouldn't have to).
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
  #7   Spotlight this post!  
Unread 05-03-2005, 12:26
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,507
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Home DNS Server?

Quote:
Originally Posted by Pat Fairbank
It's quite possible to do this - my own site is served by a home-brew DNS server. What you need to do first is through your registrar set your internet connection's IP address as your domain's nameserver. Then you need to tell your router to forward port 53 (the DNS lookup port) to your DNS server, which should be configured to deliver your internet connection's IP when it receives a lookup request for your domain. However, as far as I know, you can't specify a port in DNS for a given domain (and shouldn't have to).
I think for the most part you understand exactly what I am trying to do and I understand exactly what you are saying to do. So in the registrar info, I can just put an IP for the nameserver instead of something like ns1.classicserver.net?
Quote:
Originally Posted by Pat Fairbank
your DNS server, which should be configured to deliver your internet connection's IP when it receives a lookup request for your domain.
Now I just have to figure out how to do this. I don't have the machine all set up right now but I'll edit this post later with alt he entry fields and options it wants me to fill out. Thanks for the help.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004

Last edited by sanddrag : 05-03-2005 at 12:29.
  #8   Spotlight this post!  
Unread 05-03-2005, 14:10
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Home DNS Server?

Quote:
Originally Posted by sanddrag
I think for the most part you understand exactly what I am trying to do and I understand exactly what you are saying to do. So in the registrar info, I can just put an IP for the nameserver instead of something like ns1.classicserver.net?
If you are really going to set the nameserver on your computer, and set up port 53 as pat fairbank said, then you can, that is what a dns server does.

But do not forget, you need two nameservers, you cannot just use one ip address, it is required that you have two.

Quote:
Originally Posted by sanddrag
Now I just have to figure out how to do this. I don't have the machine all set up right now but I'll edit this post later with alt he entry fields and options it wants me to fill out. Thanks for the help.
If you just have the nameservers set as your ip address(es), then that is all you would need.
When anyone accessed your website, it would look for the nameserver (your ip address) go to your nameserver and ask your nameserver what ip address to go to. It would then contact your ip address again, on port 80 (by default), and reguest the page, your server would then respond with your current page.
__________________
- from B B frank

  #9   Spotlight this post!  
Unread 05-03-2005, 17:15
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,507
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Home DNS Server?

Quote:
Originally Posted by AIBob
When anyone accessed your website, it would look for the nameserver (your ip address) go to your nameserver and ask your nameserver what ip address to go to. It would then contact your ip address again, on port 80 (by default), and reguest the page, your server would then respond with your current page.
Yes, this is exactly what I want.

In the registrar info for the domain, can i put my one IP for both nameservers? If not, what do I do?

Anyway, in MacDNS here is what I need to set up that I need help with. I need to fill in all these blanks.

I go File>New Zone File. Then it asks for:
Domain Name
Primary Server
Secondary Server
Refresh Interval
Retry Interval
Expire Interval
Minimum TTL

Then if I go Hosts>add permanent hosts it asks for:
Host name
IP
TTL
Aliases
Mail Exchangers

And there are also dropdowns for Hardware and Software

Also, I need to set parent servers. Can I use just anything?

Thanks so much for your help.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #10   Spotlight this post!  
Unread 05-03-2005, 18:21
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Home DNS Server?

I was looking around, and I found a website that might be able to help you more than I can:
http://www.macbooks.net/Handbook/col...01_macdns.html
__________________
- from B B frank

  #11   Spotlight this post!  
Unread 05-03-2005, 22:50
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,507
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Home DNS Server?

I guess I should have done this earlier but I checked and my ISP (Charter-Sucks Communications) blocks port 53 (as well as 110 and 80 btw). So, it looks like the idea will never work anyhow (because I don't think there is any way around ISP-blocked ports), at least not until I get a new ISP which will be a while.

Oh, well.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #12   Spotlight this post!  
Unread 05-03-2005, 23:11
Petey's Avatar
Petey Petey is offline
Strategy & Gaming
AKA: Chris Peterson
None #1073 (Team F.O.R.C.E.)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Hollis-Brookline, NH
Posts: 644
Petey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond reputePetey has a reputation beyond repute
Re: Home DNS Server?

I've never had much luck in this venture, but I use http://freedns.afraid.org. They work well.

You could also try www.zoneedit.com

That should help, if I am understanding you correctly.

--Petey
__________________

Bio:
Team 1073 alumnus, now Admissions Officer at MIT.

Thanks to all those who have helped me through FIRST over the years.
  #13   Spotlight this post!  
Unread 06-03-2005, 01:26
Mike AA's Avatar
Mike AA Mike AA is offline
Programmer and Mentor
AKA: Mike Aalderink
FRC #3458 (Code Blue)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Holland, Mi
Posts: 698
Mike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to beholdMike AA is a splendid one to behold
Send a message via MSN to Mike AA
Re: Home DNS Server?

Quote:
Originally Posted by sanddrag
I guess I should have done this earlier but I checked and my ISP (Charter-Sucks Communications) blocks port 53 (as well as 110 and 80 btw). So, it looks like the idea will never work anyhow (because I don't think there is any way around ISP-blocked ports), at least not until I get a new ISP which will be a while.

Oh, well.
A major reason why I pay a little more money for sdsl and get my guaranteed speed and full access to my router/modem's settings. The only thing I cant do is increase my speed. They dont block anything and my isp is designed for those of us looking to run a server

Depending on what you really want to do and have an actual purpose to it you may wish to get a new isp and get full control of your connection.

I guess my question at the end here is, why did you want to do this?

-Mike

mike-site.us
  #14   Spotlight this post!  
Unread 05-03-2005, 04:22
activemx's Avatar
activemx activemx is offline
A M X
AKA: Akshay Dodeja
no team
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Portland, Oregon
Posts: 312
activemx is a glorious beacon of lightactivemx is a glorious beacon of lightactivemx is a glorious beacon of lightactivemx is a glorious beacon of lightactivemx is a glorious beacon of light
Send a message via AIM to activemx Send a message via Yahoo to activemx
Re: Home DNS Server?

What i think you are looking for is yourdomainname.net to point to an ip address at your home Ip address? Two questions is this website internal? meaning that it can be only accessed by computers on your local network or a public domain. A site that can be accessed by anyone from anywhere with internet. BAsically you first need a public IP address, for that you have to contact you ISP. They charge 5 bucks for a set per month i think. You can also do this with dynamic DNS if you dont have a static IP. BUt hten on the server it has to keep updating ur dynamic IP. Technically if its internal, the router already has a DNS server built in. Meaning that you are already running a DNS server on ur network, otherwise there wont be a network. Remember a DNS server basically manages a set of ip addresses. The set of ipaddresses can be public or private.
Not sure if i hit any part of your question.
__________________
2005 - Present - FIRST Volunteer(Inspector, Ref, Judge)
2000-2004 MVRT 115
  #15   Spotlight this post!  
Unread 08-03-2005, 02:09
RomoRacing's Avatar
RomoRacing RomoRacing is offline
One,Two, Robot
#1682 (Wired Workers)
Team Role: Webmaster
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Riverside
Posts: 2
RomoRacing is an unknown quantity at this point
Re: Home DNS Server?

Okay, Ive been hosting site for a couple of years now. This my setup for my dns server'S:

Hardware Wise:
T1 internet line with 6 static Ip
Daul X. Cpu Server(not going to get into alot of detail)
12 port Cisco Router

Software Wise:
BIND8http://www.isc.org/index.pl?/sw/bind/
Windows Server 2003 http://www.amazon.com/exec/obidos/AS...333780-3228860
Freebsd http://www.amazon.com/exec/obidos/tg...tware&n=229534
Red Hat http://www.amazon.com/exec/obidos/tg...tware&n=229534

This is a buss. setup but what you can do is get a dsl line from earthlink and a static ip (5 dollars more) or get a no-ip.net account they both make your ip address stay the same. then get a good server with one of the o/s and then download bind8 and then youll be done with the setup. Then use zonedit and create a domain name and then when you get the dns ip's put them on your server and there you go. free dns server. hope that helped!


Also if you sell domain names and didnt contact http://www.internic.net/ then get ready to face some mad law suits. Have fun
__________________
La Sierra High School
Team: 1682
Wired Workers Website
Wired Workers
Browzer Web Design
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Mail Server Venkatesh IT / Communications 15 27-06-2005 01:47
**FIRST EMAIL**/Advance Material List for the 2005 Competition Now Available! Travis Hoffman General Forum 85 08-01-2005 00:16
Dual sites on home server running apache? Mike AA IT / Communications 7 28-08-2004 02:02
HELP DNS Server HELP sanddrag Website Design/Showcase 8 09-10-2002 20:13
Mountain Home & 'The Brawl' archiver 2000 0 23-06-2002 23:20


All times are GMT -5. The time now is 10:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi