1 |
> (none) mark # cat /etc/conf.d/hostname && cat /etc/conf.d/dnsdomainname |
2 |
> laeb |
3 |
> laeb.dyndns.org |
4 |
> (none) mark # |
5 |
|
6 |
Besides using the incorrect format for the files, your dnsdomainname should |
7 |
not include the hostname: |
8 |
|
9 |
cornholio ~ # cat /etc/conf.d/hostname |
10 |
# /etc/conf.d/hostname |
11 |
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/hostname,v 1.2.4.1 |
12 |
2005/02/19 02:13:53 vapier Exp $ |
13 |
|
14 |
# Set to the hostname of this machine |
15 |
HOSTNAME="cornholio" |
16 |
cornholio ~ # cat /etc/conf.d/domainname |
17 |
# /etc/conf.d/domainname |
18 |
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/domainname,v |
19 |
1.1.4.1 2005/02/19 02:13:53 vapier Exp $ |
20 |
|
21 |
# When setting up resolv.conf, what should take precedence? |
22 |
# If you wish to always override DHCP/whatever, set this to 1. |
23 |
OVERRIDE=1 |
24 |
|
25 |
# To have a proper FQDN, you need to setup /etc/hosts and /etc/resolv.conf |
26 |
# properly (domain entry in /etc/resolv.conf, and FQDN in /etc/hosts). |
27 |
# |
28 |
DNSDOMAIN="joat.com" |
29 |
|
30 |
# This only set what /bin/hostname returns. If you need to setup NIS, |
31 |
meaning |
32 |
# what /bin/domainname returns, please see: |
33 |
# |
34 |
# http://www.linux-nis.org/nis-howto/HOWTO/ |
35 |
# |
36 |
#NISDOMAIN="" |
37 |
|
38 |
-- |
39 |
gentoo-user@g.o mailing list |