Search Again:

Re: Can QDNS be used to run a DNS-based blacklist?

From: Steve Linford
Date: Monday, December 20, 1999
Time: 10:35:00 am

From Men & Mice Support, received 18/12/1999, 3:31 am +0000 (GMT):
> At 4:26 PM +0000 12/17/99, Steve Linford wrote:
> >can I add these entries individually to a QDNS domain
> >(sip.uxn.com) via AppleScript? And if so, can I also then delete any one of
> >these entries via AppleScript?

> tell application "QuickDNS Pro Admin"
> open (path to domain file) as alias
> set theRecord to make new A record at end of document "sip.uxn.com."
> set name of theRecord to "192.168.1.2.sip.uxn.com."
> set IP number of theRecord to "127.0.0.5"
> save document "sip.uxn.com." in alias (path to domain file)
> end tell
>
> tell application "QuickDNS Pro Admin"
> open (path to domain file) as alias
> delete A record "192.168.1.2.sip.uxn.com." of document "sip.uxn.com."
> save document "sip.uxn.com." in alias (path to domain file)
> end tell

If I ever get to Iceland I'll come over and kiss you on the head ;-)

Thanks Chris!

Steve Linford
The Spamhaus Project
http://spamhaus.org



Messages In This Thread:



Return to Digital Point Solutions' Home Page