My Oracle Support Banner

How to disable IPV6(AAAA) DNS queries for curl and wget (Doc ID 2664034.1)

Last updated on AUGUST 29, 2023

Applies to:

Linux OS - Version Oracle Linux 6.10 with Unbreakable Enterprise Kernel [3.8.13] and later
Linux x86-64


AAAA (IPv6) DNS query  is being generated even when IPv6 disabled in  sysctl.conf.

# cat /etc/modprobe.d/ipv6.conf
options ipv6 disable=1
# cat /etc/sysctl.conf |grep ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

-------  tcpdump snap -----
20:50:29.621239 IP <hostname>   >   <IP>.domain: 61788+ A? <dnsdomain>. (41)
20:50:29.621257 IP <hostname>  >  <IP>.domain: 38829+ AAAA? <dnsdomain>. (41)

How to disable AAAA(IPV6) DNS query when  it's not needed .


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.