public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bayrouni <bayrouni@brutele.be>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] hostname and domainname
Date: Mon, 19 Feb 2007 12:46:49 +0100	[thread overview]
Message-ID: <45D98E29.5090609@brutele.be> (raw)
In-Reply-To: <200702191252.58519.shrdlu@unlimitedmail.org>

Etaoin Shrdlu a écrit :
> On Monday 19 February 2007 12:12, Bayrouni wrote:
> 
>> I added this line in /etc/conf.d/net:
>> dns_domain_lo="MY_DOMAIN"
>>
>>
>> I restarted the net.lo  but still the same result:
>> # domainname
>> (none)
>>
>> # hostname and hostname -f
>> MY_HOST
>>
>> My DNS server is running but it works only as dns cache server.
>>
>> So, do I need to configure it as DNS for this machine and the others
>> in LAN to have hostname and domainname commands working correctly?
> 
> Ok, then you probably need to add your host's FQDN to the file /etc/hosts 
> (eg, a.b.c.d   myhost.my.domain   myhost). I found it to be the only 
> method to have hostname -f working.



Yes, after adding a.b.c.d  myhost.my.domain myhost in /etc/hosts,
hostname --> myhost
and hostname -f -->  myhost.my.domain
:)

but domainname --> (none)

Anyway, thanks for you and all others

Bayrouni


> Since the handbook does not mention this, I'm still thinking that I'm
> probably missing something, but even a fresh install has the problem
> until the /etc/hosts workaround is applied.


-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-02-19 11:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19 10:32 [gentoo-user] hostname and domainname Bayrouni
2007-02-19 10:47 ` Dale
2007-02-19 11:27 ` Etaoin Shrdlu
2007-02-19 11:12   ` Bayrouni
2007-02-19 11:23     ` Astolfo Bugatti
2007-02-19 11:54       ` Dale
2007-02-19 12:15       ` Etaoin Shrdlu
2007-02-19 11:52     ` Etaoin Shrdlu
2007-02-19 11:46       ` Bayrouni [this message]
2007-02-19 12:24         ` Etaoin Shrdlu
2007-02-19 12:03           ` Bayrouni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D98E29.5090609@brutele.be \
    --to=bayrouni@brutele.be \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox