public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Re: Re: What is up with the new "domainname" situation?
Date: Sun, 17 Sep 2006 18:59:17 +0200	[thread overview]
Message-ID: <1195472.0AGzUoq8gl@m-id.message-center.info> (raw)
In-Reply-To: 9acccfe50609170745q5d8225c9n4f72e211f1c0b036@mail.gmail.com

· Kevin O'Gorman <kogorman@gmail.com>:
> On 9/17/06, Mick <michaelkintzios@gmail.com> wrote:
>> On Sunday 17 September 2006 13:43, Alexander Skwar wrote:
>> > · Mick <michaelkintzios@gmail.com>:
>> > > On Sunday 17 September 2006 09:21, Neil Bothwick wrote:
>> > >> On Sun, 17 Sep 2006 07:50:28 +0200, Alexander Skwar wrote:

>> > > Can you please guide me how to set it up globally?
>> >
>> > It's all in /etc/conf.d/net.example.
>> >
>> > > I am not sure I can follow
>> > > the otherwise well commented /etc/conf.d/net.
>> >
>> > What problems do you have specifically?
>> > What did you try?
>> > What was the expected outcome and what did you get in reality?
>>
>> I saw this: # dns_domain_eth0="your.domain" in the /etc/conf.d/net.example and
>> added: dns_domain="STUDY"
>>
>> but still .none comes up:
>>
>> # domainname
>> (none)
>>
> 
> I have to join in the confusion too.  Reading the examples I come to the same
> conclusion that I should be able to put
>     dns_domain="kosmanor.com"
> in /etc/conf.d/net and have it work.

You're right.

I've got:

# Alle Interfaces
modules=( "ifconfig" )
dns_servers="130.171.200.151 130.171.157.129"
dns_search="dewup.europe europe"
dns_domain="dewup.europe"
ntp_servers="130.171.200.145 130.171.200.144"
nis_domain="wup.de"
nis_servers="10.233.7.240"

# eth0 - LAN
config_eth0=( "10.233.7.145 netmask 255.255.248.0 broadcast 10.233.7.255" )
routes_eth0=( "default via 10.233.0.250" )

And this does work. As you can see, I've got dns_domain="dewup.europe" and when
I run "hostname -d", I get the expected result - dewup.europe.

> As I have static IP's and a single domain I see no point in
> per-interface domains, but

The point has been explained.

> if I used them, what in the world could I expect domainname(1) to tell me?

The domainname. But you haven't set one. You've set the DNS domainname. domainname
doesn't return the DNS domainname as the documentation clearly states. See "hostname
--help" or "domainname --help".

> It seems to me the most common setups are DHCP or something like mine, and I
> would hope the documentation was clear for those common cases.

Actually, I find it quite clear. The documentation states what needs to be
done and it states, what the commands return. It seems, that you've used
the wrong command.

Alexander Skwar
-- 
The only difference in the game of love over the last few thousand years
is that they've changed trumps from clubs to diamonds.
                -- The Indianapolis Star


-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-09-17 17:04 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-17  4:30 [gentoo-user] What is up with the new "domainname" situation? Thomas T. Veldhouse
2006-09-17  5:50 ` [gentoo-user] " Alexander Skwar
2006-09-17  8:21   ` Neil Bothwick
2006-09-17  9:05     ` Alexander Skwar
     [not found]       ` <20060917102431.76c4dbba@krikkit.digimed.co.uk>
2006-09-17  9:49         ` [gentoo-user] " Alexander Skwar
2006-09-17 11:45     ` [gentoo-user] " Mick
2006-09-17 12:43       ` [gentoo-user] " Alexander Skwar
2006-09-17 13:48         ` Mick
2006-09-17 14:45           ` Kevin O'Gorman
2006-09-17 16:59             ` Alexander Skwar [this message]
2006-09-17 17:35               ` [gentoo-user] " Etaoin Shrdlu
2006-09-17 19:02                 ` [gentoo-user] " Alexander Skwar
     [not found]               ` <450D8B18.8010706@veldy.net>
2006-09-17 19:05                 ` [gentoo-user] " Alexander Skwar
2006-09-17 19:36                 ` [gentoo-user] Re: " Drew
2006-09-17 16:19           ` [gentoo-user] " Timothy A. Holmes
2006-09-17 17:30             ` Richard Fish
     [not found]           ` <450D88F6.1080508@veldy.net>
2006-09-17 19:02             ` [gentoo-user] " Alexander Skwar
2006-09-18 12:47               ` Mick
2006-09-18 13:17                 ` Neil Bothwick
2006-09-18 20:12                   ` Mick
2006-09-19  8:35                     ` Neil Bothwick
2006-09-19 12:51                       ` Thomas T. Veldhouse
2006-09-19 20:06                         ` Mick
2006-09-24 10:31                         ` Mick
2006-09-17 23:15           ` [gentoo-user] " Ryan Tandy
2006-09-18 15:35             ` Sigi Schwartz
2006-09-18 16:29               ` Ryan Tandy
     [not found]       ` <87hcz6u2cz.fsf@newsguy.com>
2006-09-17 12:45         ` [gentoo-user] " Alexander Skwar

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=1195472.0AGzUoq8gl@m-id.message-center.info \
    --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