Click to See Complete Forum and Search --> : zone files


linux_lackey
03-02-2004, 06:25 PM
I have a question about setting up a zone file that will forward requests to another machine.

What I need is that if I get a request for "ww.mydomain.com", I want a different box to handle the request.

terets
03-02-2004, 07:05 PM
Are you meaning a DNS lookup?

If you are, the zone would then have to be www which would then mean that www is a zone, and not a valid host.

This is just basic, but I don't wanna go into too much detail until i'm sure on what you want to perform.

linux_lackey
03-03-2004, 03:41 PM
I got it working, but I am unsure if what I did was correct.

In the mydomain.com zone file, I added two "A" records.

ns2 IN A XXX.XXX.XXX.XXX
ww IN A XXX.XXX.XXX.XXX

Now if I key ww.mydomain.com, I goto to the other server.

This seems way too simple, and therefore I am assuming something is incorrect.