/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
David A. Ranch writes:
>
> >The problem is that when there is no connection to my ISP, when the
> >masqued machine is trying to reach a machine outside my LAN, the
> >program originating the demand
> >hangs
>
> Yup.. because its trying to resolve the DNS name.
> If you really want to fix this, you should set up
> a caching DNS server on your Linux box and then
> configure your MASQed boxes to use this new DNS server.
>
> This will help.
I have set up a caching DNS server on my Linux box, but I am afraid I don't know how
to configure it correctly. I use bind 4.9.7-73 and set into /etc/named.boot
cache . root.cache
forwarders x.x.x.x x.x.x.x. ; the adresses of my ISP's DNS servers
slave
and into /etc/resolv.conf
search xxxx.xx ; my local domain
nameserver 127.0.0.1
and have named started on booting.
The result is that now on my Linux box, when I try to resolv a hostname outside the
LAN when the PPP-link is down, the program hangs (netsacpe craches).
What is wrong about this configuration? Thank you for your help! My appologies if
this is getting off-topic for the list.
Greetings,
Michael
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.