From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: "hostname -d" returns no domainname
Date: Fri, 26 May 2006 09:45:34 +0000 (UTC) [thread overview]
Message-ID: <loom.20060526T114428-281@post.gmane.org> (raw)
In-Reply-To: 200605261046.30253.shrdlu@unlimitedmail.org
Etaoin Shrdlu <shrdlu <at> unlimitedmail.org> writes:
> I seem to remember that this was somehow related to /etc/hosts, look:
>
> # cat /etc/hosts
> 10.0.0.10 mybox mybox.my.domain
>
> # hostname -d
> #
> # (modify /etc/hosts)
> # cat /etc/hosts
> 10.0.0.10 mybox.my.domain mybox
>
> # hostname -d
> my.domain
Great, this helped!
I now have:
alexander@blatt ~ $ grep -v \# /etc/hosts | grep -v '^$'
127.0.0.1 blatt.bei.digitalprojects.com blatt
127.0.0.1 localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
213.133.109.44 new.email-server.info
And:
alexander@blatt ~ $ hostname -d
bei.digitalprojects.com
But I'd still like to know what /etc/conf.d/domainname does... Or rather: Is
supposed to do :)
Alexander Skwar
--
There is brutality and there is honesty. There is no such thing as brutal
honesty.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-05-27 3:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-26 8:09 [gentoo-user] "hostname -d" returns no domainname Alexander Skwar
2006-05-26 8:32 ` Neil Bothwick
2006-05-26 9:43 ` [gentoo-user] " Alexander Skwar
2006-05-28 4:04 ` Zac Slade
2006-05-26 8:46 ` [gentoo-user] " Etaoin Shrdlu
2006-05-26 9:45 ` Alexander Skwar [this message]
2006-05-26 10:20 ` Bo Ørsted Andresen
2006-05-26 13:25 ` DNSDOMAIN in /etc/conf.d/domainname has no effect? (was: [gentoo-user] "hostname -d" returns no domainname) Alexander Skwar
2006-05-26 16:00 ` Zac Slade
2006-05-26 17:40 ` [gentoo-user] Re: DNSDOMAIN in /etc/conf.d/domainname has no effect? Alexander Skwar
2006-05-26 19:17 ` Hans-Werner Hilse
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=loom.20060526T114428-281@post.gmane.org \
--to=listen@alexander.skwar.name \
--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