This is test 10:

$v->address( -address => 'blort@notarealdomainfoo.com', -mxcheck => 1) ? not_ok : ok;

As you can see this address is expected to fail the mxcheck on 'notarealdomainfoo.com'. This FAILS TO FAIL because this is now a valid domain with A and MX records - blame Verisign!

Bottom line don't worry about it. Change the test to 'blort@surely-no-one-has-registered-this-hopefully-no-existsant-domain-flubber-dubber-doo' and it sould fail, but then again you never know!

[root@devel3 root]# dig -tA notarealdomainfoo.com ; <<>> DiG 9.2.2 <<>> -tA notarealdomainfoo.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21892 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: + 13 ;; QUESTION SECTION: ;notarealdomainfoo.com. IN A ;; ANSWER SECTION: notarealdomainfoo.com. 900 IN A 64.94.110.11 ;; AUTHORITY SECTION: com. 68041 IN NS e.gtld-servers.net. com. 68041 IN NS i.gtld-servers.net. com. 68041 IN NS k.gtld-servers.net. com. 68041 IN NS b.gtld-servers.net. com. 68041 IN NS l.gtld-servers.net. com. 68041 IN NS c.gtld-servers.net. com. 68041 IN NS d.gtld-servers.net. com. 68041 IN NS g.gtld-servers.net. com. 68041 IN NS m.gtld-servers.net. com. 68041 IN NS j.gtld-servers.net. com. 68041 IN NS a.gtld-servers.net. com. 68041 IN NS f.gtld-servers.net. com. 68041 IN NS h.gtld-servers.net. ;; ADDITIONAL SECTION: e.gtld-servers.net. 134007 IN A 192.12.94.30 i.gtld-servers.net. 150216 IN A 192.43.172.30 k.gtld-servers.net. 150216 IN A 192.52.178.30 b.gtld-servers.net. 150216 IN A 192.33.14.30 l.gtld-servers.net. 78864 IN A 192.41.162.30 c.gtld-servers.net. 150216 IN A 192.26.92.30 d.gtld-servers.net. 150216 IN A 192.31.80.30 g.gtld-servers.net. 147680 IN A 192.42.93.30 m.gtld-servers.net. 150216 IN A 192.55.83.30 j.gtld-servers.net. 150216 IN A 192.48.79.30 a.gtld-servers.net. 72621 IN A 192.5.6.30 f.gtld-servers.net. 86057 IN A 192.35.51.30 h.gtld-servers.net. 126375 IN A 192.54.112.30 ;; Query time: 23 msec ;; SERVER: 207.218.192.38#53(207.218.192.38) ;; WHEN: Tue Sep 30 01:37:27 2003 ;; MSG SIZE rcvd: 508 [root@devel3 root]# dig -tMX notarealdomainfoo.com ; <<>> DiG 9.2.2 <<>> -tMX notarealdomainfoo.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15188 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: +0 ;; QUESTION SECTION: ;notarealdomainfoo.com. IN MX ;; AUTHORITY SECTION: com. 172800 IN SOA a.gtld-servers.net. ns +tld.verisign-grs.com. 2003092901 1800 900 604800 86400 ;; Query time: 43 msec ;; SERVER: 207.218.192.38#53(207.218.192.38) ;; WHEN: Tue Sep 30 01:37:32 2003 ;; MSG SIZE rcvd: 112 [root@devel3 root]#

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print


In reply to Re: Installing Email::Valid by tachyon
in thread Installing Email::Valid by neilwatson

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.