[ale] vpn and dns

Bao Ha baoh at linuxwizardry.com
Tue Feb 20 09:45:06 EST 2001



If you are using pptp under pppd, you can set the pppd option,
usepeerdns, to request DNS values, which will be added 
automatically to the /etc/resolv.conf file.

FreeS/Wan also has a similar option, but I will need more
coffee to remember it.

Bao

> -----Original Message-----
> From: owner-ale at ale.org [mailto:owner-ale at ale.org]On Behalf 
> Of Wandered
> Inn
> Sent: Tuesday, February 20, 2001 6:21 AM
> To: ALE
> Subject: Re: [ale] vpn and dns
> 
> 
> I appreciate the response, but I'm hoping there's a better 
> solution.  I
> know that M$ will do the dhcp thing, so this must be possible with
> Linux.  I've heard you can modify /etc/resolv.conf on the fly, and I
> guess this is what I'll need to do.  I guess I'll give that a shot.
> 
> Then again, the only thing I'm using my isps dns for is to locate the
> vpn server.  I could stick it into the /etc/hosts file and then leave
> the /etc/resolv.conf static.
> 
> "Joseph A. Knapka" wrote:
> > 
> > Wandered Inn wrote:
> > >
> > > Anyone using any type of vpn with Linux?  How do I set 
> the dns server
> > > values?  Can you have different DNS for different interfaces?
> > >
> > > --
> > > Until later: Geoffrey           esoteric at denali.atlnet.com
> > >
> > > "Great spirits have always found violent opposition from 
> mediocre minds.
> > > The
> > > latter cannot understand it when a man does not 
> thoughtlessly submit to
> > > hereditary prejudices but honestly and courageously uses his
> > > intelligence."
> > > - Albert Einstein
> > > --
> > > To unsubscribe: mail majordomo at ale.org with "unsubscribe 
> ale" in message body.
> > 
> > I've got a VPN running between my home in TX and my employer's
> > site in Atlanta, using PPP-over-SSH. Or at least I did until
> > recently; I think the nazi M$ network admins in Atlanta
> > discovered my Red Hat VPN server lurking on their network and
> > took it out and shot it :-(
> > 
> > Anyway, I had to set up a forward-only DNS server on the Atlanta end
> > of the link, because they wouldn't add a route for my net 
> to the real
> > DNS server. I'm not aware of a way to make a particular name request
> > use particular DNS server; I just listed my forward-only one second
> > in /etc/resolv.conf and that worked pretty well (especially since I
> > also have a caching DNS server on my local firewall -- I only had
> > to wait for the very first attempt for each Atlanta name to
> > timeout on my ISP's DNS server and go to my forward-only server
> > in Atlanta).
> > 
> > -- Joe Knapka
> > --
> > To unsubscribe: mail majordomo at ale.org with "unsubscribe 
> ale" in message body.
> 
> --
> Until later: Geoffrey		esoteric at denali.atlnet.com
> 
> "Great spirits have always found violent opposition from 
> mediocre minds.
> The
> latter cannot understand it when a man does not thoughtlessly 
> submit to
> hereditary prejudices but honestly and courageously uses his
> intelligence."
> - Albert Einstein
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" 
> in message body.
> 

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list