You are not logged in.

#1 2012-04-16 12:16:23

_saiko
Member
From: systemreich
Registered: 2007-08-06
Posts: 91
Website

Netcfg to apply resolv.conf options

Is it possible to add an option to netcfg profile so that resolv.conf options can be configured?
I.e. i need to use the

options single-request

in my resolv.conf. Since netcfg rewrites the resolv.conf file the only way is for netcfg itself to apply that line.

I tried with resolv.conf.tail but netcfg doesn't append the contents to resolv.conf.

Did anyone figure out a workaround?

Thanks


cat.7 - where crosstalk is not an issue anymore :'(

Offline

#2 2012-04-16 12:41:26

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Netcfg to apply resolv.conf options

Not sure if this is even possible (don't have access to a box I can test with atm), but trying never hurt anyone I guess.

Try using the following as a POSTUP statement in your netcfg profile

echo "options single-request" >> /etc/resolv.conf

Burninate!

Offline

Board footer

Powered by FluxBB