From owner-freebsd-questions@FreeBSD.ORG Sat Feb 28 16:43:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48DA9106566C for ; Sat, 28 Feb 2009 16:43:10 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-fx0-f158.google.com (mail-fx0-f158.google.com [209.85.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id C69F08FC17 for ; Sat, 28 Feb 2009 16:43:09 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: by fxm2 with SMTP id 2so1432544fxm.43 for ; Sat, 28 Feb 2009 08:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=j67eki6khvfeSy10iPUX2vmAIrIXeGAVJ2tXkoap+4U=; b=I1YTa5ZmafLx9iDaI1EkwXZhhDmhq9YRTxix/+NIQZzVzPSxSwq4pCgTB+0FzV4JJ7 j1IYNPNXAmlPq/+yfZ928pBFUPLBoZldfs48cc1I2daPXwCoSpkJdyOGyMNPvkL3PiDk R5O7QE285VoBcbCENh+zeEOSO4nH+N+KxTKws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=fI8pkNUUhfKkqNr95Wt9S3P4HScaMdXi1s+xRDLYk7imKJM7/+V7BsEautgjFlythO 2MU6IQZNSZ9QYrqahFQ8IpWMhbMHzKA225+rh01hN79I4eJurxedXpmk7qxDn3HVsmjx m3RisJXkHXesoVnwAU4EyzflaRoa8f4cJFpF4= Received: by 10.103.240.5 with SMTP id s5mr1935869mur.106.1235839387001; Sat, 28 Feb 2009 08:43:07 -0800 (PST) Received: from ?192.168.0.194? ([81.196.94.69]) by mx.google.com with ESMTPS id 23sm2899661mun.30.2009.02.28.08.43.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 28 Feb 2009 08:43:06 -0800 (PST) Message-ID: <49A969A1.90001@gmail.com> Date: Sat, 28 Feb 2009 18:43:13 +0200 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <49A95AF8.2060608@gmail.com> In-Reply-To: <49A95AF8.2060608@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Odd problem with DNS and IP change. 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, 28 Feb 2009 16:43:11 -0000 Andrei Brezan wrote: > Hello list, > > I have a strange problem and I don't know what to relate it to. My ISP > changed my IP from (eg) 10.1.1.1 to 15.1.1.1. I have changed my zone > files to reflect that change. > > "dig -t mx domain.com" results in mail.domain.com 3600 IN A 15.1.1.1 > (the new ip). However when i try: > > "ping mail.domain.com" it tries to get to 10.1.1.1 the old ip and gets > time to live exceeded fro an ip along the route. When i try to ping > domain.com it gets all ok as it pings the new ip. I've also tried dig > @(forwarders in named.conf) and they to got the correct mx dns entry for > domain.com. > In rc.conf i have hostname="mail.domain.com" (eg), i haven't changed > it, i'm thinking it's something related to hostid or hostuid but i don't > know where to search for this topic. > If anyone has a clue what to try or where to look upon this behavior > please shed some light. > > Thank you. > > Disregard my noise. It was a file called hosts in /etc, changed there the ip for mail.domain.com and now ping works ok. Sorry about that. -- Andrei Brezan 310280 Arad - Romania mobile <+40 740 089 315> email www