From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 15:30:39 2004 Return-Path: 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 A87F516A4CE for ; Wed, 22 Dec 2004 15:30:39 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5815B43D5D for ; Wed, 22 Dec 2004 15:30:36 +0000 (GMT) (envelope-from j65nko@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so88421wra for ; Wed, 22 Dec 2004 07:30:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Kem6gK1jGKP2NUJeTAO2jGN/Xtu3kiAXBH1OsnsOUGnQswH8RkaXqOGSHl9xJAQzFoJG35bRax07hlUtT0GYT7TI3HqsCmzACYRrZU6FYuUIHL7Sy/IR6IMEgE7NaUs/oKd+51aCKPzuus6Cnq3FGiE1nyvRyWragYU7kq4PrqU= Received: by 10.54.18.13 with SMTP id 13mr84949wrr; Wed, 22 Dec 2004 07:30:34 -0800 (PST) Received: by 10.54.37.19 with HTTP; Wed, 22 Dec 2004 07:30:34 -0800 (PST) Message-ID: <19861fba04122207306235d1e4@mail.gmail.com> Date: Wed, 22 Dec 2004 16:30:34 +0100 From: J65nko BSD To: freebsd-questions@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Subject: Re: DNS TTL problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: J65nko BSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 15:30:39 -0000 On Wed, 22 Dec 2004 12:47:34 +0100, Mark Frasa wrote: > Hello, > > I am using a djbdns DNS server which operates almost perfect. > > There is 1 small problem, i have for my domain frasa.net 2 namservers: > > frasa.net. 3600 IN NS ns1.frasa.net. > frasa.net. 3600 IN NS ns2.frasa.net. > > This is when i resolve directly on ns1.frasa.net or ns2.frasa.net > > When I resolve on my ISP's nameserver and serveral others: > > frasa.net. 172800 IN NS ns1.frasa.net. > frasa.net. 172800 IN NS ns2.frasa.net. > > The problem is that this is a TTL of 2 days. When i Trace the dig, is see that > the root servers are providing the 2 days TTL: > > ;; Received 512 bytes from 198.32.64.12#53(l.root-servers.net) in 169 ms > > frasa.net. 172800 IN NS ns1.frasa.net. > frasa.net. 172800 IN NS ns2.frasa.net. > ;; Received 95 bytes from 192.42.93.30#53(G.GTLD-SERVERS.net) in 154 ms > > Can anyone explain this behaviour? > Yes, you have something like this in your tinydns data file: .frasa.net:80.69.78.171:ns1.frasa.net:3600 .frasa.net:80.69.78.172:ns2.frasa.net:3600 If you change the 3600 into a higher number , like 172800 you will have the same TTL as the GTLD-SERVERS.net servers ;) == Adriaan ===