public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] "hostname -d" returns no domainname
@ 2006-05-26  8:09 Alexander Skwar
  2006-05-26  8:32 ` Neil Bothwick
  2006-05-26  8:46 ` [gentoo-user] " Etaoin Shrdlu
  0 siblings, 2 replies; 11+ messages in thread
From: Alexander Skwar @ 2006-05-26  8:09 UTC (permalink / raw
  To: gentoo-user

Hello!

alexander@blatt ~ $ hostname -d
alexander@blatt ~ $ 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"

alexander@blatt ~ $

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-05-28  4:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-26  8:09 [gentoo-user] "hostname -d" returns no domainname Alexander Skwar
2006-05-26  8:32 ` Neil Bothwick
2006-05-26  9:43   ` [gentoo-user] " Alexander Skwar
2006-05-28  4:04     ` Zac Slade
2006-05-26  8:46 ` [gentoo-user] " Etaoin Shrdlu
2006-05-26  9:45   ` [gentoo-user] " Alexander Skwar
2006-05-26 10:20   ` [gentoo-user] " Bo Ørsted Andresen
2006-05-26 13:25     ` DNSDOMAIN in /etc/conf.d/domainname has no effect? (was: [gentoo-user] "hostname -d" returns no domainname) Alexander Skwar
2006-05-26 16:00       ` Zac Slade
2006-05-26 17:40         ` [gentoo-user] Re: DNSDOMAIN in /etc/conf.d/domainname has no effect? Alexander Skwar
2006-05-26 19:17           ` Hans-Werner Hilse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox