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

From: Mike Makonnen <mtm_at_identd.net>
Date: Tue, 8 Jul 2003 19:42:57 -0400
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.

Cheers.
-- 
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
Received on Tue Jul 08 2003 - 14:43:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC