Linux DNS/Proxy Setup
Hi,
I am looking for some general guidance here.
I am using SUSE 10 and trying to set up a DHCP/DNS/Proxy server - with a
machine that has two network cards. Duel homed system - one network card
connects to the cable modem to get it IP settings (IP Address, DNS Server etc)
from the cable modem etc. This is got via BPALogin. This I want as my
external (Internet) card. The other will be a fixed card running as an internal
card and provide DHCP addresses to my clients.
Questions:
1. DNS Forwarders.
The problem is how do I configure the DNS server
s forwarder - I want to have them dynamically picked up from the BPA login
in program. In other words forward the DNS requests that cannot be
answered for the configured zone go to the DNS server on the external
card to be resolved.
I did not want to make this fixed in case my ISP changes there DNS server
which they have been known todo.
Any ideas.
2. Routing between the two interfaces.
AK how is this achieved. I am not sure how to configure this. Do I add
a static route or do I use IPTABLES todo this?
3. Step-by-step article.
I am sure this is done often - does anybody know of a good step
by step article on how todo this. I have only founds bits and
peaces - but not something from end-to-end on how to make this work.
Thanks,
Ward.
|