Noong Monday, 13 August, 2007 04:37 PM sinulat ni mekyong

>     LAN  -------- (  Linux Box                ) ------ to my ISP
>                      (  with named installed )
>                      (  with iptables            )
>  
> Goal: share my internet connection to my LAN using iptables and LAN 
> should use my own DNS server

given that you have allowed DNS access in your iptables ruleset,
you can just setup a DNS forwarder.
in /etc/named.conf:

forwarders {
   a.b.c.d;           # ISP DNS 1
   w.x.y.z;           # ISP DNS 2
};

hth.

erik

-- 

roderick e. tapang
retapang at gmail dot com
  _
(o_.'http://counter.li.org/
//\  ----------------------
V_/_ Linux User # 253842
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to