Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2024 12:18:34 -0700
From:      Chris <bsd-lists@bsdforge.com>
To:        Sreenath Battalahalli <sreenathbh@rocketmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Sporadic DNS failure
Message-ID:  <c75fcf0dcd38d32dfd05a2b4f9b73e64@bsdforge.com>
In-Reply-To: <962395829.4561667.1710400340452@mail.yahoo.com>
References:  <962395829.4561667.1710400340452.ref@mail.yahoo.com> <962395829.4561667.1710400340452@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2024-03-14 00:12, Sreenath Battalahalli wrote:
> Hi,
> 
> I have been using freebsd as my primary OS on my ACER laptop for many years 
> now.
> My laptop has 802.11AC card for which there is no kernel driver available. I 
> am I
> use a USB wifi adapter to access the wifi router.
> 
> I am having sporadic DNS failures .
> 
> After reboot, everything works fine but after some time (30 minutes to a 
> couple of
> hours), Internet
> connections start to fail.
> 
> When this happens, I am able to ping 1.1.1.1, my DNS server.
> 
> However,
> # drill yahoo.com (or any other name) fails with following error:
> 
> Error: error sending query: Could not send or receive, because of network 
> error
> 
> Other devices connected to same Wifi router continue to work fine.
> 
> I ran drill under truss and it appears after sendto to 1.1.1.1, no response 
> comes.
> 
> After this error occurs, it stays like that for many some time (20-30 
> minutes) and
> sometimes it gets resolved by itself.
> 
> 
> #uname -a
> FreeBSD bsd12 13.0-RELEASE-p13 FreeBSD 13.0-RELEASE-p13 #0: Mon Aug 29 
> 19:52:47
> UTC 2022     root@amd64-builder.d
> aemonology.net:/usr/obj/usr/src/amd64.amd64/sys
> /GENERIC  amd64
> 
> Can someone please help me debug this problem?
I'm going to suggest that this might be a symptom of your usb port/hub 
hanging-up/
disconnecting due to inactivity. Your BIOS setup may have a setting 
associated
with that. OTOH I don't know what NIC driver you're using for your USB 
network
adapter. When you discover you can't perform DNS lookups, are you still 
associated?
eg; does the output of ifconfig still show associated? What are the settings
in rc.conf(5) related to your network setup?
> 
> Thanks,
> Sreenath

HTH

--Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c75fcf0dcd38d32dfd05a2b4f9b73e64>