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

Tom Parquette tparquet at twcny.rr.com
Tue Jul 8 19:49:09 PDT 2003


Mike Makonnen wrote:

>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.
>  
>
(sigh) OK.  I feel stupid...
I was looking all over for a DNS problem.  :-/
I commented out the entry to enable the nis client and that took care of it.
I must have selected it by mistake when I built this system.
Thanks...



More information about the freebsd-current mailing list