From owner-freebsd-questions@FreeBSD.ORG Sat Nov 26 17:59:03 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C28C16A422 for ; Sat, 26 Nov 2005 17:59:03 +0000 (GMT) (envelope-from greg@grokking.org) Received: from herbert.sohotech.ca (herbert.sohotech.ca [206.116.63.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7535043D8E for ; Sat, 26 Nov 2005 17:58:30 +0000 (GMT) (envelope-from greg@grokking.org) Received: from localhost (unknown [127.0.0.1]) by herbert.sohotech.ca (Postfix) with ESMTP id C4BAA1800CC for ; Sat, 26 Nov 2005 09:58:23 -0800 (PST) Received: from herbert.sohotech.ca ([127.0.0.1]) by localhost (herbert.sohotech.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 56133-07 for ; Sat, 26 Nov 2005 09:58:22 -0800 (PST) Received: from [192.168.11.2] (niven.sohotech.ca [192.168.11.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by herbert.sohotech.ca (Postfix) with ESMTP id 70D421800C7 for ; Sat, 26 Nov 2005 09:58:22 -0800 (PST) Message-ID: <4388A23E.8080208@grokking.org> Date: Sat, 26 Nov 2005 09:58:22 -0800 From: Greg Maruszeczka User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051108) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20051120105719.19460df6.dick@nagual.st> <200511251553.17891.akbeech@gmail.com> <6.2.3.4.2.20051125171610.02addb80@cobalt.antimatter.net> In-Reply-To: <6.2.3.4.2.20051125171610.02addb80@cobalt.antimatter.net> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at sohotech.ca Subject: Re: MX freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2005 17:59:03 -0000 Glenn Dawson wrote: > At 04:53 PM 11/25/2005, Beecher Rintoul wrote: > >> On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote: >> > dick hoogendijk writes: >> > > Any idea how long it takes until the MX freebsd mailservers know that >> > > my mail relay has changed? It's three days ago now that I changed >> my MX >> > > records and still mail for nagual.st is routed to my old mx >> > > mailservers. >> > > >> > >dig nagual.st mx >> > >> > ;;; QUESTION SECTION: >> > ;nagual.st. IN MX >> > >> > ;; ANSWER SECTION: >> > nagual.st. 86400 IN MX 10 mx1.mailhop.org. >> > nagual.st. 86400 IN MX 20 mx2.mailhop.org. >> > >> > >bc >> > >> > 86400/3600 >> > 24 >> > >> > >> > Should only take a day based on the results above. >> > >> > The command to see your XM settings is >> > dig mx >> >> Did you update the serial number when you changed the MX record? >> Servers downline will not see the changes otherwise. > > > Actually, the serial number is only used by the slave servers for a > particular zone to decide whether or not a zone transfer is needed. > I don't think that's entirely true. The serial number is also used by named internally to determine whether to reload your zones, and hence, to make the actual change in memory. AFAIK if you don't update the serial number the change won't take effect. To confirm this I just ran `rndc reload` and then checked /var/log/messages on my closest available OBSD name server. Reloaded named.conf but NOT my zone files. Then I changed the serial on one of my primary zone files and ran `rndc reload` again. This time syslog records that both named.conf and that zone have been reloaded. Of course, the serial number change ALSO signals to slaves that they need to update their copies.