<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: To execute nslookup -type=mx in Perl script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956202#M97892</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I thought that win32 &amp;amp; OLE would work in Unix box,the script has to be implemented in Unix Box.&lt;BR /&gt;&lt;BR /&gt;So in relation with my other thread,I would like to find the way to implement without Net::DNS module.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arun&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Mar 2007 05:45:36 GMT</pubDate>
    <dc:creator>Arun Kumar Rajamari</dc:creator>
    <dc:date>2007-03-06T05:45:36Z</dc:date>
    <item>
      <title>To execute nslookup -type=mx in Perl script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956200#M97890</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To execute the command nslookup to find the MX record for a domain in Perl script,for eg&lt;BR /&gt;&lt;BR /&gt;"nslookup -type=mx google.com"&lt;BR /&gt;&lt;BR /&gt;But this should be implemented without using Net::DNS module.&lt;BR /&gt;&lt;BR /&gt;The command should go something like, &lt;BR /&gt;----------------------------------------------&lt;BR /&gt;$code = Win32::OLECreateObject('Dynu.Exec',$oExec) or die "Couldn't create new oExec Object!";&lt;BR /&gt;print $oExec-&amp;gt;Execute('nslookup -type=mx microsoft.com');&lt;BR /&gt;$oExec-&amp;gt;Quit();&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;What are the modules needed for the above Perl lines apart from &lt;BR /&gt;Use OLE;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please help me in this regards,&lt;BR /&gt;&lt;BR /&gt;Arun&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2007 04:15:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956200#M97890</guid>
      <dc:creator>Arun Kumar Rajamari</dc:creator>
      <dc:date>2007-03-06T04:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: To execute nslookup -type=mx in Perl script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956201#M97891</link>
      <description>In your first thread in this nslookup matter&lt;BR /&gt;you didn't mention you wanted this implemented on a Windows box.&lt;BR /&gt;Maybe you should better move your thread to the Microsoft forum of ITRC to find someone who has experience with Win32::OLE objects?&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2007 05:33:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956201#M97891</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-03-06T05:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: To execute nslookup -type=mx in Perl script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956202#M97892</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I thought that win32 &amp;amp; OLE would work in Unix box,the script has to be implemented in Unix Box.&lt;BR /&gt;&lt;BR /&gt;So in relation with my other thread,I would like to find the way to implement without Net::DNS module.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Arun&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2007 05:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956202#M97892</guid>
      <dc:creator>Arun Kumar Rajamari</dc:creator>
      <dc:date>2007-03-06T05:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: To execute nslookup -type=mx in Perl script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956203#M97893</link>
      <description>I may be wrong beacause I'm not into Windows.&lt;BR /&gt;But as far as I thought to have known Win32::OLE is a perl API for accessing OLE applications.&lt;BR /&gt;I thought OLE was a technique developed an promoted by Microsoft, and inherent to their applications like Office suite programs etc.&lt;BR /&gt;Therefore I would assume that Win32::OLE was only installable on Windows ports of Perl like e.g. that of ActiveState.&lt;BR /&gt;The Win32 namespace also conveys this to me.&lt;BR /&gt;But as said, I don't know anything about Microssoft products.&lt;BR /&gt;Maybe these will help in clarifying prerequisites?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikipedia.org/wiki/Object_Linking_and_Embedding" target="_blank"&gt;http://en.wikipedia.org/wiki/Object_Linking_and_Embedding&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://search.cpan.org/~jdb/libwin32-0.26/OLE/lib/Win32/OLE.pm" target="_blank"&gt;http://search.cpan.org/~jdb/libwin32-0.26/OLE/lib/Win32/OLE.pm&lt;/A&gt;</description>
      <pubDate>Tue, 06 Mar 2007 06:13:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-execute-nslookup-type-mx-in-perl-script/m-p/3956203#M97893</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-03-06T06:13:13Z</dc:date>
    </item>
  </channel>
</rss>

