"Robin Gilks" <[EMAIL PROTECTED]> writes:

> Hi Simon
> 
> This is the sort of thing I get in my DNS cache and is causing the problem.
> 
> $ORIGIN AMPR.ORG.
> lx  IN A 44.161.0.0
> soxon-hub-uk IN CNAME g6lnu.AMPR.ORG.
> 9a1bhi  IN A 44.170.20.10
> $ORIGIN mu.AMPR.ORG.
> net  IN A 44.136.10.0
...

Hi Robin,

Ok, now I understand.  you are using the ampr_extractor on a file produced by
BIND 8 directly, not what my script expects as stated:

---- snip ----
# This script is intended to extract sub-domain information from the file
# ampr.org, stored from the DNS server at ftp.ucsd.edu.  (This file holds all
# the DNS information for the "ampr.org" domain.)
---- snip ----

As you say, a DNS server will often modify the domain information with
$ORIGIN options.

I could certainly change this behaviour without much effort, but the script
wasn't expecting the format you are feeding it.

However if you do a dump of the cache to disk, you probably won't have just
ampr.org information, so I guess I would need to filter out other domain
information?

Correct?

Simon
--
Simon J Mudd, Madrid SPAIN  Tel: +34-91-408 4878  email: [EMAIL PROTECTED]
[short messages - from radio hams only]     ---->      [EMAIL PROTECTED]

Reply via email to