Date: Tue, 2 May 2023 16:07:58 -0400 From: Paul Procacci <pprocacci@gmail.com> To: Doug Denault <doug@safeport.com> Cc: questions@freebsd.org Subject: Re: ntpd error on a bridged network Message-ID: <CAFbbPujozPJn3k5mJJ=HLQEqTxR4mTYZcde=EhYSndLHhbYocA@mail.gmail.com> In-Reply-To: <alpine.BSF.2.00.2305021544520.29936@bucksport.safeport.com> References: <alpine.BSF.2.00.2305021300400.29936@bucksport.safeport.com> <CAFbbPujQRGJ_k1N8uxW5LMYyWb9od1O8M=WgaWCW3C1O2qervA@mail.gmail.com> <alpine.BSF.2.00.2305021544520.29936@bucksport.safeport.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000937aae05fabb7f01 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 2, 2023 at 4:01=E2=80=AFPM Doug Denault <doug@safeport.com> wro= te: > On Tue, 2 May 2023, Paul Procacci wrote: > > > On Tue, May 2, 2023 at 1:02?PM Doug Denault <doug@safeport.com> wrote: > > We replaced an old apple router with a Linksys Velop router. The > apple > > router was behind a Verizon router and we used DHCP from Verizon > on the > > apple device. To duplicate the setup we configured the Linksys in > bridge > > mode. > > > > ntpd starts with the error: > > ntpd: error resolving pool 0.freebsd.pool.ntp.org: Name does > not resolve (8) > > > > however: > > > > host -t a 0.freebsd.pool.ntp.org > > 0.freebsd.pool.ntp.org has address 174.53.169.69 > > 0.freebsd.pool.ntp.org has address 192.241.155.186 > > 0.freebsd.pool.ntp.org has address 38.229.53.9 > > 0.freebsd.pool.ntp.org has address 38.229.57.9 > > > > ping -c 2 0.freebsd.pool.ntp.org > > PING 0.freebsd.pool.ntp.org (94.237.120.208): 56 data bytes > > 64 bytes from 94.237.120.208: icmp_seq=3D0 ttl=3D53 time=3D78= .773 ms > > 64 bytes from 94.237.120.208: icmp_seq=3D1 ttl=3D53 time=3D79= .012 ms > > > > /etc/resolv.conf > > # Generated by resolvconf > > search boltsys.com > > nameserver 192.168.2.1 > > > > Other than ntpd I see no DNS or connectivity issues. So far the > time has > > been holding at 2 seconds difference > > from the servers not on the office LAN. > > > > > > When you restart ntpd after the system has fully booted, does the same > > error occur? > > It is the same from power-off, reboot, and starting and stopping dhclient= . > I have also used google nameservers as well as 192.168.2.1 (verizon) all > works the same. > > > Just trying to isolate if it's a problem with ntpd specifically or > > perhaps ntpd starting before the network becomes available. > > > > What version of FreeBSD are you running? 12.4 > > > > _____ > Douglas Denault > http://www.safeport.com > doug@safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 Douglas, I perhaps wasn't clear. Sorry about that. What happens when you simply restart ntpd? By just restarting ntpd we can quickly isolate if the problem is with ntpd. ~Paul --=20 __________________ :(){ :|:& };: --000000000000937aae05fabb7f01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div dir=3D"ltr"><br></div><br><div class=3D"gmail_qu= ote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, May 2, 2023 at 4:01=E2= =80=AFPM Doug Denault <<a href=3D"mailto:doug@safeport.com">doug@safepor= t.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma= rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:= 1ex">On Tue, 2 May 2023, Paul Procacci wrote:<br> <br> > On Tue, May 2, 2023 at 1:02?PM Doug Denault <<a href=3D"mailto:doug= @safeport.com" target=3D"_blank">doug@safeport.com</a>> wrote:<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0We replaced an old apple router with a Links= ys Velop router. The apple<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0router was behind a Verizon router and we us= ed DHCP from Verizon on the<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0apple device. To duplicate the setup we conf= igured the Linksys in bridge<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0mode.<br> ><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0ntpd starts with the error:<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 ntpd: error resolving pool <a = href=3D"http://0.freebsd.pool.ntp.org" rel=3D"noreferrer" target=3D"_blank"= >0.freebsd.pool.ntp.org</a>: Name does not resolve (8)<br> ><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0however:<br> ><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 host -t a <a href=3D"http://0.= freebsd.pool.ntp.org" rel=3D"noreferrer" target=3D"_blank">0.freebsd.pool.n= tp.org</a><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 <a href=3D"http://0.freebsd.po= ol.ntp.org" rel=3D"noreferrer" target=3D"_blank">0.freebsd.pool.ntp.org</a>= has address 174.53.169.69<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 <a href=3D"http://0.freebsd.po= ol.ntp.org" rel=3D"noreferrer" target=3D"_blank">0.freebsd.pool.ntp.org</a>= has address 192.241.155.186<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 <a href=3D"http://0.freebsd.po= ol.ntp.org" rel=3D"noreferrer" target=3D"_blank">0.freebsd.pool.ntp.org</a>= has address 38.229.53.9<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 <a href=3D"http://0.freebsd.po= ol.ntp.org" rel=3D"noreferrer" target=3D"_blank">0.freebsd.pool.ntp.org</a>= has address 38.229.57.9<br> ><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 ping -c 2 <a href=3D"http://0.= freebsd.pool.ntp.org" rel=3D"noreferrer" target=3D"_blank">0.freebsd.pool.n= tp.org</a><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 PING <a href=3D"http://0.freeb= sd.pool.ntp.org" rel=3D"noreferrer" target=3D"_blank">0.freebsd.pool.ntp.or= g</a> (94.237.120.208): 56 data bytes<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 64 bytes from <a href=3D"http:= //94.237.120.208" rel=3D"noreferrer" target=3D"_blank">94.237.120.208</a>: = icmp_seq=3D0 ttl=3D53 time=3D78.773 ms<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 64 bytes from <a href=3D"http:= //94.237.120.208" rel=3D"noreferrer" target=3D"_blank">94.237.120.208</a>: = icmp_seq=3D1 ttl=3D53 time=3D79.012 ms<br> ><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 /etc/resolv.conf<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 # Generated by resolvconf<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 search <a href=3D"http://bolts= ys.com" rel=3D"noreferrer" target=3D"_blank">boltsys.com</a><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 nameserver 192.168.2.1<br> ><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0Other than ntpd I see no DNS or connectivity= issues. So far the time has<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0been holding at 2 seconds difference<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0from the servers not on the office LAN.<br> > <br> > <br> > When you restart ntpd after the system has fully booted, does the same= <br> > error occur?<br> <br> It is the same from power-off, reboot, and starting and stopping dhclient. = <br> I have also used google nameservers as well as 192.168.2.1 (verizon) all <b= r> works the same.<br> <br> > Just trying to isolate if it's a problem with ntpd specifically or= <br> > perhaps ntpd starting before the network becomes available.<br> > <br> > What version of FreeBSD are you running?=C2=A0 =C2=A012.4<br> <br> <br> <br> _____<br> Douglas Denault<br> <a href=3D"http://www.safeport.com" rel=3D"noreferrer" target=3D"_blank">ht= tp://www.safeport.com</a><br> <a href=3D"mailto:doug@safeport.com" target=3D"_blank">doug@safeport.com</a= ><br> Voice: 301-217-9220<br> =C2=A0 =C2=A0Fax: 301-217-9277</blockquote></div><br clear=3D"all"></div><d= iv>Douglas,</div><div><br></div><div>I perhaps wasn't clear.=C2=A0 Sorr= y about that.<br>What happens when you simply restart ntpd?</div><div><br><= /div><div>By just restarting ntpd we can quickly isolate if the problem is = with ntpd.<br><br></div><div>~Paul<br></div><div><div><span class=3D"gmail_= signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">= __________________<br><br>:(){ :|:& };:</div></div></div></div> --000000000000937aae05fabb7f01--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFbbPujozPJn3k5mJJ=HLQEqTxR4mTYZcde=EhYSndLHhbYocA>