From owner-freebsd-questions Mon Mar 5 12:36: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp9.xs4all.nl (smtp9.xs4all.nl [194.109.127.135]) by hub.freebsd.org (Postfix) with ESMTP id 4885F37B718 for ; Mon, 5 Mar 2001 12:35:59 -0800 (PST) (envelope-from dim@xs4all.nl) Received: from dim0 (dim.xs4all.nl [194.109.60.132]) by smtp9.xs4all.nl (8.9.3/8.9.3) with ESMTP id VAA00342; Mon, 5 Mar 2001 21:35:55 +0100 (CET) Message-ID: <200103052135580225.02AF6057@smtp.xs4all.nl> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7C72@l04.research.kpn.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C72@l04.research.kpn.com> X-Mailer: Calypso Version 3.20.01.01 (4) Date: Mon, 05 Mar 2001 21:35:58 +0100 From: "Dimitry Andric" To: "FreeBSD Questions" Cc: "Koster, K.J." Subject: Re: Name server config and nslookup Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2001-03-05 at 18:23 Koster, K.J. wrote: >% nslookup >*** Can't find server name for address 10.128.1.7: Non-existent >host/domain *** Can't find server name for address 10.128.1.39: >Non-existent >host/domain >*** Default servers are not available This is because nslookup tries to look up the hostname(s) of your DNS servers. However, it doesn't do this via gethostbyaddr(3), but it forms its own query, looking up a PTR record for "7.1.128.10.in-addr.arpa" and "39.1.128.10.in-addr.arpa". Maybe the MXStream DNS servers refuse such queries? Try running "nslookup -d2" for lots of debugging output, which may clear up what goes wrong exactly. Here is some sample output for a "successful" run of nslookup (on one of the xs4all shell boxes): dim@xs3:~$ nslookup -d2 ;; res_mkquery(0, 104.104.109.194.in-addr.arpa, 1, 12) - ------------ SendRequest(), len 46 HEADER: opcode =3D QUERY, id =3D 57153, rcode =3D NOERROR header flags: query, want recursion questions =3D 1, answers =3D 0, authority records =3D 0, additional =3D 0 QUESTIONS: 104.104.109.194.in-addr.arpa, type =3D PTR, class =3D IN - ------------ - ------------ Got answer (144 bytes): HEADER: opcode =3D QUERY, id =3D 57153, rcode =3D NOERROR header flags: response, want recursion, recursion avail. questions =3D 1, answers =3D 1, authority records =3D 2, additional =3D 2 QUESTIONS: 104.104.109.194.in-addr.arpa, type =3D PTR, class =3D IN ANSWERS: -> 104.104.109.194.in-addr.arpa type =3D PTR, class =3D IN, dlen =3D 19 name =3D ns.s340.xs4all.nl ttl =3D 67577 (18 hours 46 mins 17 secs) AUTHORITY RECORDS: -> 104.109.194.in-addr.arpa type =3D NS, class =3D IN, dlen =3D 5 nameserver =3D ns.xs4all.nl ttl =3D 67577 (18 hours 46 mins 17 secs) -> 104.109.194.in-addr.arpa type =3D NS, class =3D IN, dlen =3D 6 nameserver =3D ns2.xs4all.nl ttl =3D 67577 (18 hours 46 mins 17 secs) ADDITIONAL RECORDS: -> ns.xs4all.nl type =3D A, class =3D IN, dlen =3D 4 internet address =3D 194.109.6.66 ttl =3D 86400 (1 day) -> ns2.xs4all.nl type =3D A, class =3D IN, dlen =3D 4 internet address =3D 194.109.9.99 ttl =3D 86400 (1 day) - ------------ Default Server: ns.s340.xs4all.nl Address: 194.109.104.104 dim@xs3~$ I can't test this myself, since I'm still anxiously awaiting my ADSL kit, but haven't received anything yet. :( So please try this, and let us know where it goes wrong. Cheers, - -- Dimitry Andric PGP key: http://www.xs4all.nl/~dim/dim.asc KeyID: 4096/1024-0x2E2096A3 Fingerprint: 7AB4 62D2 CE35 FC6D 4239 4FCD B05E A30A 2E20 96A3 -----BEGIN PGP SIGNATURE----- Version: Encrypted with PGP Plugin for Calypso Comment: http://www.gn.apc.org/duncan/stoa_cover.htm iQA/AwUBOqPqabBeowouIJajEQIDgQCfYIiERmRPExv/VhjvGhZVKgnaQdUAoPa/ 6JYgiY0SEQIYF3v2iPDvKZDX =3DhWJh -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message