<?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: ipv6 question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5374199#M53305</link>
    <description>Hello Matti&lt;BR /&gt;&lt;BR /&gt;I also noticed on this Linux Server which generates lot of bogus ipv6 AAAA quesries, there are 7 sub-domains listed in the /etc/resolv.conf search string. . Every time the “ssh” command is executed, there are 8 bogus IPv6 “AAAA” queries issued (which all fail), before finally the valid IPv6 “A” query is issued (and successfully resolves). When the “ssh” command is being used in monitoring scripts or some other transaction-oriented manner, there will be an exponential number of bogus IPv6 “AAAA” queries issued before the eventual IPv4 “A” query is issued. This is a problem with some applications running on the Linux servers. It also generates something of a DoS attack on production DNS servers. Strange it happens only on Linux running Redhat 4 and 5. All other OS seems OK&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Mike</description>
    <pubDate>Thu, 27 Oct 2011 15:42:49 GMT</pubDate>
    <dc:creator>Mike_Swift</dc:creator>
    <dc:date>2011-10-27T15:42:49Z</dc:date>
    <item>
      <title>ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728740#M43120</link>
      <description>On our RHEL 4 box we have ipv6 turned off. But still the ipv6 dns lookup is done. Any way to permanently disable it? (checked /etc/modprobe.conf and sysconfig/network file..all ok..)it looks quite a challenge as the config seems to be OK&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Mon, 20 Dec 2010 20:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728740#M43120</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2010-12-20T20:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728741#M43121</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You need to do this as root&lt;BR /&gt;&lt;BR /&gt;Edit /etc/sysconfig/network and change&lt;BR /&gt;&lt;BR /&gt;NETWORKING_IPV6=yes to&lt;BR /&gt;NETWORKING_IPV6=no&lt;BR /&gt;&lt;BR /&gt;Edit /etc/modprobe.conf and add these lines (if theyâ  re not in it):&lt;BR /&gt;&lt;BR /&gt;alias net-pf-10 off&lt;BR /&gt;alias ipv6 off&lt;BR /&gt;&lt;BR /&gt;Stop the ipv6tables service by typing:&lt;BR /&gt;&lt;BR /&gt;  service ip6tables stop&lt;BR /&gt;&lt;BR /&gt;Disable the ipv6tables service by typing:&lt;BR /&gt;&lt;BR /&gt;  chkconfig ip6tables off&lt;BR /&gt;&lt;BR /&gt;After these changes, IPv6 will be disabled after the next reboot of your system.&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Tue, 21 Dec 2010 10:54:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728741#M43121</guid>
      <dc:creator>Suman_1978</dc:creator>
      <dc:date>2010-12-21T10:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728742#M43122</link>
      <description>As mentioned earlier wehave followed normal protocols. All these have been done. But still the ipv6 DNS lookups happen. Not sure why??&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Tue, 21 Dec 2010 14:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728742#M43122</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2010-12-21T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728743#M43123</link>
      <description>Hi Brain,&lt;BR /&gt;&lt;BR /&gt;What is the kernel version?&lt;BR /&gt;&lt;BR /&gt;I have not tested this however you can try below command:&lt;BR /&gt;Check the value first:&lt;BR /&gt;#cat /proc/sys/net/ipv6/conf/all/disable_ipv6&lt;BR /&gt;&lt;BR /&gt;if its 0 then change it using below command to disable it&lt;BR /&gt;&lt;BR /&gt;#echo 1 &amp;gt; /proc/sys/net/ipv6/conf/all/disable_ipv6&lt;BR /&gt;&lt;BR /&gt;To check if the value has changed:&lt;BR /&gt;#cat /proc/sys/net/ipv6/conf/all/disable_ipv6&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Tue, 21 Dec 2010 18:51:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728743#M43123</guid>
      <dc:creator>Chhaya_Z</dc:creator>
      <dc:date>2010-12-21T18:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728744#M43124</link>
      <description>IPv6 DNS lookups?&lt;BR /&gt;&lt;BR /&gt;Do you mean the system will attempt to communicate with a DNS server over IPv6?&lt;BR /&gt;&lt;BR /&gt;Or do you mean the system will send AAAA record queries to perfectly ordinary IPv4 DNS servers? I guess this is what you probably mean.&lt;BR /&gt;&lt;BR /&gt;If you're using an application that is IPv6 aware, it probably always uses IPv6 versions of DNS query functions, or sets RES_USE_INET6 in global program variable _res.options. This makes the resolver library send an IPv6 AAAA query before each IPv4 A query.&lt;BR /&gt;&lt;BR /&gt;Because IPv6 resolver functions can automatically fallback to IPv4 when necessary, using them always makes it simpler to write a program that can work with both IPv6 and IPv4. But as a side effect, you'll get the AAAA query.&lt;BR /&gt;&lt;BR /&gt;If your DNS server complies with the appropriate RFCs, the extra AAAA queries should be harmless.&lt;BR /&gt;&lt;BR /&gt;The IPv6 query option of the DNS resolver library can apparently be forced on by adding "options inet6" line to /etc/resolv.conf, but there is apparently no way to force the option off.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 22 Dec 2010 12:02:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728744#M43124</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-12-22T12:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728745#M43125</link>
      <description>Happy New Year!!&lt;BR /&gt;&lt;BR /&gt;Thanks for the responses..&lt;BR /&gt;&lt;BR /&gt;As mentioned we have disabled the IPV6(alias net-pf-10 off in modprobe.conf, alias ipv6 off in /etc/modprobe.conf and then the NETWORK_IPV6 line for /etc/sysconfig/network)and rebooted,  but still the ifconfig -a reports inet6 addr for bond0 and eth1..&lt;BR /&gt;&lt;BR /&gt;MK..&lt;BR /&gt;&lt;BR /&gt;is this what you were mentioning as normal? &lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Mon, 03 Jan 2011 13:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728745#M43125</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2011-01-03T13:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728746#M43126</link>
      <description>Please note the inet6 addr line is in addition to the normal inet,Bcast and Mask line. Is this normal?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Mon, 03 Jan 2011 13:43:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728746#M43126</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2011-01-03T13:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728747#M43127</link>
      <description>If ifconfig still displays IPv6 addresses, it looks like your attempt to disable IPv6 using the module alias didn't work. I guess some startup script loads the module explicitly.&lt;BR /&gt;&lt;BR /&gt;A RedHat-recommended procedure for disabling IPv6 is to add this line to /etc/modprobe.conf:&lt;BR /&gt;&lt;BR /&gt;options ipv6 disable=1&lt;BR /&gt;&lt;BR /&gt;This won't prevent the ipv6 module from loading, but tells it to disable itself. The kernel will log a message telling IPv6 is "administratively disabled" until next reboot.&lt;BR /&gt;&lt;BR /&gt;Even this may not stop IPv6-aware applications from making AAAA queries to IPv4 nameservers: making those DNS queries does not require any kernel-level IPv6 protocol support. But those queries should not be harmful: a standards-compliant DNS server can simply answer "I have no information about IPv6".&lt;BR /&gt;&lt;BR /&gt;To completely stop an IPv6-aware application from making AAAA queries, the application would have to have a configurable IPv4-only mode. Not all IPv6-aware programs have such a mode.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 05 Jan 2011 19:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/4728747#M43127</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-01-05T19:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5372761#M53297</link>
      <description>&lt;P&gt;Matti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have the same issue with the DNS server flooding with AAAA quesries. When you mention "But those queries should not be harmful: a standards-compliant DNS server can simply answer "I have no information about IPv6". what does this mean or what RFC's it should comply with?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2011 13:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5372761#M53297</guid>
      <dc:creator>Mike_Swift</dc:creator>
      <dc:date>2011-10-26T13:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5373141#M53298</link>
      <description>&lt;P&gt;I meant that the DNS server does not even need to know what the AAAA record is to be able to answer "I don't have any records of that type matching the name you asked for". Since an A record exists for the name, a Name Error is not appropriate. The situation should be handled essentially the same as when querying for NS record for a name that does not have one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The algorithm in RFC 1034 (STD 13, the fundamental definition of DNS), paragraph 4.3.2 would lead to the generation of a response with an empty answer section and no error indication (status NOERROR) - as always when there is no record of the requested type, but records of some other type exist for the name queried.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The later RFC 2308 (Proposed Standard) confirms this is exactly the expected format for a NODATA answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RFC 1123 (STD 3), paragraph 6.1.3.5 says:&lt;/P&gt;&lt;PRE&gt;6.1.3.5  Extensibility

