1 |
Hans-Gunther Borrmann schrieb: |
2 |
> On Wednesday 16 August 2006 21:51, Anthony E. Caudel wrote: |
3 |
>> As of baselayout-1.12.4, the domainname init script is no longer used |
4 |
>> and the Gentoo Handbook no longer tells how to set the domainname. |
5 |
>> domainname now returns "(none)" |
6 |
>> |
7 |
>> /etc/conf.d/net.example talks about setting up dns_domain but if this is |
8 |
>> used, it overwrites /etc/resolv.conf. |
9 |
>> |
10 |
>> So how is the domainname now set? |
11 |
>> |
12 |
>> Tony |
13 |
> |
14 |
> in /etc/resolv.conf |
15 |
|
16 |
Nope. resolv.conf doesn't have any influence on the hostname or |
17 |
domainname. It controls, how names/ips are resolved. |
18 |
|
19 |
If it would be as you say, what would be my domainname? |
20 |
|
21 |
alexander@knospe:~/tmp/sources/samba/samba-3.0.22/source/utils$ cat /etc/resolv.conf |
22 |
search bei.digitalprojects.com |
23 |
nameserver 192.168.1.1 |
24 |
|
25 |
> (man resolv.conf). |
26 |
|
27 |
NAME |
28 |
resolv.conf - resolver configuration file |
29 |
|
30 |
|
31 |
The "domain" setting doesn't do what you say. |
32 |
|
33 |
[...] |
34 |
domain Local domain name. |
35 |
Most queries for names within this domain can use short names relative to the |
36 |
local domain. If no domain entry is present, the domain is determined from the |
37 |
[...] |
38 |
|
39 |
See? It's for "queries for names". |
40 |
|
41 |
Alexander Skwar |
42 |
-- |
43 |
Remember that as a teenager you are in the last stage of your life when |
44 |
you will be happy to hear that the phone is for you. |
45 |
-- Fran Lebowitz, "Social Studies" |
46 |
-- |
47 |
gentoo-user@g.o mailing list |