On Thu, Nov 28, 2002 at 07:49:05AM -0800, Praedor Tempus wrote:
> How do I get name resolution to work?  I am not
> running a local DNS (and would prefer not to).  I
> SHOULD be able to use the DNS settings of box 1 to get
> name resolution on box 2.  What settings need to be
> looked at on which box to get this working?  It HAS
> worked before but I have no idea how/why - while now
> it doesn't.  

Give box 2 the address of box 1 as the DNS server.

Set up the iptables on box 1 to forward DNS traffic from box 2 to box
1's DNS server. I think the responses should automatically go back to
the right place as the masquerading kicks in.

Be careful doing this: if you accidentally redirect too much traffic,
you might end up redirecting DNS responses back to the DNS
server. Which would be bad...

It's a long time since I've poked IP tables, and I don't have a box to
hand to experiment on, so I can't tell you to try particular
commands. And I may be barking up completely the wrong approach
anyway...

-- 
Tommy

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to