Date: Wed, 15 Jun 2016 17:35:11 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: How to flush/clear dns cache? Message-ID: <eed9c513-8a13-86c3-d195-6b5bf3f10728@freebsd.org> In-Reply-To: <7912A649-58D5-47A9-8FD5-816E5CE5F3C8@gmail.com> References: <7912A649-58D5-47A9-8FD5-816E5CE5F3C8@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NNRvwGKr7vbe0D22de0HMgihgjOj0UKks Content-Type: multipart/mixed; boundary="O6axGjH2VT7bgr5FoJ08WuHxhsEg5KB3E" From: Matthew Seaman <matthew@freebsd.org> To: freebsd-questions@freebsd.org Message-ID: <eed9c513-8a13-86c3-d195-6b5bf3f10728@freebsd.org> Subject: Re: How to flush/clear dns cache? References: <7912A649-58D5-47A9-8FD5-816E5CE5F3C8@gmail.com> In-Reply-To: <7912A649-58D5-47A9-8FD5-816E5CE5F3C8@gmail.com> --O6axGjH2VT7bgr5FoJ08WuHxhsEg5KB3E Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/15/16 17:14, Bobb Shires wrote: > What is the FreeBSD equivalent of the windows command =E2=80=98ipconfig= /flushdns=E2=80=99? It depends. If you're running the local_unbound service[*], then you can achieve a similar effect by: # service local_unbound restart Otherwise: nothing. Unless you run some additional software specifically for this purpose, FreeBSD doesn't keep a local cache of DNS lookups, so there's nothing to do. Unless you want to start chasing the operators of the recursive resolvers you're using and ask them to flush their caches. (Hint: the answer will be 'no' unless you can show a good reason, like their caches having been poisoned or old data affecting a service that a lot of people use.) Cheers, Matthew [*] local_unbound is what is commonly used as it comes with the system but there's a number of alternatives you could use from ports. --O6axGjH2VT7bgr5FoJ08WuHxhsEg5KB3E-- --NNRvwGKr7vbe0D22de0HMgihgjOj0UKks Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXYYPAAAoJEABRPxDgqeTnzsIP/iX+cBG5DUzXvEv2AJ2ur4b3 HCCQ93k+V07r+nBjjClXv93zZe/iRXFY0Ypo2MEbM3+dl2iMI094xvqiJmS9L7ka vc47XScecZjC4orcTSsjzvJ815gaY5td9VYilcmNu7MHQ20s+hM6pWrf9dpnlysL lRScUcdyheVNatW32zNhRRtX7S80uCK9ZmT21wy+96ZPIjO+q1A6sVknW73jqxct RigA+nMtbGCYa4pzhNG8+Pdhu1NV43iJUaC0XTIJdPOFVn1fE+EyYdCGFRm9GIaF l7aIaWE21eXcfVmznStIOOig8IBonBHSL95nUHWBJ7yaAnR+aZyjl6wARpWKpw1n awEQakuO8Ci007PbdeuvNnSpBAoY/HDx29y01gGoPWQrV2ywEXDhsHmm6TQ2jlYu Twev3af8vS3nfs8FwqVwyESJZzhJ0mcY9ZjAgmbDczbI1Rji5LdYFLcadyYXBKSs iSv69ePJSSVLydv4FFmrq5ag3YIn0Gd63hIAp+jXpFKY0RIjVEgAnCc94+Pl8ugW Foub/5DU86TDj3f3q5Lq2nQvSk4lF6tB+K6uzyd3QNkn3inG8dO70iIGOgiePNi/ ulVzV4C4p1FSkvsqI2DHExiUrcxrGNuoQ/Jhc6Co8diZzIMfzVHtf8FTqXUDCAtE g8SSiqSAUCNYLGyP/C+5 =0UZU -----END PGP SIGNATURE----- --NNRvwGKr7vbe0D22de0HMgihgjOj0UKks--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eed9c513-8a13-86c3-d195-6b5bf3f10728>