<?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: difference nslookup between Linux and HP-UX in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774383#M81283</link>
    <description>hello,&lt;BR /&gt;i tried some options, now it is ok:&lt;BR /&gt;&lt;BR /&gt;with hostname:&lt;BR /&gt;dig server.example.com  +short @localhost&lt;BR /&gt;&lt;BR /&gt;with ip-address&lt;BR /&gt;dig -x 192.164.170.32 +short @localhost&lt;BR /&gt;&lt;BR /&gt;@ dig +short example.com&lt;BR /&gt;do you forget the "server-name" to "dig"?&lt;BR /&gt;regards</description>
    <pubDate>Wed, 06 Apr 2011 16:18:49 GMT</pubDate>
    <dc:creator>Billa-User</dc:creator>
    <dc:date>2011-04-06T16:18:49Z</dc:date>
    <item>
      <title>difference nslookup between Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774378#M81278</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;i have following issue :&lt;BR /&gt;- HP-UX 11.31   dns-server BIND 9.3.2&lt;BR /&gt;- Linux SLES 10 dns-server BIND 9.3.4&lt;BR /&gt;&lt;BR /&gt;i want the same output of command "nslookup"&lt;BR /&gt;what option's i have to use for Linux with command "nslookup" ?&lt;BR /&gt;&lt;BR /&gt;following command i made:&lt;BR /&gt;&lt;BR /&gt;1. login at dns-server&lt;BR /&gt;2. nslookup &lt;RETURN&gt;&lt;BR /&gt;3. server localhost &lt;RETURN&gt;&lt;BR /&gt;4. &lt;IP-ADRESSE&gt; &lt;RETURN&gt;&lt;BR /&gt;&lt;BR /&gt;detail out in the attachment,&lt;BR /&gt;first part "HP-UX"&lt;BR /&gt;second part "Linux"&lt;BR /&gt;&lt;BR /&gt;regards,tom&lt;/RETURN&gt;&lt;/IP-ADRESSE&gt;&lt;/RETURN&gt;&lt;/RETURN&gt;</description>
      <pubDate>Wed, 06 Apr 2011 10:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774378#M81278</guid>
      <dc:creator>Billa-User</dc:creator>
      <dc:date>2011-04-06T10:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: difference nslookup between Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774379#M81279</link>
      <description>&amp;gt; i want the same output of command "nslookup"&lt;BR /&gt;&lt;BR /&gt;do you want these to be the same to the letter? the output looks semantically equivalent to me:&lt;BR /&gt;&lt;BR /&gt;HP-UX:&lt;BR /&gt;&lt;BR /&gt;Trying DNS&lt;BR /&gt;Name:    server.example.com&lt;BR /&gt;Address:  192.164.170.32&lt;BR /&gt;&lt;BR /&gt;Linux:&lt;BR /&gt;&lt;BR /&gt;Non-authoritative answer:&lt;BR /&gt;32.170.164.192.in-addr.arpa name = server.example.com&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 10:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774379#M81279</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-04-06T10:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: difference nslookup between Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774380#M81280</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;@the output looks semantically equivalent to me:&lt;BR /&gt;&lt;BR /&gt;your are right, semantically is it the same , but the output is different :&lt;BR /&gt;&lt;BR /&gt;for me , it is easier to parse the output of HP-UX with following shell script below.&lt;BR /&gt;&lt;BR /&gt;HP-UX:&lt;BR /&gt;&lt;BR /&gt;Trying DNS&lt;BR /&gt;Name: server.example.com&lt;BR /&gt;Address: 192.164.170.32&lt;BR /&gt;&lt;BR /&gt;nslookup_localhost="server localhost"&lt;BR /&gt;ip_address="192.164.170.32"&lt;BR /&gt;&lt;BR /&gt;  dns_hostentry=`nslookup &amp;lt;&amp;lt;-EOF | grep '^Name:' |tail -1 | awk '{print $NF}'&lt;BR /&gt;${nslookup_localhost}&lt;BR /&gt;${ip_address}&lt;BR /&gt;exit&lt;BR /&gt;EOF `&lt;BR /&gt;&lt;BR /&gt;i idea of me is , to make two different shell commands :&lt;BR /&gt;&lt;BR /&gt;ux_version="uname -s"&lt;BR /&gt;&lt;BR /&gt;and nslookup parse should be different for $ux_version&lt;BR /&gt;&lt;BR /&gt;regards,tom&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 11:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774380#M81280</guid>
      <dc:creator>Billa-User</dc:creator>
      <dc:date>2011-04-06T11:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: difference nslookup between Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774381#M81281</link>
      <description>&amp;gt; for me , it is easier to parse the output of HP-UX with following shell script below.&lt;BR /&gt;&lt;BR /&gt;ok, clear. so you can handle the HP-UX part. For linux, I would suggest to use the dig command, which has a +short option, it is easy to parse:&lt;BR /&gt;&lt;BR /&gt;# dig +short example.com&lt;BR /&gt;192.0.32.10&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2011 11:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774381#M81281</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-04-06T11:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: difference nslookup between Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774382#M81282</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;hmm , when i type &lt;BR /&gt;&lt;BR /&gt;dig +short example.com&lt;BR /&gt;&lt;BR /&gt;the command doesn't ask me for an input (ip)&lt;BR /&gt;&lt;BR /&gt;do you have another unix version?&lt;BR /&gt;i tried for HP-UX and Linux</description>
      <pubDate>Wed, 06 Apr 2011 16:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774382#M81282</guid>
      <dc:creator>Billa-User</dc:creator>
      <dc:date>2011-04-06T16:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: difference nslookup between Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774383#M81283</link>
      <description>hello,&lt;BR /&gt;i tried some options, now it is ok:&lt;BR /&gt;&lt;BR /&gt;with hostname:&lt;BR /&gt;dig server.example.com  +short @localhost&lt;BR /&gt;&lt;BR /&gt;with ip-address&lt;BR /&gt;dig -x 192.164.170.32 +short @localhost&lt;BR /&gt;&lt;BR /&gt;@ dig +short example.com&lt;BR /&gt;do you forget the "server-name" to "dig"?&lt;BR /&gt;regards</description>
      <pubDate>Wed, 06 Apr 2011 16:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774383#M81283</guid>
      <dc:creator>Billa-User</dc:creator>
      <dc:date>2011-04-06T16:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: difference nslookup between Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774384#M81284</link>
      <description>&amp;gt; do you forget the "server-name" to "dig"?&lt;BR /&gt;&lt;BR /&gt;no, I just didn't declared the DNS server IP, it is not a must. I think if you leave the "@localhost" part in your command, it will use the dns server which was specified in /etc/resolv.conf. But not sure if every linux distro works this way, I tried it on OpenSUSE.</description>
      <pubDate>Wed, 06 Apr 2011 18:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774384#M81284</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2011-04-06T18:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: difference nslookup between Linux and HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774385#M81285</link>
      <description>&lt;!--!*#--&gt;&amp;gt; i want the same output of command "nslookup"&lt;BR /&gt;&lt;BR /&gt;One way to do that is to use the same&lt;BR /&gt;"nslookup" program everywhere.  If you find&lt;BR /&gt;some source, and build it on all your&lt;BR /&gt;systems, then you should get similar results&lt;BR /&gt;everywhere.</description>
      <pubDate>Wed, 06 Apr 2011 19:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/difference-nslookup-between-linux-and-hp-ux/m-p/4774385#M81285</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-06T19:09:01Z</dc:date>
    </item>
  </channel>
</rss>

