DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 13th, 2003, 12:52 AM
kubicon's Avatar
kubicon kubicon is offline
pogremar
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: At Work
Posts: 945 kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level)kubicon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 14 h 50 m 47 sec
Reputation Power: 7
dns example files questions

I spent a couple of days trying to get my dns server to work. I a noob in dns affairs. I think there is not enough clear informatins about dns, just some code dumps. Anyways, DNS has beaten me. I cannot configure my dns to work. I think admitting defeat shows character on my part. Now, I'm asking one of you guys who has defeated the evil DNS lord to give me some help; to post sample configuration files to the configuration I'm about to mention. Bear in mind that I have looked at the generic sample configurations on the around the net, but still cannot figure it out.

This is what I'm trying to do.

I have a windows xp maching and a red hat 8 box connected together. The linux maching has the local address 192.168.0.2 and the windows machine has 192.168.0.1. The widows machine has a dsl modem with a static ip; it can connect to the internet. The linux machine connects to the internet thru the windows machine. I have the dls modem on the windows machine because I cannot get the dsl modem working on the linux maching. However, the linux maching can connect to the internet. I have apache installed on the linux box. I have bind on windows. Using the local address, I can connect to the apache server on the linux box from the windows machine using a browser by typing 192.168.0.2
What I want to do is when people go to
www.mydomain.com the windows maching directs them to the linux maching so that it can serve the web files.
Can someone post some dns config files so I can get this darn thing working and I'm finally able to get some sleep.

INFO YOU MIGHT NEED:
fictious domain-name: www.mydomain.com

window machine:
hostname: crawler
local ip address: 192.168.0.1
static ip address: 123.45.67.8 (ficticious)
bind packege located at c:\server\dns

linux machine:
hostname: lolita
local ip: 192.168.0.2
apache installed and running.

OMG!
__________________
Some day I'll create a smart quote to put here.

Reply With Quote
  #2  
Old August 13th, 2003, 02:14 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
The reason you were defeated is cause it is IMPOSSIBLE!!! With or without a local DNS server it is impossible for somebody to connect to services on the LAN without routing.

I want you to think of it like this. I have a router which uses the external public IP address. I have 2 computers that connect to the internet through the router. If somebody were to try to connect to the router, nothing happens. why? Cause the router is not listening on any ports. I must tell the router to open up port 80, and direct all traffic to the LAN address 192.168.1.2.

Likewise in your situation. You have a LAN consisting of 2 computers. The only difference is your "router" is the same as your computer. So your router can have open ports, but they only go to one place - the windows computer which acts as the router. Unfortunately, you can't just tell your computer to route port 80 traffic to your linux computer. Instead, you must have a program which listens on port 80 and provides routing between the client and the server. You can install a HTTP proxy, write a specific purpose program, or download a generic port redirection program someplace.

An HTTP proxy is your best bet. When people connect to the proxy and send the HTTP request, the proxy will resolve the domain it was intended for, and attempt to pass the request along to the real server. In this you have two choices. Either add an entry into your HOSTS file to force resolution of a domain to 192.168.0.2, or, you can setup a DNS server and have your operating system use it to resolve dns requests.

So what will it be buddy?
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > dns example files questions


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway