* [gentoo-user] Setting domainname doesn't work.
@ 2007-07-13 10:09 Elias Probst
2007-07-13 10:48 ` Etaoin Shrdlu
0 siblings, 1 reply; 7+ messages in thread
From: Elias Probst @ 2007-07-13 10:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
Hi,
I never stumbled across this, because I mostly use DHCP for my network setup.
It looks like it's not possible setting the domainname on Gentoo using
dns_domain_eth0="foobar"
or
dns_domain="foobar"
In /etc/conf.d/net.eth0 or /etc/conf.d/net
This variable seems to be just ignored and I couldn't track down so far where
exactly this happens.
Did anyone experience this too and knows how to make it work again?
I'm using baselayout-1.12.9-r2
Regards, Elias P.
--
A really nice number:
"09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0"
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Setting domainname doesn't work.
2007-07-13 10:09 [gentoo-user] Setting domainname doesn't work Elias Probst
@ 2007-07-13 10:48 ` Etaoin Shrdlu
2007-07-13 11:04 ` Elias Probst
0 siblings, 1 reply; 7+ messages in thread
From: Etaoin Shrdlu @ 2007-07-13 10:48 UTC (permalink / raw
To: gentoo-user
On Friday 13 July 2007 12:09, Elias Probst wrote:
> Hi,
>
> I never stumbled across this, because I mostly use DHCP for my network
> setup.
>
> It looks like it's not possible setting the domainname on Gentoo using
> dns_domain_eth0="foobar"
> or
> dns_domain="foobar"
> In /etc/conf.d/net.eth0 or /etc/conf.d/net
The file is /etc/conf.d/net, not /etc/conf.d/net.eth0 (you're probably
confusing it with the initscript under /etc/init.d).
> This variable seems to be just ignored and I couldn't track down so
> far where exactly this happens.
>
> Did anyone experience this too and knows how to make it work again?
> I'm using baselayout-1.12.9-r2
If you're talking about the "hostname -d" command and the \O parameter
inside /etc/issue not working, then this is an old problem (for me at
least).
To get it working, I had to put the fqdn of the box into /etc/hosts, eg
a.b.c.d host.domain.tld host
since configuring the domain as per the handbook (ie,
inside /etc/conf.d/net using dns_domain_lo) has never worked for me. To
be honest, a few paragraphs below, the handbook also tells you to put
the fqdn into /etc/hosts.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Setting domainname doesn't work.
2007-07-13 10:48 ` Etaoin Shrdlu
@ 2007-07-13 11:04 ` Elias Probst
2007-07-13 11:14 ` Norberto Bensa
2007-07-13 11:15 ` Etaoin Shrdlu
0 siblings, 2 replies; 7+ messages in thread
From: Elias Probst @ 2007-07-13 11:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
On Friday 13 July 2007 12:48:16 Etaoin Shrdlu wrote:
> If you're talking about the "hostname -d" command and the \O parameter
> inside /etc/issue not working, then this is an old problem (for me at
> least).
> To get it working, I had to put the fqdn of the box into /etc/hosts, eg
>
> a.b.c.d host.domain.tld host
>
> since configuring the domain as per the handbook (ie,
> inside /etc/conf.d/net using dns_domain_lo) has never worked for me. To
> be honest, a few paragraphs below, the handbook also tells you to put
> the fqdn into /etc/hosts.
Didn't get it working using the entry in /etc/hosts too. My current setup:
/etc/hosts:
127.0.0.1 hostname hostname.domain.local localhost
/etc/conf.d/net
dns_domain="domain.local"
tried also:
dns_domain_lo="domain.local"
I don't mind whether there is .(none) when evaluation /etc/issue, it's about
having a proper system setup and if this doesn't work, it should be removed
from the Gentoo handbook. So I'm trying to find out what causes this and fix
it if possible.
Regards, Elias P.
--
A really nice number:
"09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0"
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Setting domainname doesn't work.
2007-07-13 11:04 ` Elias Probst
@ 2007-07-13 11:14 ` Norberto Bensa
2007-07-13 11:29 ` Elias Probst
2007-07-13 11:15 ` Etaoin Shrdlu
1 sibling, 1 reply; 7+ messages in thread
From: Norberto Bensa @ 2007-07-13 11:14 UTC (permalink / raw
To: gentoo-user
Elias Probst wrote:
> /etc/hosts:
> 127.0.0.1 hostname hostname.domain.local localhost
It's:
IP fqdn hostname [aliases...]
example:
127.0.0.1 hosname.domain.local localhost hostname
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Setting domainname doesn't work.
2007-07-13 11:04 ` Elias Probst
2007-07-13 11:14 ` Norberto Bensa
@ 2007-07-13 11:15 ` Etaoin Shrdlu
1 sibling, 0 replies; 7+ messages in thread
From: Etaoin Shrdlu @ 2007-07-13 11:15 UTC (permalink / raw
To: gentoo-user
On Friday 13 July 2007 13:04, Elias Probst wrote:
> Didn't get it working using the entry in /etc/hosts too. My current
> setup:
>
> /etc/hosts:
> 127.0.0.1 hostname hostname.domain.local localhost
Sorry, I forgot to say that the entries MUST be in this exact order:
127.0.0.1 hostname.domain.local hostname localhost
(ie, the fqdn must come first)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Setting domainname doesn't work.
2007-07-13 11:14 ` Norberto Bensa
@ 2007-07-13 11:29 ` Elias Probst
2007-07-15 1:34 ` Dan Farrell
0 siblings, 1 reply; 7+ messages in thread
From: Elias Probst @ 2007-07-13 11:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
Am Freitag, 13. Juli 2007 13:14:18 schrieb Norberto Bensa:
> Elias Probst wrote:
> > /etc/hosts:
> > 127.0.0.1 hostname hostname.domain.local localhost
>
> It's:
>
> IP fqdn hostname [aliases...]
>
> example:
>
> 127.0.0.1 hosname.domain.local localhost hostname
Ok, thank you! Now it works.
But I'm still wondering about the variable in conf.d/net.
It seems this variable is totally useless.
Regards, Elias P.
--
A really nice number:
"09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0"
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Setting domainname doesn't work.
2007-07-13 11:29 ` Elias Probst
@ 2007-07-15 1:34 ` Dan Farrell
0 siblings, 0 replies; 7+ messages in thread
From: Dan Farrell @ 2007-07-15 1:34 UTC (permalink / raw
To: gentoo-user
On Fri, 13 Jul 2007 13:29:09 +0200
Elias Probst <mail@eliasprobst.eu> wrote:
> > 127.0.0.1 hosname.domain.local localhost hostname
>
> Ok, thank you! Now it works.
> But I'm still wondering about the variable in conf.d/net.
> It seems this variable is totally useless.
Do you think your server-supplied DHCP settings overrode what you set in
conf.d?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-07-15 1:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13 10:09 [gentoo-user] Setting domainname doesn't work Elias Probst
2007-07-13 10:48 ` Etaoin Shrdlu
2007-07-13 11:04 ` Elias Probst
2007-07-13 11:14 ` Norberto Bensa
2007-07-13 11:29 ` Elias Probst
2007-07-15 1:34 ` Dan Farrell
2007-07-13 11:15 ` Etaoin Shrdlu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox