Re: Zone transfer question
Graeme Fowler <[email protected]>
| Newsgroups | gmane.network.dns.bind9.dlz |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2008-04-11 at 14:30 -0700, Michael J. Ayers wrote:
> Yeah, that for sure isnt working. Is there a way to do zone transfers
> to a block of IPs? With some other form of notation other than
> 10.0.0.0/8?
As I recall, the example MySQL schema is such that the xfr_table looks
like this:
+--------+------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+------+------+-----+---------+-------+
| zone | text | | | | |
| client | text | | | | |
+--------+------+------+-----+---------+-------+
and the executed query is this:
{select zone from xfr_table where zone = '%zone%' and client = '%client
%'}";
So, given the wildcard symbols there, if you talk about a domain
"xfrdomain.tld" and a client "10.0.0.1", then you'd put:
zone = xfrdomain.tld
client = 10.0.0.1
For a /8 network with all zones, I'd try:
zone = *
client = 10.*.*.*
as your entries in the xfr_table. I can't recall exactly but this does
rattle some dim distant work I did a few years ago. I rarely, if ever,
allow AXFR these days :)
Graeme
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone