Domain name
David McGlone
d.mcglone at att.net
Sat Apr 26 13:03:54 UTC 2008
On Friday 25 April 2008 3:12:35 pm Anthony E. Caudel wrote:
> Paul Lemmons wrote:
> > -------- Original Message --------
> > Subject: Re:Domain name
> > From: "Anthony E. Caudel" <tony.caudel at sbcglobal.net>
> > To: Kubuntu Help and User Discussions <kubuntu-users at lists.ubuntu.com>
> > Date: 04/25/2008 11:09 AM
> >
> >> Paul Lemmons wrote:
> >>> -------- Original Message --------
> >>> Subject: Domain name
> >>> From: "Anthony E. Caudel" <tony.caudel at sbcglobal.net>
> >>> To: Kubuntu-Users <kubuntu-users at lists.ubuntu.com>
> >>> Date: 04/24/2008 10:55 PM
> >>>
> >>>> Using Kubuntu 7.10.
> >>>>
> >>>> How do I make a domain name? I tried it under Network Settings but it
> >>>> did not survive reboot.
> >>>>
> >>>> Tony
> >>>
> >>> I am assuming that this question could be reworded as: "how do I set my
> >>> default domain".
> >>>
> >>> If so:
> >>>
> >>> vi /etc/resolv.conf
> >>>
> >>> and add the line:
> >>>
> >>> domain mydomain.com
> >>>
> >>> to the end of the file.
> >>
> >> Sorry but didn't work. My resolv.conf says it was created by
> >> networkmanager and do not edit. I did it anyway as a test and on the
> >> next reboot, it was gone. Looks like networkmanager rewrites the file
> >> every time it comes up.
> >>
> >> Tony
> >
> > If you are using DHCP then the DHCP server is likely resetting the
> > resolv.conf file each time you reboot. DHCP wants to setup your name
> > servers and default domain. If the DHCP server does not establish a
> > default domain then you won't have one.
> >
> > This begs another question. What are you trying to accomplish? What
> > would work differently than it does now, if you had it working? Maybe
> > there are other solutions.
>
> I'm using DHCP but I don't think it is doing the resetting. The
> following is my resolv.conf:
> -----------------------------------
> # generated by NetworkManager, do not edit!
>
>
>
> nameserver 192.168.0.1
> -----------------------------------
>
> Looks like networkmanager does it.
I believe the file you are looking for is /etc/hosts
More information about the kubuntu-users
mailing list