?
Solved

DNS

Posted on 2004-08-30
5
Medium Priority
?
281 Views
Last Modified: 2010-04-11
Yeah a pretty rough question title for a pretty rough idea i've got...

I've got in place a NAT system with DHCP sharing a single IP amongst computers on my network.
I've also set that PC up with ZoneEdit so that mydomain.com points to that NAT box, and there is some port-forwarding to allow port 80 on the NAT to map to our webserver...

On top of this I'd like to be able to specify names, like PC1.mydomain.com where "all-port" access can be made externally...
So say I'm outside the network, i can access my pc by typing oliwarner.mydomain.com (for whatever service I want to access - FTP/http) and it goes through the NAT...


The NAT box is a Smoothwall - Linux basically - so I need to know where i need to set up the DNS, how it all works and what problems I could expect from something like this...

Bonuses and good feedback for those that go that extra mile when helping. Thanks in advance.
0
Comment
Question by:OliWarner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:thepilo
ID: 11935828
What type of router do you have?
0
 
LVL 19

Accepted Solution

by:
drichards earned 1050 total points
ID: 11937850
If I understand your desire correctly, you cannot do it.  Since you have ony one IP exposed to the world, you cannot use DNS to differentiate between boxes behind the router.  With only one IP, any DNS lookups would have to resolve to that one IP.  You no longer have any information to determine which host is being addressed.

With HTTP you can do virtual domains by inspecting the host header that gets transmitted as part of the HTTP request, but that won't work for other protocols.  The best you will be able to do is fancy port mapping, but ony one server will be able to operate on standard port.

Your only option is to obtain more external IP's.

Did I misunderstand the question?
0
 
LVL 16

Author Comment

by:OliWarner
ID: 11940337
The router is a Smoothwall PC - it basically uses a cut-down linux distribution with the right tools installed to do things...
It works very well as a router...

I was just under the impression that I might be able to have subdomains mapped through the router using the DNS server on my Smoothwall to allow external PCs to connect and for the smoothwall to map those names through to other PCs, behind the router.

I do understand that its totally possible to map single things like port 21 on my router to port 234 on my PC so can host a FTP server on port 234, and whatnot, but I'd really like to hear is anybody know of any way of mapping all ports forward...
0
 
LVL 1

Assisted Solution

by:thepilo
thepilo earned 450 total points
ID: 11940965
You can probably do that with one PC, but then no other pc's can map external connections.  It is also very unsecure.  you are better off just opening up the ports that you need and leaving the rest closed.
0
 
LVL 16

Author Comment

by:OliWarner
ID: 11941453
duly noted. thanks for shattering my dreams guys...

only joking. Splitting points for effort.
0

Featured Post

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question