hi, folks.
this is a puzzle; it's something that has happened occasionally for years but now has become frequent enough to be an annoyance, and i do not know enough about the mechanisms involved even to begin to troubleshoot it.
here's what happens: i am going merrily along and doing my work when i send an email message or go to a webpage and get errors that the host could not be found -- the usual dns error. when this happens i use the handy system settings network configurator and invariably discover that all the nameservers that i have listed are now gone. i presume that this application writes to /erc/resolv.conf (which is now a link to a resolv.conf someplace else, in /run/resolv.conf, which is heaven knows where but i suppose is one of those virtualized filesystems the boys are so proud of).
anyway, i usually keep three domain nameservers there, just in case one goes down. something is causing them to disappear.
i haven't fiddled with this stuff since resolv.conf was hard-coded such that you'd su root, edit /etc/resolv.conf, save the file, and be happy evermore. but now the file says not to edit it because it will be overwritten anyway.
so. any guesses as to what might be making my list of nameservers disappear? that failing, any good recipe for troubleshooting it to see who is eating my nameservers? and if not that, is there anyplace i can put them so that they won't get overwritten?
thanks very much and merry christmas, everybody!
Hello Dep et al,
Surely, it's not related to Trinity. I observed such behavior on my Ubuntu 12.04LTS when switching, for instance,between wired and GSM Internet connetions. Network Manager is the troublemaker, most probably.
Don't bother yourself with warning saying "Do not edit". If you need, just insert manually into resolv.conf file your nameservers and restart networking: /etc/init.d/networking restart You should be O.K. then.
said sp2lob:
| Surely, it's not related to Trinity.
i kind of figured as much, but in that some (well, one that i know of) of the configuration modules (user administration) in the trinity system settings suite has not worked for ages, it could be that there was some little flakiness there.
| I observed such behavior on my Ubuntu 12.04LTS when switching, | for instance,between wired and GSM Internet connetions. | Network Manager is the troublemaker, most probably.
i'm running that version, until 14.04LTS plus the appropriate trinity for it come out, wired all the time on this machine.
| Don't bother yourself with warning saying "Do not edit". | If you need, just insert manually into resolv.conf file | your nameservers and restart networking: | /etc/init.d/networking restart | You should be O.K. then.
apparently, it is kosher to replace the linked resolv.conf with a real file, but the better method is to add a dns-nameservers line to /etc/network/interfaces. so i've done that and we'll see how it fares!
thanks very much.
Dep,
It's even better solution, Hi!
I didn't mean replacing resolv.conf but only editing the existing one...
Merry Christmas!
Best regards. Tom - sp2lob
In Debian at least, with package resolvconf installed, /etc/resolv.conf is a symlink to /etc/resolvconf/run which itself is a link to /run/resolvconf. It's updated dynamically and automatically. Maybe unsuccessfully if your router is flaky.
If you want to edit manually and want it to stick you can rename /etc/resolv.conf (the link) to disable it then create a new one with custom settings (I do, and use opendns)
https://en.wikipedia.org/wiki/Resolvconf
Not a lot to do with what desktop you run.
D
www.shareinbytes.com Enviado desde mi móvil BlackBerry Orange.
-----Original Message----- From: David Hare davidahare@gmail.com Date: Sun, 22 Dec 2013 21:19:48 To: trinity-users@lists.pearsoncomputing.net Reply-To: trinity-users@lists.pearsoncomputing.net Subject: Re: [trinity-users] a puzzle, maybe or maybe not trinity-related
In Debian at least, with package resolvconf installed, /etc/resolv.conf is a symlink to /etc/resolvconf/run which itself is a link to /run/resolvconf. It's updated dynamically and automatically. Maybe unsuccessfully if your router is flaky.
If you want to edit manually and want it to stick you can rename /etc/resolv.conf (the link) to disable it then create a new one with custom settings (I do, and use opendns)
https://en.wikipedia.org/wiki/Resolvconf
Not a lot to do with what desktop you run.
D
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
How can i configure this VPN server on trinity?
2013/12/22 dep dep@drippingwithirony.com
hi, folks.
this is a puzzle; it's something that has happened occasionally for years but now has become frequent enough to be an annoyance, and i do not know enough about the mechanisms involved even to begin to troubleshoot it.
here's what happens: i am going merrily along and doing my work when i send an email message or go to a webpage and get errors that the host could not be found -- the usual dns error. when this happens i use the handy system settings network configurator and invariably discover that all the nameservers that i have listed are now gone. i presume that this application writes to /erc/resolv.conf (which is now a link to a resolv.conf someplace else, in /run/resolv.conf, which is heaven knows where but i suppose is one of those virtualized filesystems the boys are so proud of).
anyway, i usually keep three domain nameservers there, just in case one goes down. something is causing them to disappear.
i haven't fiddled with this stuff since resolv.conf was hard-coded such that you'd su root, edit /etc/resolv.conf, save the file, and be happy evermore. but now the file says not to edit it because it will be overwritten anyway.
so. any guesses as to what might be making my list of nameservers disappear? that failing, any good recipe for troubleshooting it to see who is eating my nameservers? and if not that, is there anyplace i can put them so that they won't get overwritten?
thanks very much and merry christmas, everybody!
dep
The shortest distance between you and playing great acoustic guitar: the great new instructional DVDs from Marjorie Thompson, available at www.MarjorieThompson.com
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting