well i was being psuedo-lazy and i thought the "right" way would be to make a library do the formatting. also it seems to be a missing feature in dnspython or at least not very well documented. i know it shouldn't create the named.confs but at least a zone file so users don't have to deal w/ intermediate data formats or stange db storage. but if the author of dnspython says this ain't the right tool for the job then it just ain't. sure is a shame though.
--timball On Tue, Feb 23, 2010 at 9:23 AM, Bob Halley <[email protected]> wrote: > > On 22 Feb 2010, at 22:16, Timothy Ball wrote: > >> >> so i've searched high and low but am unable to figure out how to >> create a zone file from just data i have. anyone have a quick and >> handy example? >> >> the reason i need this is i have to scrape my ISP's nameserver page >> and create zone files from that (and no they won't just give me the >> zones) >> >> i've tried several iterations @ just creating a zone = dns.zone and >> all have left me in failure. searching the docs and then the web led >> me to confusion. >> >> so does anyone have a script that can create a zone when none existed before? > > I'm not clear on why you want to use dnspython for this, as it would seem to > be easier to just scrape the web page and write the zone file directly. But > maybe I don't understand what you're trying to do well enough. Can you > elaborate? > > /Bob > > -- GPG key available on pgpkeys.mit.edu pub 1024D/511FBD54 2001-07-23 Timothy Lu Hu Ball <[email protected]> Key fingerprint = B579 29B0 F6C8 C7AA 3840 E053 FE02 BB97 511F BD54 _______________________________________________ dnspython-users mailing list [email protected] http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users
