My home network is set up with a Smoothwall Linux (www.smoothwall.org)
firewall to protect my computers on my DSL connection. One of my
machines has a web server, and I have port 80 forwarded through the
firewall to this machine. In order to find my machine "in the real
world", I use a dynamic IP service (no-ip.com) to provide a domain
name which will always resolve to my dynamically assigned IP address.
I'm having a problem with DNS locally. Outside my home network, I can
access my webserver by going to servername.no-ip.com, but inside my
home network, I have to use the locally-assigned IP address
(192.168.1.128). I would like to be able to access the server from
servername.no-ip.com while at home as well. I don't want to set it in
a hosts file locally on the machines, because one is a laptop that
leaves the home network frequently. I'm pretty sure the answer lies
in a DNS server, but so far, I haven't been able to figure out how to
make that work.
Smoothwall doesn't appear to provide DNS services, but I have an OS X
server available on the home network that I can use for DNS. The
problem is that I have no idea how to set it up (zones, CNAME, A,
PTR). Can you provide me with step-by step instructions on how to get
servername.no-ip.com to translate to 192.168.1.128 on my OS X 10.3
server? |
Clarification of Question by
lanej0-ga
on
12 Dec 2003 12:33 PST
I'll provide a couple of more details, after having played with it last night.
1. OS X 10.3 server uses BIND. Nothing fancy.
2. Smoothwall, in the DHCP settings, will allow you to specify a
primary and secondary DNS server. By default, the smoothwall machine
is the primary DNS, secondary is blank (I tried putting in the IP of
my OS X machine). From this, I'm realizing that I may have been
mistaken that Smoothwall doesn't do DNS (I have no idea).
3. I tried following through Apple's guide for setting up an "A"
record. Didn't work though. At home, using the domain name won't
connect.
Help on this would be much appreciated.
|