From owner-freebsd-hackers Fri Apr 19 17:31:14 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from edgemaster.zombie.org (edgemaster.creighton.edu [147.134.112.68]) by hub.freebsd.org (Postfix) with ESMTP id 8797437B405 for ; Fri, 19 Apr 2002 17:31:09 -0700 (PDT) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 4C50C66B04; Fri, 19 Apr 2002 19:31:10 -0500 (CDT) Date: Fri, 19 Apr 2002 19:31:10 -0500 From: Sean Kelly To: bdodson@scms.utmb.edu Cc: freebsd-hackers@freebsd.org Subject: Re: resolver library and changes in /etc/resolv.conf Message-ID: <20020420003110.GA47758@edgemaster.zombie.org> References: <200204182355.g3INtP307532@scms.utmb.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <200204182355.g3INtP307532@scms.utmb.edu> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 18, 2002 at 06:55:24PM -0500, bdodson@scms.utmb.edu wrote: > As part of debugging massive email failures for my local lab domain > after our campus IS people changed from Solaris to Windows2000 for DNS > last weekend, I had the occasion to change the name server entries in > /etc/resolv.conf. I thought (wrongly it turns out) that I could just > make the changes, and they would be picked up automatically. Is this > sendmail remembering the name server list it got when it was started? > Can I just send it a HUP and have it pick up the changes? I know that > going down to single user and back to multiuser is sufficient, but is > there a less intrusive way to force the changes to be recognized? I > would like a procedure that worked globally for all processes, not just > sendmail, if possible. The contents of /etc/resolv.conf are picked up when the application calls res_init(). Your best bet would be to just restart sendmail. You don't have to go to singleuser to make the change, just restart the networked stuff. --=20 Sean Kelly | PGP KeyID: 77042C7B smkelly@zombie.org | http://www.zombie.org --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE8wLbN2aukpHcELHsRAkcEAJ9VxZKASTO+KxCeIQh1JjD5OGoC9gCfeIGE if2SwpWlC8wI5CUZzkFZIWU= =drH0 -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message