<?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: lookup hostname to ip address but output different results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/lookup-hostname-to-ip-address-but-output-different-results/m-p/74368#M18741</link>
    <description>&lt;P&gt;Thanks, willthames2. But what confused me is why the different results occurred within 1 minute, all i wanna do is to make sure the result is accurate when doing statistics by ip address, e.g. country. even when i open python interpreter to call  socket.gethostbyname_ex(host.com), the result is always the same. so weird.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2012 04:03:26 GMT</pubDate>
    <dc:creator>hjwang</dc:creator>
    <dc:date>2012-02-20T04:03:26Z</dc:date>
    <item>
      <title>lookup hostname to ip address but output different results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-hostname-to-ip-address-but-output-different-results/m-p/74366#M18739</link>
      <description>&lt;P&gt;Hi~there&lt;/P&gt;

&lt;P&gt;i found that when using external_lookup.py provided in $SPLUNK_HOME/etc/system/bin/, the lookup results sometimes will be different results. for example, when lookup "host.com", the results sometimes return A.B.C.D, and sometimes return E.F.G.H, does there somebody know how to fix it? thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-hostname-to-ip-address-but-output-different-results/m-p/74366#M18739</guid>
      <dc:creator>hjwang</dc:creator>
      <dc:date>2020-09-28T11:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: lookup hostname to ip address but output different results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-hostname-to-ip-address-but-output-different-results/m-p/74367#M18740</link>
      <description>&lt;P&gt;This is most likely an artifact of domain name resolution rather than anything to do with Splunk.&lt;/P&gt;

&lt;P&gt;Asking for the IP address of host.com may well give you different values at different times, for instance if there is more than one A record associated with the domain.&lt;/P&gt;

&lt;P&gt;What specific problems does this cause you - perhaps if we know why you need the DNS lookup to remain consistent, your problem can be solved in a different way.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2012 03:25:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-hostname-to-ip-address-but-output-different-results/m-p/74367#M18740</guid>
      <dc:creator>willthames2</dc:creator>
      <dc:date>2012-02-20T03:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: lookup hostname to ip address but output different results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookup-hostname-to-ip-address-but-output-different-results/m-p/74368#M18741</link>
      <description>&lt;P&gt;Thanks, willthames2. But what confused me is why the different results occurred within 1 minute, all i wanna do is to make sure the result is accurate when doing statistics by ip address, e.g. country. even when i open python interpreter to call  socket.gethostbyname_ex(host.com), the result is always the same. so weird.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2012 04:03:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookup-hostname-to-ip-address-but-output-different-results/m-p/74368#M18741</guid>
      <dc:creator>hjwang</dc:creator>
      <dc:date>2012-02-20T04:03:26Z</dc:date>
    </item>
  </channel>
</rss>

