From agurin@mail.ru  Thu Mar 18 12:28:53 2010
Return-Path: <agurin@mail.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 49D8C106566B
	for <freebsd-gnats-submit@freebsd.org>; Thu, 18 Mar 2010 12:28:51 +0000 (UTC)
	(envelope-from agurin@mail.ru)
Received: from fallback2.mail.ru (fallback2.mail.ru [94.100.176.87])
	by mx1.freebsd.org (Postfix) with ESMTP id C32B58FC17
	for <freebsd-gnats-submit@freebsd.org>; Thu, 18 Mar 2010 12:28:50 +0000 (UTC)
Received: from f109.mail.ru (f109.mail.ru [217.69.128.69])
	by fallback2.mail.ru (mPOP.Fallback_MX) with ESMTP id BD7B7179C44E
	for <freebsd-gnats-submit@freebsd.org>; Thu, 18 Mar 2010 14:53:41 +0300 (MSK)
Received: from mail by f109.mail.ru with local 
	id 1NsEI7-0004Pd-00; Thu, 18 Mar 2010 14:53:31 +0300
Received: from [82.193.120.213] by win.mail.ru with HTTP;
	Thu, 18 Mar 2010 14:53:31 +0300
Message-Id: <E1NsEI7-0004Pd-00.agurin-mail-ru@f109.mail.ru>
Date: Thu, 18 Mar 2010 14:53:31 +0300
From: =?koi8-r?Q?=F3=C1=CE=C5=CB_=E7=D5=D2=C9=CE?= <agurin@mail.ru>
Reply-To: =?koi8-r?Q?=F3=C1=CE=C5=CB_=E7=D5=D2=C9=CE?= <agurin@mail.ru>
To: wilson.andrew.j@gmail.com
Cc: freebsd-gnats-submit@freebsd.org
Subject: =?koi8-r?Q?Re=3A_conf/144804=3A_ntpd_cannot_resolve_hostnames_at_system_start?=

>Number:         144854
>Category:       conf
>Synopsis:       Re: conf/144804: ntpd cannot resolve hostnames at system start
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 18 12:30:04 UTC 2010
>Closed-Date:    Thu Mar 18 23:20:05 UTC 2010
>Last-Modified:  Thu Mar 18 23:20:05 UTC 2010
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Due to network initialization taking longer at system startup on 8.0, ntpd cannot resolve hostnames when it is run by /etc/rc.d/ntpd
 
 
 It spits out some messages that look something like:
 
 ntpd_initres[1469]: host name not found: time.nist.gov
 ntpd_initres[1469]: couldn't resolve `time.nist.gov', giving up on it
 ntpd_initres[1469]: host name not found: time-b.nist.gov
 ntpd_initres[1469]: couldn't resolve `time-b.nist.gov', giving up on it
 ntpd_initres[1469]: host name not found: time-c.timefreq.bldrdoc.gov
 ntpd_initres[1469]: couldn't resolve `time-c.timefreq.bldrdoc.gov', giving up on it
 
 
 In this state ntpd isn't very useful until it is restarted after the network is ready to go.
 
 
 
 # ntpq -p
 No association ID's returned
 # /etc/rc.d/ntpd restart
 Stopping ntpd.
 Starting ntpd.
 # ntpq -p
      remote           refid      st t when poll reach   delay   offset  jitter
 ==============================================================================
  time.nist.gov   .ACTS.           1 u    3   64    1   40.103  -20.364   0.004
  time-b.nist.gov .ACTS.           1 u    2   64    0    0.000    0.000   0.000
  time-C.timefreq .ACTS.           1 u    1   64    1   40.769  -20.209   0.004
  nist1.symmetric .ACTS.           1 u    1   64    1   67.883  -11.069   0.004
 
 
 
 > >How-To-Repeat:
 
 Configure time servers by hostname in /etc/ntp.conf, set ntpd_enable="YES" in rc.conf and reboot.
 
 
 > >Fix:
 
 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 
 this bug occurs when your system configured to use a dns server on the same system. When a system is starting, the ntpd starts before the named.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Mar 18 23:18:35 UTC 2010 
State-Changed-Why:  
Misfiled followup to conf/144804, already included. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Mar 18 23:18:35 UTC 2010 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=144854 
>Unformatted:
