Re: Change Query Type on nslookup

2011-04-07 Thread Mark Andrews

In message 4d9d502d.7080...@data.pl, Torinthiel writes:
 On 04/07/11 06:42, mee thun wrote:
  Good Morning..
 =20
  I am new member in this mailing list. I need help to change the query
  type in the nslookup command.
  The default nslookup using A, but I use ipv6 so the query type must use=
 
  . I don't know how to change the default nslookup from A to 
  permanently?
 
 first, this is a bind list, and nslookup is not a bind tool. Consider
 using dig, which is much better in this case.

nslookup is a BIND tool,  we just tried hard to deprecate it.
 
 And, IIRC, when you run nslookup you can put
 set type=
 yourquery.com
 
 and that should give the effect you want
 I have no idea how to change the default query type for any of the tools.=
 
 
 Torinthiel
 
 
 
 
 --enigF96CA10530F411769FF2D20E
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename=signature.asc
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.16 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk2dUDQACgkQfOvN3AkGos4kKQCfXmxr8PknsEXyCswBqqdehAE2
 orgAnjxP66xpZGxTQFKESsxSPMFCLxxp
 =T21l
 -END PGP SIGNATURE-
 
 --enigF96CA10530F411769FF2D20E--
 
 --===7001123361952416593==
 Content-Type: text/plain; charset=us-ascii
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 ___
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users
 --===7001123361952416593==--
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Change Query Type on nslookup

2011-04-07 Thread Matus UHLAR - fantomas
  On 04/07/11 06:42, mee thun wrote:
   I am new member in this mailing list. I need help to change the query
   type in the nslookup command. The default nslookup using A, but I use
   ipv6 so the query type must use= . I don't know how to change the
   default nslookup from A to  permanently?

you'd have to patch the source.

 In message 4d9d502d.7080...@data.pl, Torinthiel writes:
  first, this is a bind list, and nslookup is not a bind tool. Consider
  using dig, which is much better in this case.

On 07.04.11 16:36, Mark Andrews wrote:
 nslookup is a BIND tool,  we just tried hard to deprecate it.

nslookup is often not a bind tool, and that's one of reasons you have to
deprecate it ;)


-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Despite the cost of living, have you noticed how popular it remains? 
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Change Query Type on nslookup

2011-04-07 Thread Ryan Novosielski
'dig' is a better tool in every way, I think. dig 
nbsp;host.example.comnbsp;I believe is the syntax there.

-- Sent from my Palm Pre
On Apr 7, 2011 1:02, mee thun lt;mas.mi...@gmail.comgt; wrote: 

Good Morning..

I am new member in this mailing list. I need help to change the query type in 
the nslookup command.
The default nslookup using A, but I use ipv6 so the query type must use . I 
don't know how to change the default nslookup from A to  permanently?


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Change Query Type on nslookup

2011-04-07 Thread Chris Thompson

On Apr 7 2011, Torinthiel wrote:


On 04/07/11 06:42, mee thun wrote:

Good Morning..

I am new member in this mailing list. I need help to change the query
type in the nslookup command.
The default nslookup using A, but I use ipv6 so the query type must use
. I don't know how to change the default nslookup from A to 
permanently?


first, this is a bind list, and nslookup is not a bind tool. Consider
using dig, which is much better in this case.

And, IIRC, when you run nslookup you can put
set type=
yourquery.com

and that should give the effect you want
I have no idea how to change the default query type for any of the tools.


Well (at least as long as it *is* BIND's nslookup) you can specify it
on the command line

 nslookup -type=

if that counts as changing the default, or even define

 alias nslookup6='nslookup -type='

using your favorite shell.

The real answer to the OP, I'm afraid, is RTFM. The (horrible) syntax
of nslookup option settings is perfectly well described in its man page.

--
Chris Thompson
Email: c...@cam.ac.uk
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Anyway to disable dns_zone_nscheck in 9.8.0?

2011-04-07 Thread Rodney Hives
The dns_zone_nscheck is a real pain for domains that do not have valid A
records (for their NS records).  Is there anyway to disable this check?
I started noticing this problem in 9.7xs.  But at this point I just want to
remove it as it is causing many problems for previous configured name
servers.

There seems to value in the master.h for DNS_MASTER_CHECKNS which is similar
to the other checks (DNS_MASTER_CHECKMX, DNS_MASTER_CHECKMXFAIL, etc.) that
you can turn off in the options of named.conf.  But I do not see any option
to remove the dns_zone_nscheck.

Has anyone removed this function safely?  If so, how?

Thank you!
-Rodney Hives
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Anyway to disable dns_zone_nscheck in 9.8.0?

2011-04-07 Thread Evan Hunt

 The dns_zone_nscheck is a real pain for domains that do not have valid A
 records (for their NS records).

Can you explain why you need that?

It wouldn't be too hard to add a zone configuration option to disable this
check (it would set the DNS_ZONEOPT_NOCHECKNS flag in the zone options
before loading the masterfile).  But I'm confused why one would want to
serve a zone if it isn't going to work anyway.

-- 
Evan Hunt -- e...@isc.org
Internet Systems Consortium, Inc.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users