Re: name server zone list

2009-04-06 Thread Stephane Bortzmeyer
On Fri, Apr 03, 2009 at 08:15:16AM -0500,
 Sandy Mackenzie sa...@masterclyde.ca wrote 
 a message of 23 lines which said:

 I want to be able to produce a simple list of the zones on my DNS
 servers. 

There is work going on at the IETF on that subject. The requirments
document is almost done:

http://www.ietf.org/internet-drafts/draft-ietf-dnsop-name-server-management-reqs-02.txt
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: name server zone list

2009-04-04 Thread Chris Thompson

On Apr 3 2009, Niall O'Reilly wrote:


Or Google for vixie metazone (without the quotes).


... and it tells me I probably wanted to know about nosedrops  
(Vista-methasone) ... :-)


[yes, OK, and some real links as well]

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


RE: name server zone list

2009-04-03 Thread Todd Snyder
You say my DNS servers - if you own them, why not just look at the
named.conf?  grep zone named.conf should tell you pretty quickly.

If you are using external hosting, you will need to talk to your
provider.   They should be able to provide you a list.

t.

-Original Message-
From: bind-users-boun...@lists.isc.org
[mailto:bind-users-boun...@lists.isc.org] On Behalf Of Sandy Mackenzie
Sent: Friday, April 03, 2009 9:15 AM
To: bind-users@lists.isc.org
Subject: name server zone list

Hi,

I want to be able to produce a simple list of the zones on my DNS
servers.  Is there anyway to do this with dig or any other tool?  I can
currently transfer a single zone with 

dig @nameserver zone axfr

but I want to see all zones hosted on my DNS server.

-- 


Sandy Mackenzie 

The contents of this e-mail message and all attachments are intended for
the confidential use of the addressee and where addressed to our client
are the subject of solicitor and client privilege. Any retention,
review, reproduction, distribution or disclosure other than by the
addressee is prohibited. Please notify us immediately if we have
transmitted this message to you in error. Thank you. 
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: name server zone list

2009-04-03 Thread Chris Thompson

On Apr 3 2009, Sandy Mackenzie wrote:


I want to be able to produce a simple list of the zones on my DNS servers.
Is there anyway to do this with dig or any other tool?


This one is hardy perennial, of course, but I've been working on an
index zone in a certain local DNS context recently, and thinking
how convenient it would have been if BIND had provided one for me
(under class CHAOS, name zones.bind or something along those lines).
I wonder whether this is on ISC's wish-list, and if so, how far down ...

Of course, it would have to be disabled by default, or I can imagine
people getting quite upset about the security implications.

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


Re: name server zone list

2009-04-03 Thread R Dicaire
On Fri, Apr 3, 2009 at 10:55 AM, Chris Thompson c...@cam.ac.uk wrote:
 This one is hardy perennial, of course, but I've been working on an
 index zone in a certain local DNS context recently, and thinking
 how convenient it would have been if BIND had provided one for me
 (under class CHAOS, name zones.bind or something along those lines).
 I wonder whether this is on ISC's wish-list, and if so, how far down ...

The issue with something like this is it apparently requires
configuring views in order to be able to load zone(s) of non-default
type IN. Configuring views isn't always desired. Perhaps an option to
rndc though

-- 
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: name server zone list

2009-04-03 Thread Chris Thompson

On Apr 3 2009, R Dicaire wrote:


On Fri, Apr 3, 2009 at 10:55 AM, Chris Thompson c...@cam.ac.uk wrote:

This one is hardy perennial, of course, but I've been working on an
index zone in a certain local DNS context recently, and thinking
how convenient it would have been if BIND had provided one for me
(under class CHAOS, name zones.bind or something along those lines).
I wonder whether this is on ISC's wish-list, and if so, how far down ...


The issue with something like this is it apparently requires
configuring views in order to be able to load zone(s) of non-default
type IN. Configuring views isn't always desired. Perhaps an option to
rndc though


BIND already creates an internal view _bind with class CH to contain
the zones version.bind, hostname.bind, authors.bind, etc. I was thinking
in terms of zones.bind living there as well.

Of course there's the barber-shaving question: should zones.bind contain
an entry describing itself? 


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


RE: name server zone list

2009-04-03 Thread Todd Snyder
 

BIND already creates an internal view _bind with class CH to contain
the zones version.bind, hostname.bind, authors.bind, etc. I was thinking
in terms of zones.bind living there as well.

Of course there's the barber-shaving question: should zones.bind
contain an entry describing itself? 

My view would be that it should list every zone being answered for by
the server, so it should include itself.  Maybe it could be
prefixed/suffixed/named in a pattern so it can be removed easily from a
listing, but I know I'd like to be able to see every zone being loaded
on my server (including empty zones).

$0.02 CDN

T.

-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: name server zone list

2009-04-03 Thread Chris Buxton

On Apr 3, 2009, at 10:55 AM, Todd Snyder wrote:
BIND already creates an internal view _bind with class CH to  
contain
the zones version.bind, hostname.bind, authors.bind, etc. I was  
thinking

in terms of zones.bind living there as well.

Of course there's the barber-shaving question: should zones.bind
contain an entry describing itself?


My view would be that it should list every zone being answered for by
the server, so it should include itself.  Maybe it could be
prefixed/suffixed/named in a pattern so it can be removed easily  
from a

listing, but I know I'd like to be able to see every zone being loaded
on my server (including empty zones).


I agree with Rick Dicaire that this should not be done as a zone at  
all. Instead, this should be implemented in rndc. I do agree with the  
premise that it would be nice to be able to have a list of all zones  
on the server.


Chris Buxton
Professional Services
Men  Mice

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


RE: name server zone list

2009-04-03 Thread Todd Snyder
 I agree with Rick Dicaire that this should not be done as a zone at
all. 
 Instead, this should be implemented in rndc. I do agree with the
premise that it 
 would be nice to be able to have a list of all zones on the server.

I would tend to agree that rndc is the best place for it, except in
places where doing the r part of rndc isn't possible.  If you're in a
tightly controlled environment, where rndc isn't used because of
security/firewalls, you'd be stuck using another method to get the data,
instead of utilizing a data channel that already exists.

Additionally, there may well be times where I'd want to give access to
people to see what zones are on the server, without giving them access
to the console, or to run rndc.  This a NOC doing troubleshooting - they
may not have access to the box, or be able to use RNDC, but it would be
handy if they could look and see what zones are loaded on the server.

Granted, these are edge cases really, but ones where having the data
available as a zone would be more useful than through rndc.

Any which way, having access to the data would be good.

t.


-
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: name server zone list

2009-04-03 Thread Alan Clegg
The entire list of zones is available in XML format in the statistics
channel in 9.5

Yep, you need to parse for it, but it's there...

AlanC



signature.asc
Description: OpenPGP digital signature
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: name server zone list

2009-04-03 Thread R Dicaire
On Fri, Apr 3, 2009 at 2:08 PM, Alan Clegg alan_cl...@isc.org wrote:
 The entire list of zones is available in XML format in the statistics
 channel in 9.5

 Yep, you need to parse for it, but it's there...

Hah beautiful, why reinvent the wheel :)
I've not yet moved to 9.5 simply because I haven't had the time to
modify perl scripts I use that read data from a 9.4 stats file and
input into mrtg/rrdtool, but with the featureset in 9.5 regarding
logging and stats, I'm going to have to make time.

-- 
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: name server zone list

2009-04-03 Thread John Wobus
Besides all the methods discussed, you could invent your own zone that 
has this data in a format

of your choosing., e.g.

example.com.myzones.example.com TXT example.com
example2.com.myzones.example.com TXT example2.com

Then:

dig @nameserver axfr myzones.example.com

Your design creativity and your self-discipline in always adding a 
record for each zone are your only limitations.
If you wish to get really fancy, you could script the rebuilding of 
your named.conf file to do so using data

gathered with this dig command.

John

On Apr 3, 2009, at 9:15 AM, Sandy Mackenzie wrote:


Hi,

I want to be able to produce a simple list of the zones on my DNS 
servers.  Is there anyway to do this with dig or any other tool?  I 
can currently transfer a single zone with


dig @nameserver zone axfr

but I want to see all zones hosted on my DNS server.

--


Sandy Mackenzie

The contents of this e-mail message and all attachments are intended 
for

the confidential use of the addressee and where addressed to our client
are the subject of solicitor and client privilege. Any retention,
review, reproduction, distribution or disclosure other than by the
addressee is prohibited. Please notify us immediately if we have
transmitted this message to you in error. Thank you.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users



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


Re: name server zone list

2009-04-03 Thread Chris Buxton

On Apr 3, 2009, at 12:42 PM, Niall O'Reilly wrote:

On Fri, 2009-04-03 at 15:26 -0400, John Wobus wrote:
Besides all the methods discussed, you could invent your own zone  
that

has this data in a format


Or Google for vixie metazone (without the quotes).
/Niall


Or search the archives for Kevin Darcy's documentation of using PTR  
records for this purpose, because PTR records take advantage of domain  
name compression.


Chris Buxton
Professional Services
Men  Mice

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


Re: name server zone list

2009-04-03 Thread Kevin Darcy
I use PTR instead of TXT records for this, since PTRs can benefit from 
label compression.


- Kevin

John Wobus wrote:
Besides all the methods discussed, you could invent your own zone that 
has this data in a format

of your choosing., e.g.

example.com.myzones.example.com TXT example.com
example2.com.myzones.example.com TXT example2.com

Then:

dig @nameserver axfr myzones.example.com

Your design creativity and your self-discipline in always adding a 
record for each zone are your only limitations.
If you wish to get really fancy, you could script the rebuilding of 
your named.conf file to do so using data

gathered with this dig command.

John

On Apr 3, 2009, at 9:15 AM, Sandy Mackenzie wrote:


Hi,

I want to be able to produce a simple list of the zones on my DNS 
servers. Is there anyway to do this with dig or any other tool? I can 
currently transfer a single zone with


dig @nameserver zone axfr

but I want to see all zones hosted on my DNS server.

--


Sandy Mackenzie

The contents of this e-mail message and all attachments are intended for
the confidential use of the addressee and where addressed to our client
are the subject of solicitor and client privilege. Any retention,
review, reproduction, distribution or disclosure other than by the
addressee is prohibited. Please notify us immediately if we have
transmitted this message to you in error. Thank you.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users



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




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