ntpd couldn't resolve host name on system boot

Dan Daley dddaley at yahoo.com
Sat May 19 13:41:43 UTC 2012


I haven't had a chance to read through this entire thread yet, but 
wanted to post this in case it helps someone.

ntpd was working fine for me for a while, and then I started getting 
this exact same error.  After a few weeks, I finally started 
troubleshooting and it turned out that I had, at some point, commented 
this out in my rc.conf

defaultrouter="192.168.1.1"

Everything else seemed to work fine (I use DHCP, so assume that it 
figured out the router from that).  Once I uncommented that line, ntpd 
started working again.  Maybe the netwait and/or dhcp sync would allow 
ntpd to work without having to specify a default router in rc.conf, but 
I haven't played with that yet.



On 05/18/2012 08:28, Matthew Doughty wrote:
> Hello Bjoern,
>
> It's still a problem for me.  Here is a list of my system information:
>
> Hostname freenas.local  FreeNAS Build FreeNAS-8.0.4-RELEASE-p1-x64 (11059)
> Platform AMD Athlon(tm) II X2 250 Processor  Memory 8144MB  System Time Fri
> May 18 09:07:22 2012  Uptime 9:07AM up 6 mins, 0 users  Load Average 0.00,
> 0.21, 0.16  OS Version FreeBSD 8.2-RELEASE-p6
> Are you refering to the OS version? 9.0 or 8.3?  Looks like I'm using 8.2.
>
> Best regards,
> Matthew
>
>
> On 17 May 2012 16:48, Bjoern A. Zeeb<bzeeb-lists at lists.zabbadoz.net>  wrote:
>
>> On 17. May 2012, at 15:03 , Matthew Doughty wrote:
>>
>>> Dear Jerermy,
>>>
>>> Whilst searching for a solution to a problem, I found your post:
>>>
>> http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064350.html
>>> Please could you explain how I can implement the netwait script to solve
>>> the problem?  I'm new to freenas/BSD but am willing to try working from
>> the
>>> Cmd line.
>> ntpd in head 9.0 and later and 8.3 and later should not exhibit that
>> problem
>> anymore as it was fixed.   Could you please tell me if that is not the
>> case?
>>
>> /bz
>>
>> --
>> Bjoern A. Zeeb                                 You have to have visions!
>>    It does not matter how good you are. It matters what good you do!
>>
>>
>


More information about the freebsd-stable mailing list