From owner-freebsd-questions Tue May 22 0: 0:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fusion.za.vardus.net (host002.uunet.za.vardus.net [196.30.176.2]) by hub.freebsd.org (Postfix) with ESMTP id 5D26037B42C for ; Tue, 22 May 2001 00:00:34 -0700 (PDT) (envelope-from chrisk@vardus.net) Received: from host-100.za.vardus.net ([10.0.2.100] helo=savage) by fusion.za.vardus.net with smtp (Exim 3.22 #1) id 15269W-0001vH-00; Tue, 22 May 2001 09:00:22 +0200 From: "Chris Knipe" To: "Gerard Samuel" , "Alex as Root" Cc: "FreeBSD Questions" Subject: RE: DNS reverse lookup issues Date: Tue, 22 May 2001 09:01:38 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: <3B0A0C98.961FA028@optonline.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG the NS records in the zone file should be ns1.acme.com. and ns2.acme.com. FQDN, with trailing dots. Regards, Chris Knipe Technical Administrator Vardus (Pty) Ltd Cape Town - South Africa Tel: (+27) 21 670 9880 Fax: (+27) 21 674 4549 Cell: (+27) 83 430 8151 -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Gerard Samuel Sent: 22 May 2001 08:52 To: Alex as Root Cc: FreeBSD Questions Subject: Re: DNS reverse lookup issues Im no DNS expert, but a lot of your "dns names" dont have a trailing dot "." Alex as Root wrote: > Dear List, > > I am trying to get my DNS all set up. I have The Complete FreeBSD and have followed it to the letter. Everything seems to be going well except: > > I can ping www.acatysmoof.com > I cannot ping acatysmoof.com - > ping: cannot resolve acatysmoof.com: No address associated with name > > Some info----- > named.conf > > options { > directory "/etc/namedb"; > > forwarders { > 206.13.28.12; 206.13.31.12; > }; > > }; > > zone "." { > type hint; > file "named.root"; > }; > > zone "0.0.127.IN-ADDR.ARPA" { > type master; > file "localhost.rev"; > }; > > // These are the acatysmoof.com zones. One master and one reverse lookup. > > zone "acatysmoof.com" { > type master; > file "db.acatysmoof.com"; > }; > > zone "164.170.64.in-addr.arpa" { > type master; > file "acatysmoof-reverse"; > }; > > -------END of named.conf > > db.acatysmoof.com > > acatysmoof.com. IN SOA gouda.acatysmoof.com. alex.acatysmoof.com. ( > 2001052001 ; Serial (year,month,day,version_that_day) > 86400 ; refresh (1 day) > 7200 ; retry (2 hours) > 8640000 ; expire (100 days) > 86400 ) ; minimum (1 day) > > ; First, the domain name servers > IN NS ns > IN NS ns1 > > ns IN A 64.170.164.211 > ns1 IN A 64.170.164.210 > > ; and now define what to do with mail - the 50 is a preference number. > ; for example the secondary mail server could be 100, etc. > IN MX 50 gouda.acatysmoof.com > > ; define the A records > ; These are simply the machines on the network > alexlaptop IN A 64.170.164.210 > gouda IN A 64.170.164.211 > gruyere IN A 64.170.164.212 > > ; define some nicknames > www IN CNAME gouda > ftp IN CNAME gouda > > ; about your hardware configuration and software > alexlaptop IN HINFO "Intel Pentium III 500" "Windows 98" > gouda IN HINFO "Intel Pentium 150" "FreeBSD 4.2" > gruyere IN HINFO "Intel Pentium 266" "Windows 98" > > ---------END OF db.acatysmoof.com > > and finally: > > acatysmoof-reverse > > @ IN SOA gouda.acatysmoof.com. alex.acatysmoof.com. ( > 2000052001 ; Serial (year,month,day,version) > 86400 ; refresh (1 day) > 7200 ; retry (2 hours) > 8640000 ; expire (100 days) > 86400 ) ; minimum (1 day) > IN NS ns.acatysmoof.com. > IN NS ns1.acatysmoof.com. > > ; and now the reverse lookup records > ; the number is the last number of the IP > > 210 IN PTR alexlaptop.acatysmoof.com. > 211 IN PTR gouda.acatysmoof.com. > 212 IN PTR gruyere.acatysmoof.com. > > Can anyone explain why I cannot ping my domain when pinged as acatysmoof.com? The main reason I want to do this is because I would like to send mail to this address, but right now no mail server can resolve it. :( > > Thanks, > Alex > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message