> > Dhcpcd has an option for that, i believe it's -R.  for example, on this
> > diskless router the dhcpcd on eth1 can't rewrite resolv.conf or the
> >
> > netboot will fail:
> > >>>FROM conf.d/net:
> > |
> > |  config_eth1=("dhcp")
> > |  dhcpcd_eth1=("-R")
> >
> > However, you may need to find some way to get that information filled
> > out with your corporate intranet info before you use the vpn.
>
> Thanks for the suggestion, I allready know about -R but I need dhcpcd to
> set resolv.conf before the vpnclient starts to get the correct information
> for the network I'm on (not always using VPN).
emerge resolvconf-gentoo

This should manage the resolv.conf dynamically and merge information about 
different nameservers for different networks. Works fine for me with the very 
same situation.

- Sascha

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to