· Kevin O'Gorman <[EMAIL PROTECTED]>:
> On 9/17/06, Mick <[EMAIL PROTECTED]> wrote:
>> On Sunday 17 September 2006 13:43, Alexander Skwar wrote:
>> > · Mick <[EMAIL PROTECTED]>:
>> > > 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


-- 
[email protected] mailing list

Reply via email to