Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 19:31:10 -0500
From:      Sean Kelly <smkelly@zombie.org>
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>
In-Reply-To: <200204182355.g3INtP307532@scms.utmb.edu>
References:  <200204182355.g3INtP307532@scms.utmb.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




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