public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Domain name
@ 2004-12-05 21:31 Luigi Pinna
  2004-12-05 22:15 ` darren kirby
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Luigi Pinna @ 2004-12-05 21:31 UTC (permalink / raw
  To: List Gentoo

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

I want to change the domainname of my computer.
I wrote the write domain in /etc/dnsdomainname but it doesn't work.
Which is the right place to write it?
Thanks a lot,
Luigi
-- 

In questo mondo deve essere matto. Se no impazzisci.
> Leopold Fetchner
Tschüss!
Chiave pubblica gpg(0xE716D548) disponibile su
http://keyserver.linux.it/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Domain name
  2004-12-05 21:31 [gentoo-user] Domain name Luigi Pinna
@ 2004-12-05 22:15 ` darren kirby
  2004-12-05 22:20 ` Peter Ruskin
  2004-12-05 23:40 ` Bastian Balthazar Bux
  2 siblings, 0 replies; 7+ messages in thread
From: darren kirby @ 2004-12-05 22:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

quoth the Luigi Pinna:
> I want to change the domainname of my computer.
> I wrote the write domain in /etc/dnsdomainname but it doesn't work.
> Which is the right place to write it?
> Thanks a lot,
> Luigi

Did you run "/etc/init.d/domainname restart" ?
Might even require a reboot...
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Domain name
  2004-12-05 21:31 [gentoo-user] Domain name Luigi Pinna
  2004-12-05 22:15 ` darren kirby
@ 2004-12-05 22:20 ` Peter Ruskin
  2004-12-05 23:40 ` Bastian Balthazar Bux
  2 siblings, 0 replies; 7+ messages in thread
From: Peter Ruskin @ 2004-12-05 22:20 UTC (permalink / raw
  To: gentoo-user

On Sunday 05 December 2004 21:31, Luigi Pinna wrote:
> I want to change the domainname of my computer.
> I wrote the write domain in /etc/dnsdomainname but it doesn't
> work. Which is the right place to write it?
> Thanks a lot,

Should be OK; that's where mine is.  Look at /etc/init.d/domainname 
for guidance and do: rc-update add domainname boot.

-- 
Peter
========================================================================
Gentoo Linux: Portage 2.0.51-r3. kernel-2.6.9-gentoo-r6-regparm.
i686 AMD Athlon(tm) XP 3200+.  gcc(GCC): 3.3.4.
KDE: 3.3.1.    Qt: 3.3.3.
========================================================================

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Domain name
  2004-12-05 23:40 ` Bastian Balthazar Bux
@ 2004-12-05 23:28   ` Luigi Pinna
  2004-12-05 23:56     ` Bastian Balthazar Bux
  2004-12-06  0:39     ` David D. Rea
  0 siblings, 2 replies; 7+ messages in thread
From: Luigi Pinna @ 2004-12-05 23:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

Alle 00:40, lunedì 06 dicembre 2004, Bastian Balthazar Bux ha scritto:

>
> env-update
> source /etc/profile
>
> also you may want to add a similar row to /etc/hosts
>
> 127.0.0.1       localhost hostname hostname.domainname
>

I have a statics ip address too assigned by dhcp.
I tried to write this line with my ip address and all works now ( I 
rebooted the computer for other problems...)
Thanks a lot,
Luigi


-- 

Public key GPG(0xE716D548) on http://keyserver.linux.it/


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Domain name
  2004-12-05 21:31 [gentoo-user] Domain name Luigi Pinna
  2004-12-05 22:15 ` darren kirby
  2004-12-05 22:20 ` Peter Ruskin
@ 2004-12-05 23:40 ` Bastian Balthazar Bux
  2004-12-05 23:28   ` Luigi Pinna
  2 siblings, 1 reply; 7+ messages in thread
From: Bastian Balthazar Bux @ 2004-12-05 23:40 UTC (permalink / raw
  To: gentoo-user

Luigi Pinna wrote:

>I want to change the domainname of my computer.
>I wrote the write domain in /etc/dnsdomainname but it doesn't work.
>Which is the right place to write it?
>Thanks a lot,
>Luigi
>  
>
try also

env-update
source /etc/profile

also you may want to add a similar row to /etc/hosts

127.0.0.1       localhost hostname hostname.domainname


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Domain name
  2004-12-05 23:28   ` Luigi Pinna
@ 2004-12-05 23:56     ` Bastian Balthazar Bux
  2004-12-06  0:39     ` David D. Rea
  1 sibling, 0 replies; 7+ messages in thread
From: Bastian Balthazar Bux @ 2004-12-05 23:56 UTC (permalink / raw
  To: gentoo-user

Luigi Pinna wrote:

>Alle 00:40, lunedì 06 dicembre 2004, Bastian Balthazar Bux ha scritto:
>
>  
>
>>env-update
>>source /etc/profile
>>
>>also you may want to add a similar row to /etc/hosts
>>
>>127.0.0.1       localhost hostname hostname.domainname
>>
>>    
>>
>
>I have a statics ip address too assigned by dhcp.
>I tried to write this line with my ip address and all works now ( I 
>rebooted the computer for other problems...)
>Thanks a lot,
>Luigi
>
>
>  
>
the reboot has done the same as env-update I think (not sure), adding 
that line may be usefull also to the processes that wants to know your 
full address, without going to ask it at a dns server (if I'm wrong 
please someone correct me)

the methods and the order of  the methods that a linux system use are 
setted in /etc/host.conf

ciao

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Domain name
  2004-12-05 23:28   ` Luigi Pinna
  2004-12-05 23:56     ` Bastian Balthazar Bux
@ 2004-12-06  0:39     ` David D. Rea
  1 sibling, 0 replies; 7+ messages in thread
From: David D. Rea @ 2004-12-06  0:39 UTC (permalink / raw
  To: gentoo-user

On Sun, 2004-12-05 at 18:28, Luigi Pinna wrote:
> I have a statics ip address too assigned by dhcp.
> I tried to write this line with my ip address and all works now ( I 
> rebooted the computer for other problems...)
> Thanks a lot,
> Luigi

As I understand it, your computer needs the 127.0.0.1 line for some
programs to function properly. If you want to hard-define your local
hostname to the IP address you're being persistently assigned via DHCP, 
you should add that as a 2nd line.

Dave


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-12-06  0:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-05 21:31 [gentoo-user] Domain name Luigi Pinna
2004-12-05 22:15 ` darren kirby
2004-12-05 22:20 ` Peter Ruskin
2004-12-05 23:40 ` Bastian Balthazar Bux
2004-12-05 23:28   ` Luigi Pinna
2004-12-05 23:56     ` Bastian Balthazar Bux
2004-12-06  0:39     ` David D. Rea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox