Ryan Tandy [EMAIL PROTECTED] writes:
Sorry, but I disagree with this interpretation. The way I read it, it
says that in the rare case that one should wish to change things such
as domain, DNS, etc, one should use /etc/conf.d/net, but that a
wireless user is more likely to need/want such
Hi,
I've been following this thread for the whole day, but despite
of reading many mails (unbelievable, how much mail-traffic can
such a simple question generate!), I'm still missing simple
yet exact answer (but maybe I have lost some emails).
So could someone please summarise it?
Supposing
Graham Murray wrote:
But this thread is about setting the domain name initially. This is
something which desktop users want to do and the suggestion was that
/etc/conf.d/net is the correct place to set (as well as change on a
per-interface basis) this.
Context is everything. ;) The post I
Alexander Skwar wrote:
Mark schrieb:
On 16/08/06, Anthony E. Caudel [EMAIL PROTECTED] wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks
Alexander Skwar wrote:
Anthony E. Caudel schrieb:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about setting up dns_domain but if this is
Alexander Skwar wrote:
Phil Sexton schrieb:
Here is another guess:
How about /etc/conf.d/domainname?
Yep, should be configured as well. But as you can see there, it doesn't
set the domainname of the system:
# DNSDOMAIN merely sets the domain entry in /etc/resolv.conf, see
# the
Alexander Skwar schrieb:
The domainname is set with dns_domain or nis_domain.
Not or, but and. Depending on what domainname is to be set - NIS
or DNS.
Alexander Skwar
--
The only thing to do with good advice is pass it on. It is never any
use to oneself.
-- Oscar Wilde
--
On Wednesday 16 August 2006 21:51, Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about setting up dns_domain but if
Phil Sexton schrieb:
Alexander Skwar wrote:
Phil Sexton schrieb:
Here is another guess:
How about /etc/conf.d/domainname?
Yep, should be configured as well. But as you can see there, it doesn't
set the domainname of the system:
# DNSDOMAIN merely sets the domain entry in /etc/resolv.conf,
Phil Sexton schrieb:
Alexander Skwar wrote:
Mark schrieb:
On 16/08/06, Anthony E. Caudel [EMAIL PROTECTED] wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
Hans-Gunther Borrmann schrieb:
On Wednesday 16 August 2006 21:51, Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about
So how is the domainname now set?
This was discussed here before; I think the solution was
to put something somewhere in a specific order. I have this working
properly and these're my files:
# cat /etc/conf.d/domainname
OVERRIDE=1
DNSDOMAIN=gvid.cz
NISDOMAIN=
# cat /etc/resolv.conf
nameserver
On Thursday 17 August 2006 10:32, Alexander Skwar wrote:
Nope. resolv.conf doesn't have any influence on the hostname or
domainname. It controls, how names/ips are resolved.
If it would be as you say, what would be my domainname?
[EMAIL
Hans-Gunther Borrmann schrieb:
On Thursday 17 August 2006 10:32, Alexander Skwar wrote:
Nope. resolv.conf doesn't have any influence on the hostname or
domainname. It controls, how names/ips are resolved.
If it would be as you say, what would be my domainname?
[EMAIL
On Thursday 17 August 2006 11:02, Roman Zilka wrote:
# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 10.0.0.3
search gvid.cz
domain gvid.cz
domain and search are mutually exclusive!
Gunther
--
Hans-Gunther Borrmann
# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 10.0.0.3
search gvid.cz
domain gvid.cz
domain and search are mutually exclusive!
Hm, I see, thanks for the hint. Somehow somewhere I got a wrong understanding
of what search actually means.
Regards
-Roman
--
Alexander Skwar wrote:
Phil Sexton schrieb:
I just used the command:
# domainname uilleann
That's not a domainname, as there are no dots (.). Granted, a domain
doesn't
have to have dots, but it's very unusual to have a TLD.
I am thouroughly confused now. I previously had
* Roman Zilka [EMAIL PROTECTED] wrote:
# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 10.0.0.3
search gvid.cz
domain gvid.cz
domain and search are mutually exclusive!
Hm, I see, thanks for the hint. Somehow somewhere I got a wrong understanding
of what search
* Hans-Gunther Borrmann [EMAIL PROTECTED] wrote:
snip
and from where does my machine get its domain name?
The kernel knows it. Of course, it has to be set on each boot.
I actually have no idea, how gentoo sets it, but most obviously
it will be done by an dnsdomainname and hostname call.
Try a
Pardon my thick skull. Alexander Skwar, I appoligise for my last post.
Darn this morphine I have to take for my pain.
I am confusing hostname and domain name.
I still don't understand why the script isn't supposed to be used to set
hostnane/domainname though.
--
Phil Sexton
My Home Page:
Alexander Skwar [EMAIL PROTECTED] writes:
Not or, but and. Depending on what domainname is to be set - NIS
or DNS.
Which is the one whose use will cause its value to passed to setdomainname(2)?
--
gentoo-user@gentoo.org mailing list
On Thu, 17 Aug 2006 09:00:41 -0400, Phil Sexton wrote:
I still don't understand why the script isn't supposed to be used to
set hostnane/domainname though.
Because your domain name may change while your hostname stays the same,
or vice versa. Think of a laptop connected at various locations.
Phil Sexton schrieb:
I still don't understand why the script isn't supposed to be used to set
hostnane/domainname though.
What script? /bin/domainname is not a script, but a binary. And it's
this binary, which sets the domainname. But as most users don't want
to run domainname manually all
Alexander Skwar wrote:
Strange. Why is the script there?
What script?
The script I mentioned before:
/bin/hostname and the symlinks that point to it, /bin/domainname and
/bin/dnsdomainname
--
Phil Sexton
My Home Page: http://fancypiper.info/
Free tunes: ftp://fancypiper.info/
Naomi's
Neil Bothwick wrote:
Because your domain name may change while your hostname stays the same,
or vice versa. Think of a laptop connected at various locations. Locking
the two together in one config file works against this.
Aha!
I don't have anything mobile, just my home box and the ones under
Phil Sexton schrieb:
Alexander Skwar wrote:
What script? /bin/domainname is not a script, but a binary. And it's
this binary, which sets the domainname. But as most users don't want
to run domainname manually all the time, there are ways to make
Gentoo call domainname. One of this ways is
Alexander Skwar wrote:
Phil Sexton schrieb:
I didn't think you had to run it manually unless you want to. Can't
you call if from
/etc/conf.d/local.start
Sure, but why do that? Why not use the mechanisms, that Gentoo
forsees for this?
I thought that was the purpose of that file, to run
Phil Sexton schrieb:
Alexander Skwar wrote:
Phil Sexton schrieb:
I didn't think you had to run it manually unless you want to. Can't
you call if from
/etc/conf.d/local.start
Sure, but why do that? Why not use the mechanisms, that Gentoo
forsees for this?
Interestingly, you did not
Alexander Skwar [EMAIL PROTECTED] writes:
You should use /etc/conf.d/net to set the domainname.
So why does /etc/conf.d.net.example state
# For configuring system specifics such as domain, dns, ntp and nis servers
# It's rare that you would need todo this, but you can anyway.
# This is most
Alexander Skwar wrote:
Phil Sexton schrieb:
snip
/etc/conf.d/local.start
snip
Gentoo is the only distribution I have seen use that particular file,
What file? /etc/conf.d/net?
No, the file I was speaking of, /etc/conf.d/local.start
--
Phil Sexton
My Home Page: http://fancypiper.info/
Phil Sexton schrieb:
Alexander Skwar wrote:
Sure, but why do that? Why not use the mechanisms, that Gentoo
forsees for this?
Interestingly, you did not answer this question. Why's that so?
Because it was your statement, not mine.
So? It was a question and interestingly, you didn't
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about setting up dns_domain but if this is
used, it overwrites /etc/resolv.conf.
So how is the
Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about setting up dns_domain but if this is
used, it overwrites
Mike wrote:
Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about setting up dns_domain but if this is
used, it
Anthony E. Caudel wrote:
Well, perhaps. It is in my /etc/hosts. But domainname still returns (none)
By default, the 'domainname' command returns your NIS/YP domainname,
which not many of us have. Try 'dnsdomainname' instead - it may have
the result you're looking for.
delta ~ #
Anthony E Caudel wrote:
Mike wrote:
Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about setting up dns_domain but
Phil Sexton wrote:
Anthony E Caudel wrote:
Mike wrote:
Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about
Anthony E Caudel wrote:
Phil Sexton wrote:
Anthony E Caudel wrote:
Mike wrote:
Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
Phil Sexton wrote:
Anthony E Caudel wrote:
Mike wrote:
Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about
Anthony E. Caudel schrieb:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about setting up dns_domain but if this is
used, it overwrites
Alexander Skwar wrote:
Phil Sexton schrieb:
I thought domainname was set in /etc/hosts.
No, it's not. NIS doesn't use /etc/hosts for these things.
Here is my /etc/conf.d/hostname:
# Set to the hostname of this machine
HOSTNAME=uilleann.fancypiper.info
That's not a hostname. A hostname
Alexander Skwar wrote:
Phil Sexton schrieb:
Anthony E Caudel wrote:
Phil Sexton wrote:
Anthony E Caudel wrote:
Mike wrote:
Anthony E. Caudel wrote:
As of baselayout-1.12.4, the domainname init script is no longer
used
and the Gentoo Handbook no longer tells how to set the
Anthony E. Caudel schrieb:
I don't use /etc/hostname and I DO use /etc/conf.d/hostname. What has
this to do with the domainname? Are they both set there?
No, they are not.
Alexander Skwar
--
Espy you are baked
knghtbrd Espy: only half so
--
gentoo-user@gentoo.org mailing list
Mark schrieb:
On 16/08/06, Anthony E. Caudel [EMAIL PROTECTED] wrote:
As of baselayout-1.12.4, the domainname init script is no longer used
and the Gentoo Handbook no longer tells how to set the domainname.
domainname now returns (none)
/etc/conf.d/net.example talks about setting up dns_domain
44 matches
Mail list logo