/etc/resolv.conf file issues
Steven Lewis
day.lewis at gmail.com
Tue Sep 27 14:28:58 UTC 2005
On 9/27/05, Derek Broughton <news at pointerstop.ca> wrote:
>
> Steven Lewis wrote:
>
> > On 9/26/05, Derek Broughton <news at pointerstop.ca> wrote:
> >>
> >> Steven Lewis wrote:
> >>
> >> > I have manually editied via VIM the /etc/resolv.conf file to reflect
> my
> >> > domains, and nameservers.
> >> >
> >> > However there seems to be a system event that overwrites the edited
> >> > file back to a default file.
> >>
> >> Your dhcp client will certainly overwrite it. There are many other
> >> applications that _might_. Simply, if your work runs Windows systems,
> >> then all _their_ machines are getting everything they need from the
> DHCP
> >> server,
> >> and you can too. There shouldn't _be_ multiple domains in
> >> /etc/resolv.conf - you only belong to one. There probably should be
> >> multiple DNS servers, but that should be happening automatically.
> >>
> >> It would be much easier if you explained what you think is wrong and
> what
> >> you are trying to do.
>
> > I work within an envrionment which calls for me to manage linux servers
> > via ssh.
> >
> > My box, kubuntu of course, resides in the
> > foo.company.com <http://foo.company.com><http://foo.company.com>domain.
> The servers I manage
> > are on either of the following:
> > corp.company.net <http://corp.company.net> <http://corp.company.net>,
> > dev.company.net <http://dev.company.net><http://dev.company.net>,
> > testlab.company.net <http://testlab.company.net> <
> http://testlab.company.net> domains.
> >
> > If I do not edit my resolv.conf file I must use FQDN to ssh to the
> boxes.
>
> OK - it doesn't seem like such an awful chore to use FQDNs, but then I
> don't
> administer more than 5 boxes on two domains (and I'm only on one domain at
> a time, anyway) ;-)
>
> Presumably, the resolv.conf you wrote works for you, so what does that
> look
> like? Pawel's idea might solve one problem, but I think there's more...
> --
> derek
>
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/kubuntu-users
Derek, Pawel and all - Pawel's suggestion works. I took out domain and
edited the resolv.conf file as I need it to read. The other domains are in a
line starting with search . I rebooted and this morning the resolv.conf has
remained the way I want it to read.
I work on a team that manages a very large grid environment so this issue
cropped up very fast using kubuntu in this environment.
At home or a small environment I did not have this issue cause me any
problems.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20050927/71250bc9/attachment.html>
More information about the kubuntu-users
mailing list