
vesely at tana
Nov 4, 2009, 10:43 AM
Post #2 of 2
(2060 views)
Permalink
|
William Ahern wrote: > Is there a DNS server up somewhere that can provide answers according to the > regression suite zone data? (Perhaps this isn't feasible because of the way > the test suite reuses example.com sub-domains; I haven't looked closely > enough.) If memory serves, that's not the case indeed. What I have done is to run a quick&dirty DNS server that answers queries based on the test suite's scenarios. You need the ability to configure the DNS address for the program under test. > Short of that, does anybody have any scripts to generate BIND zone files > from the test suite? I wrote a C file to test Courier-MTA's implementation. You can find that file in http://www.ext.tana.it/courier-spf-test-suite.c and its output in http://www.mail-archive.com/courier-users [at] lists/msg33232.html The C file probably won't compile at yours, as it needs some courier libs. However, you may be able to reuse some functions/ideas, such as, e.g. ip addr add 127.0.0.2/8 dev lo broadcast + scope host I hadn't tested IPv6. Good luck! ------------------------------------------- Sender Policy Framework: http://www.openspf.org [http://www.openspf.org] Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/] Archives: https://www.listbox.com/member/archive/1007/=now RSS Feed: https://www.listbox.com/member/archive/rss/1007/ Powered by Listbox: http://www.listbox.com
|