/etc/resolv.conf file issues
Derek Broughton
news at pointerstop.ca
Tue Sep 27 13:35:58 UTC 2005
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>domain. The servers I manage
> are on either of the following:
> corp.company.net <http://corp.company.net>,
> dev.company.net<http://dev.company.net>,
> 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
More information about the kubuntu-users
mailing list