wildcard domain serving

Jeremy Kister <[email protected]> Mon, 12 Apr 2010 23:40:00 -0400
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
I have several [hundred] zones that have been pointed to my 
authoritative name servers by folks that are not paying for my service.

i have no data for these zones; tinydns simply refuses to answer the 
queries.  in an effort to get something out of this deal, i decided to 
send any unconfigured domain pointed to me to my own website with a 
parked page.

today I started experimenting with answering these queries with wildcard 
data, and came up with:

  for tld in com net org ; do
   Z$tld:a.ns.example.com.:hostmaster.example.com
   &$tld::a.ns.example.com:86400
   &$tld::b.ns.example.com:86400
   +*.$tld:10.0.0.1:3600
   @*.$tld::.:0:3600
   '*.$tld:v=spf1 -all:3600
  done >> data

this seems to be behaving exactly how i intended, except I can now no 
longer easily differentiate my authoritative vs noanswer queries in my 
log file (because they're all answered/AA now)

anyone have any ideas to marry my goal with still being able to see a 
difference in the tinydns log ?


-- 

Jeremy Kister
http://jeremy.kister.net./