From owner-freebsd-net@FreeBSD.ORG Wed Apr 27 21:48:48 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 380C316A4CE for ; Wed, 27 Apr 2005 21:48:48 +0000 (GMT) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9A7143D1F for ; Wed, 27 Apr 2005 21:48:47 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 165129974C4; Wed, 27 Apr 2005 23:53:57 +0200 (CEST) Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 65805-07; Wed, 27 Apr 2005 23:53:48 +0200 (CEST) Received: from [80.98.207.149] (catv-5062cf95.catv.broadband.hu [80.98.207.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id D14E899747B; Wed, 27 Apr 2005 23:53:48 +0200 (CEST) Message-ID: <427008B4.5080204@t-hosting.hu> Date: Wed, 27 Apr 2005 23:48:36 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Shyam Shantikumar References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at t-hosting.hu cc: freebsd-net@freebsd.org Subject: Re: errors while starting named X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 21:48:48 -0000 Shyam Shantikumar wrote: >Dear All, > > > >I am getting the following errors when I run /usr/sbin/named > > > >Named[1398]: could not listen on UDP socket: address in use > > > An another daemon or an another instance of named must be using the udp port 53, thus named can't listen on that socket. >Named[1398]: creating IPv4 interface lo0 failed; interface ignored > > > The loopback interface always refers to the current machine, so it is pointless to start a name daemon for *one* machine. If You start a daemon that is only listening on lo0, You can only rech that on the same machine where it is running. That's why named doesn't permit You to do this. You must change the name.conf to listen on the external interface, that is connected to the Internet or to the local network. >Named[1398] dns_rdata_fromtext: db.10.1.3.197:4 near '3h': not a valid >number > >Named[1398]: zone 3.1.10.in-addr.arpa/IN: loading master file db.10.1.3.197: >not a valid number > >Named[1398]: zone 0.0.127.in-addr.arpa/IN: loading master file db.127.0.0: >not a valid number > > > > There should be some syntax error in You zonefiles. I've seen Your previous post, maybe this is due to the ttl, refresh, etc. times. I'll enclose a sample zonefile, modify it for Your case. $TTL 3600 @ IN SOA ns.somedomain.hu. root.somedomain.hu. ( 2005042700 ;serial 1D ;refresh; 2H ;retry 1W ;expiry 2D ) ;minimum IN NS ns IN NS ns2 IN MX 10 mail IN A a.b.c.d ns IN A a.b.c.d mail IN A a.b.c.d ns2 IN A e.f.g.h Of course, a.b.c.d stands for that machine. It will be the primary name server of the domain, and it is supposed to accept mails for that domain. The second ns2, e.f.g.h stands for the second names server. It is optional if this is a for a local network. >Could anyone please tell me how to solve these issues > > > >Thanx > > > Cheers, Gábor Kövesdán