DNS software MUST support all well-known, class-independent
formats [DNS:2], and SHOULD be written to minimize the
trauma associated with the introduction of new well-known
types and local experimentation with non-standard types.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both RFC 1034 and RFC 1123 considerably pre-date the IPv6 RFCs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DNS extensions for IPv6 are provided in RFC 1886 (Proposed Standard), and it defines the query type for AAAA records as type value 28.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a handy list of the various DNS-related RFCs:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.zoneedit.com/doc/rfc/"&gt;http://www.zoneedit.com/doc/rfc/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2011 19:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5373141#M53298</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-10-26T19:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5374193#M53304</link>
      <description>&lt;P&gt;Matti&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand from the RFC perspective, but the DNS team has sadi that the load generated from this particular client is too much to handle for the DNS server (AAAA queries). Is there anything we could do from the Linux side (OS Config) that could stop this load on the DNS Server?? Please advice..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regrads&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2011 15:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5374193#M53304</guid>
      <dc:creator>Mike_Swift</dc:creator>
      <dc:date>2011-10-27T15:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5374199#M53305</link>
      <description>Hello Matti&lt;BR /&gt;&lt;BR /&gt;I also noticed on this Linux Server which generates lot of bogus ipv6 AAAA quesries, there are 7 sub-domains listed in the /etc/resolv.conf search string. . Every time the “ssh” command is executed, there are 8 bogus IPv6 “AAAA” queries issued (which all fail), before finally the valid IPv6 “A” query is issued (and successfully resolves). When the “ssh” command is being used in monitoring scripts or some other transaction-oriented manner, there will be an exponential number of bogus IPv6 “AAAA” queries issued before the eventual IPv4 “A” query is issued. This is a problem with some applications running on the Linux servers. It also generates something of a DoS attack on production DNS servers. Strange it happens only on Linux running Redhat 4 and 5. All other OS seems OK&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Thu, 27 Oct 2011 15:42:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5374199#M53305</guid>
      <dc:creator>Mike_Swift</dc:creator>
      <dc:date>2011-10-27T15:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: ipv6 question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5374847#M53306</link>
      <description>&lt;P&gt;You might want to specify&lt;/P&gt;&lt;PRE&gt;AddressFamily inet   #IPv4 only&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;either in your global /etc/ssh/ssh_config or in user-specific ~/.ssh/config file. That will stop the ssh client from making the AAAA queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For other applications, you must find other application-specific solutions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if your resolv.conf search string causes the system to query for so many variations of the name, perhaps you should be using fully-qualified names when setting up your monitoring scripts or other "transaction-oriented" processes. Normally the cost of one DNS query is fairly small, but if you have a long search list and you know you will be making a lot of connections, a simple optimization (i.e. qualifying the names once at configuration time instead of repeatedly at runtime) would be wise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For monitoring systems and other "heavy users" of DNS, you might even consider setting up a local caching-only DNS server on the query-generating host. You would set it to forward all queries (that cannot be answered with the already-cached information) to your regular DNS servers. If the TTL values of your regular DNS servers are sensible, the cache should end up answering most of the recurring DNS queries, minimizing the DNS-related network traffic required.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2011 07:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ipv6-question/m-p/5374847#M53306</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-10-28T07:14:47Z</dc:date>
    </item>
  </channel>
</rss>

