Date: Mon, 05 Mar 2001 21:35:58 +0100 From: "Dimitry Andric" <dim@xs4all.nl> To: "FreeBSD Questions" <questions@FreeBSD.ORG> Cc: "Koster, K.J." <K.J.Koster@kpn.com> Subject: Re: Name server config and nslookup Message-ID: <200103052135580225.02AF6057@smtp.xs4all.nl> In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D7C72@l04.research.kpn.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D7C72@l04.research.kpn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <dim@xs4all.nl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103052135580225.02AF6057>