Re: sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-10 Thread Klemens Nanni
On Wed, Nov 10, 2021 at 07:35:26AM +0100, Bjorn Ketelaars wrote: > On Mon 08/11/2021 11:52, Bjorn Ketelaars wrote: > > Diff below does two things: > > 1. add PPP IPCP extensions for name server addresses (rfc1877) to > >sppp(4) > > 2. propose negotiated name servers from sppp(4) to resolvd(8)

Re: sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-10 Thread Claudio Jeker
On Wed, Nov 10, 2021 at 07:35:26AM +0100, Bjorn Ketelaars wrote: > On Mon 08/11/2021 11:52, Bjorn Ketelaars wrote: > > Diff below does two things: > > 1. add PPP IPCP extensions for name server addresses (rfc1877) to > >sppp(4) > > 2. propose negotiated name servers from sppp(4) to resolvd(8)

Re: sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-10 Thread Claudio Jeker
On Wed, Nov 10, 2021 at 08:22:52AM +0100, Sebastien Marie wrote: > On Wed, Nov 10, 2021 at 07:35:26AM +0100, Bjorn Ketelaars wrote: > > On Mon 08/11/2021 11:52, Bjorn Ketelaars wrote: > > > Diff below does two things: > > > 1. add PPP IPCP extensions for name server addresses (rfc1877) to > > >

Re: sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-09 Thread Sebastien Marie
On Wed, Nov 10, 2021 at 07:35:26AM +0100, Bjorn Ketelaars wrote: > On Mon 08/11/2021 11:52, Bjorn Ketelaars wrote: > > Diff below does two things: > > 1. add PPP IPCP extensions for name server addresses (rfc1877) to > >sppp(4) > > 2. propose negotiated name servers from sppp(4) to resolvd(8)

Re: sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-09 Thread Bjorn Ketelaars
On Mon 08/11/2021 11:52, Bjorn Ketelaars wrote: > Diff below does two things: > 1. add PPP IPCP extensions for name server addresses (rfc1877) to >sppp(4) > 2. propose negotiated name servers from sppp(4) to resolvd(8) using >RTM_PROPOSAL_STATIC route messages. Updated diff below, based

Re: sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-08 Thread Claudio Jeker
On Mon, Nov 08, 2021 at 11:52:52AM +0100, Bjorn Ketelaars wrote: > Diff below does two things: > 1. add PPP IPCP extensions for name server addresses (rfc1877) to >sppp(4) > 2. propose negotiated name servers from sppp(4) to resolvd(8) using >RTM_PROPOSAL_STATIC route messages. > > With

Re: sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-08 Thread Stuart Henderson
On 2021/11/08 15:50, Klemens Nanni wrote: > With this diff pppoe(4) sends two nameservers and thus wins, but that is > expected and setups such as mine must either > - disable resolvd > - enable resolvd but also enable unwind > (unwind also learns DNS proposals but always wins in resolv.conf) >

Re: sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-08 Thread Klemens Nanni
On Mon, Nov 08, 2021 at 11:52:52AM +0100, Bjorn Ketelaars wrote: > Diff below does two things: > 1. add PPP IPCP extensions for name server addresses (rfc1877) to >sppp(4) You could add that RFC to sppp(4)'s STANDARDS section. > 2. propose negotiated name servers from sppp(4) to resolvd(8)

sppp(4)/pppoe(4) - DNS configuration via resolvd(8)

2021-11-08 Thread Bjorn Ketelaars
Diff below does two things: 1. add PPP IPCP extensions for name server addresses (rfc1877) to sppp(4) 2. propose negotiated name servers from sppp(4) to resolvd(8) using RTM_PROPOSAL_STATIC route messages. With this I'm able to use DNS servers as provided by my ISP who uses PPPoE.