From owner-freebsd-stable Mon Jul 30 12: 8: 2 2001 Delivered-To: freebsd-stable@freebsd.org Received: from greg.cex.ca (h24-207-40-244.dlt.dccnet.com [24.207.40.244]) by hub.freebsd.org (Postfix) with SMTP id B51DB37B401 for ; Mon, 30 Jul 2001 12:07:58 -0700 (PDT) (envelope-from gregw-freebsd-stable@greg.cex.ca) Received: (qmail 2459 invoked by uid 1001); 30 Jul 2001 19:08:02 -0000 Date: Mon, 30 Jul 2001 12:08:02 -0700 From: Greg White To: stable@FreeBSD.ORG Subject: Re: weirdness with DNS Message-ID: <20010730120802.D1105@greg.cex.ca> Mail-Followup-To: stable@FreeBSD.ORG References: <5.1.0.14.0.20010730124002.0455dec0@marble.sentex.ca> <20010730133737.N57346-100000@epsilon.lucida.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010730133737.N57346-100000@epsilon.lucida.ca>; from matt@LUCIDA.CA on Mon, Jul 30, 2001 at 01:41:33PM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 30, 2001 at 01:41:33PM -0400, Matt Heckaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mon, 30 Jul 2001, Mike Tancsa wrote: > ... > : The UUnet name server show them being the origin of the domain. Are > : you sure they are not doing anything strange with your zone > : definitions ? It sure seems they have a wild card entry > > Yes, they do run DNS for the zone, though they promise me they don't have > a wildcard entry for the domain, and since this does not appear from any > other machines that query against them, I'm tempted to believe them. They flat out _must_ have a wildcard MX entry, which causes an empty response with NOERROR set for an A record query: gregw@frodo:~$ dnsqr mx asdf.lucida.ca 15 asdf.lucida.ca: 59 bytes, 1+1+0+0 records, response, noerror query: 15 asdf.lucida.ca answer: asdf.lucida.ca 86400 MX 20 mail.uunet.ca gregw@frodo:~$ dnsqr mx frammistraz.lucida.ca 15 frammistraz.lucida.ca: 66 bytes, 1+1+0+0 records, response, noerror query: 15 frammistraz.lucida.ca answer: frammistraz.lucida.ca 86400 MX 20 mail.uunet.ca gregw@frodo:~$ dnsqr mx flooglethorp.lucida.ca 15 flooglethorp.lucida.ca: 67 bytes, 1+1+0+0 records, response, noerror query: 15 flooglethorp.lucida.ca answer: flooglethorp.lucida.ca 86400 MX 20 mail.uunet.ca gregw@frodo:~$ dnsqr a afgsadr.lucida.ca 1 afgsadr.lucida.ca: 35 bytes, 1+0+0+0 records, response, noerror query: 1 afgsadr.lucida.ca gregw@frodo:~$ dnsqr any afgsadr.lucida.ca 255 afgsadr.lucida.ca: 62 bytes, 1+1+0+0 records, response, noerror query: 255 afgsadr.lucida.ca answer: afgsadr.lucida.ca 86400 MX 20 mail.uunet.ca This looks like expected behaviour from most DNS client libraries, with those search domain settings and a wildcard MX. (A server cannot answer NXDOMAIN for a host that has _any_ records defined -- including wildcard MX). P.S. I take this all back if you have hosts named 'asdf', 'frammistraz' and 'flooglethorp'. ;) -- Greg White To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message