---Reply to mail from Fuzzy Fox about [masq] Masquerade and pppd Demand Dialing---
>
> What machine do you suppose it's looking up? A local machine's name?
> Why would it go to an external DNS lookup, just to lookup a local host's
> name?
I believe it is looking up the ISP nameserver addresses in the
/etc/resolv.conf file. Not a local machine's name. Obviously the ISP is
not a local address. ;-)
>
>> However, if I remove the ISP nameserver addresses from said file then
>> Masquerading doesn't work.
>
> Masquerade probably works fine; it would be DNS that doesn't work. :)
>
OK, now we're getting somewhere. I don't use a dns server on the gateway,
I use the /etc/hosts files on the two machines for this purpose.
>> How can I keep the gateway from dialing when I boot #2, and still keep
>> masquerade working?
>
> One method would be to run a local, caching-only DNS server on your masq
> box. That will cut down on the amount of remote DNS traffic, anyway.
> Another would be to configure your machine to lookup hosts in its
> /etc/hosts file first, and only lookup externally via DNS if that fails.
> I unfortunately can't remember how to do that. I'm sure another
> listmember will remind us. :)
Seems to me that would be accomplished by the /etc/hosts.conf file, with
order hosts,bind
multi on
which as you can see gives the order to lookup hosts, first. So I am
beginning to now wonder what I can put in the /etc/hosts file to stop the
lookup there instead of going on to dial and find the one's that I have
configured in /etc/resolv.conf?
I am also wondering if it has anything to do with having enabled PPP in
the kernal, and loading the module at boot. I suppose I can figure that
out pretty quick.
Anyway thanks for all the help, I seem to at least have some things to
work with. If anyone has a better idea please let me know.
Yoy folks are great,
Paul
P.S. To Jose, I just don't want to use DIALD or a dns server.
ppw3
---End reply---
--
Paul Wittry <[EMAIL PROTECTED]>
<http://www.premier1.net/~ppw3>
>>>Powered by Caldera Open-LINUX 1.2, and XC-Mail<<<
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]