Le 2016-08-01 14:57, j...@wxcvbn.org a écrit :
Solène RAPENNE <sol...@perso.pw> writes:

Hello,

Using -current with unbound as a local dns resolver. dhclient.conf is
set to supersede the dhcp nameserver to use my unbound server

    /etc/dhclient.conf
    send host-name "solene";
    supersede domain-name-servers 127.0.0.1;

When upgrading with bsd.rd, dhclient will use this dhclient.conf with
unbound stopped, the system won't resolve names and won't download
packages through http.

How can I use dhcp and keep 127.0.0.1 as domain name server except if
I'm using bsd.rd ?

Not a direct response to your question, but what I do is use "prepend"
instead of "supersede".

If it's not possible or too complicated, is there a better way than
downloading the packages in the same time I download bsd.rd and not use
network during the upgrade ?


Regards


Hello,

I think I'll go to this solution, with a timeout set to a few seconds so it doesn't hang too long if it has no result.

regards

Reply via email to