LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-18-2005, 11:51 AM   #1
whorsfall
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Rep: Reputation: 0
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.
 
Old 10-18-2005, 12:21 PM   #2
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Rep: Reputation: 15
Re: Linux DNS/Proxy Setup

Quote:
Originally posted by whorsfall

1. DNS Forwarders.
in /etc/named.conf:
Code:
options {
      forwarders { <IP 1>; <IP 2>; };
};
Only allows static.
Quote:

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?
echo "1" > /proc/sys/net/ipv4/ip_forward
Then iptables rules.
Quote:

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.
Check out How-To for firewalls.
 
Old 10-24-2005, 11:18 AM   #3
whorsfall
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Original Poster
Rep: Reputation: 0
zymurgist,

Thanks for your reply that is great.

Ward.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Configure two NICs to set setup Squid proxy on RH linux 8.0 latencywala Red Hat 14 01-02-2009 06:01 AM
DNS proxy on router: useful? Kropotkin Linux - Networking 1 11-10-2004 11:35 AM
setup a dns server in linux evsortiz Linux - Newbie 1 01-20-2004 09:35 PM
howto create linux partitions on 80GB HD DNS / Proxy server ? cccc Linux - Networking 5 10-11-2003 02:32 AM
Setup Tertiary DNS in Linux ( xniox Linux - Networking 2 06-27-2003 10:41 PM


All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration