/etc/rc: WARNING: domainname(1) is not set.

Mike Makonnen mtm at identd.net
Tue Jul 8 16:43:01 PDT 2003

On Tue, Jul 08, 2003 at 06:26:27PM -0400, Tom Parquette wrote:
> Hi,
> I have been getting the message "/etc/rc: WARNING: domainname(1) is not 
> set" every time I boot one of my machines.
> It is a 5.1-CURRENT system but I have not updated since June 15.
> I have been ignoring this for some time because I have been trying to 
> get DDNS to work.
> I thought it was related to my DDNS problem.  Now that I have DDNS 
> working (finally) I was supprised to see the message still appearing.

It says domainname(1) for a reason :-)

Domainname has nothing to do with DNS, it's talking about your NIS
domain name. You are trying to use one of the yp* daemons without
first setting your NIS domain. You need domainname="..." in rc.conf.

Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm at FreeBSD.Org| FreeBSD - The Power To Serve

More information about the freebsd-current mailing list