• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

DNS and NAT

beefjerky911

Senior member
hi, im trying to run a dns server on my win98 machine using the program simple dns. i want to be able to run different servers behind my firewall/nat. the problem im getting is when the outside world tries to resolve a name, it comes back as 192.168.1.x, which is the correct lan ip. is it possible to have a nat dns setup? and if so, how would the dns tables look.
 
I would recommend not using it. DNS is too much of a hastle to setup in such a small environment. I had a DNS server running on my network at home with 5 machines on it, then I realized that it wasn't worth it. I can still ping or attach to a system without DNS because WINS replicates without a server in the same workgroup. I don't even need a WINS server. 🙂
 
When you wrote your DNS entries did you put the internal ips or the external ip? If you only have 1 IP Address, DNS is not worthwhile. If you do, just do redirects to different servers depending on the port.
 


<< internal ips >>



Well duh. If you put the internal ips into the configuration it is going to respond with internal ips. Use the external ips you have mapped to the servers.
 


<< theres only 1 external ip >>



Then why bother with DNS anyways? Just redirect each service to its server at your firewall.
 


<< ideally wanted to use 1 external ip that can point a web browser to http://webserver.domain.com, nat-ed ip 192.168.1.1, and be able to telnet to telnetbox.domain.com at 192.168.1.2, just wanted to know if that was a possible setup. im just a newbie at dns >>



You must have missed the point of DNS. DNS is so you can map several Domain Names to different IPs. If you only have 1 IP you have problems. Setup a firewall/NAT gateway. That machine should be able to redirect requests to port 22 (telnet is bad) to box #2 and port 80 requests to box #1.
 


<< understood now, thanks >>



and trust me, this is a MUCH easier solution than running a DNS Server... Especially DNS on win9x 😉
 
Back
Top