Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
resolv.conf OBSOLETO?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
guerro
Guru
Guru


Joined: 21 Jun 2004
Posts: 417
Location: Brescia

PostPosted: Thu Sep 21, 2006 8:47 am    Post subject: resolv.conf OBSOLETO? Reply with quote

Per caso oggi ho dato una occhiata all'esempio del file /etc/conf.d/net e ho notato che la nuova release prevede la possibilità di specificare tutti quei parametri (DNS, DOMAIN etc..) che si specificano in /etc/resolv.conf

La mia domanda è:
:?: Ha ancora senso utilizzare resolv.conf per specificare questi parametri o è meglio azzerarlo/eliminarlo utilizzando al suo posto il file net? :?:
:?: In caso si continui ad utilizzarlo, quali sono le sostanziali differenze fra l'utilizzo dell'uno piuttosto che dell'altro? :?:
_________________
(.(*. .*).)
.. G u e r r o ..
(.(.* *.).)
Back to top
View user's profile Send private message
tizio
Guru
Guru


Joined: 22 Mar 2005
Posts: 365

PostPosted: Thu Sep 21, 2006 8:53 am    Post subject: Reply with quote

non credo abbia molto senso eliminarlo... dato che i programmi che sfruttano il dhcp (dhcpcd ad esempio) continuano a scrivere su di esso...
_________________
ci son 10 tipi di persone al mondo..
chi capisce il binario e chi no
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Sep 21, 2006 8:55 am    Post subject: Reply with quote

ehm... /etc/conf.d/net è uno script che poi va a mettere i parametri in /etc/resolv.conf ... :P
Quindi se lo elimini, ti verrà ricreato con ogni probabilità ;)
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
guerro
Guru
Guru


Joined: 21 Jun 2004
Posts: 417
Location: Brescia

PostPosted: Thu Sep 21, 2006 8:59 am    Post subject: Reply with quote

Per cui se ho capito bene si possono specificare i parametri nel file /etc/conf.d/net e lasciare pulito il file /etc/resolv.conf cosicchè a seconda di quali inferfaccia io abiliti il file resolv.con viene aggiornato con i corretti parametri giusto :?: :!:
_________________
(.(*. .*).)
.. G u e r r o ..
(.(.* *.).)
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Thu Sep 21, 2006 9:21 am    Post subject: Reply with quote

Beh prova, al max non funziona :D

Poi però raccontaci come è andata ;)
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
guerro
Guru
Guru


Joined: 21 Jun 2004
Posts: 417
Location: Brescia

PostPosted: Fri Sep 22, 2006 6:39 am    Post subject: Reply with quote

Ad una prima occhiata/prova posso dire che diversamente da quanto mi aspettassi, il file resolv.conf non si azzera quando l'interfaccia viene disattivata, ma rimane invariato con i parametri specificati nel file net. Purtroppo non avendo una macchina con più interfacce di rete non posso fare la prova per cui prima attivo eth0, poi la disattivo ed in fine attivo eth1; oppure tenere attivate entrambe le interfacce....

Se qualcuno avesse questa possibilità sarebbe interessante vedere cosa succede :)
_________________
(.(*. .*).)
.. G u e r r o ..
(.(.* *.).)
Back to top
View user's profile Send private message
kaio
Apprentice
Apprentice


Joined: 26 Aug 2003
Posts: 293
Location: Gorizia - IT

PostPosted: Fri Sep 22, 2006 10:58 am    Post subject: Reply with quote

Non credo toglieranno così facilmente resolv.conf, anche perchè è una cosa distro-indipendent usata da libresolv ...figurarsi
Per toglierlo dovrebbero cambiare per l'appunto libresolv
_________________
http://www.infinytech.net - Web Hosting condiviso, Managed Hosting, VPS
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Fri Sep 22, 2006 12:08 pm    Post subject: Reply with quote

kaio wrote:
Non credo toglieranno così facilmente resolv.conf, anche perchè è una cosa distro-indipendent usata da libresolv ...figurarsi
Per toglierlo dovrebbero cambiare per l'appunto libresolv


l'ideale sarebbe una bella istanza di bind9 (ok... è una battuta! :D:D:D:D)

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum