> Hello,
> I have a home network with a bogus domain, like mydomain.home.
> Machines in the home lan all have a home IP address like 10.5.5.*, and
> a home domain name. The server's name is lion.mydomain.home, and it's
> IP is 10.5.5.1. I also have a real IP address, and I am thinking to
> host a real domain name. My question is, how can I setup the real
> domain, so that the server can have a real domain name? Should I just
> create a new zone file, and add a record for it in the named.conf?
> Thanks in advance!
> Alex Shi
Your machine can only have a single hostname but can have many domains
pointing to its IP, you only need to edit your named.conf if your dns server
is the name server for your real domain. I _personally_ would change the
server's hostname to foo.bar and then add subsiquent domains that only work
on your local net, eg pc1.home.foo.bar (no need to make the world aware of
these hosts so only add them to your lan's dns server for reverse lookup for
example). On the other hand you can leave your machine as it is and it
shouldn't cause too many problems, virtual hosts can be used for apache and
proftpd. In that case your machine can be reached from both foo.bar and
mydomain.home.
--
Nathan D Higgins
Website: http://nathan.link9.net/
Email: nathan[at]link9[dot]net
Hosting: http://www.link9.net
MSN: nathan[at]link9[dot]net