Hello!

[EMAIL PROTECTED] ~ $ hostname -d
[EMAIL PROTECTED] ~ $ cat /etc/conf.d/domainname
# /etc/conf.d/domainname

# When setting up resolv.conf, what should take precedence?
# If you wish to always override DHCP/whatever, set this to 1.
OVERRIDE=1

# To have a proper FQDN, you need to setup /etc/hosts and /etc/resolv.conf
# properly (domain entry in /etc/resolv.conf, and FQDN in /etc/hosts).
#
DNSDOMAIN="bei.digitalprojects.com"

# This only set what /bin/hostname returns.  If you need to setup NIS, meaning
# what /bin/domainname returns, please see:
#
#   http://www.linux-nis.org/nis-howto/HOWTO/
#
NISDOMAIN="bei.digitalprojects.com"

[EMAIL PROTECTED] ~ $

Why does "hostname -d" not return a domainname? I would have
thought, that the "DNSDOMAIN" setting in combination with
"OVERRIDE=1" would set a DNS domain.

Why's that not so?

The system gets configured using dhcp, using dhcpcd.

Alexander Skwar
--
QOTD:
        Y'know how s'm people treat th'r body like a TEMPLE?
        Well, I treat mine like 'n AMUSEMENT PARK...  S'great...
--
gentoo-user@gentoo.org mailing list

Reply via email to