Why can I see AAAA DNS requests when I run tcpdump on my Scientific Linux PC when I haven't got any IPv6 addresses? I already rebooted after setting NETWORKING_IPV6=no in /etc/sysconfig/network and options ipv6 disable=1 in /etc/modprobe.d/ipv6.conf, but I can still see AAAA requests if I visit a few websites. How can I disable the requesting of AAAA records?
Asked
Active
Viewed 1.1k times
11
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
LanceBaynes
- 39,295
- 97
- 250
- 349
-
`options ipv6 off` and then in super shell run `modprobe -r ipv6` – Nikhil Mulley Dec 21 '11 at 06:18
-
2If you have an IPv4 address, you automatically have a [6to4](http://en.wikipedia.org/wiki/6to4) IPv6 address, through which you may be able to reach IPv6 hosts (depending on what IPv6 connectivity your ISP offers). – Gilles 'SO- stop being evil' Dec 21 '11 at 23:42
-
Have you removed ::1 and other ipv6 addresses from your `/etc/hosts?` – Marcin Dec 22 '11 at 15:16
-
Firefox has additionally the option to disable IPV6: go to about:config then change network.dns.disableIPv6 – jofel Jul 19 '12 at 14:46
-
1As per http://serverfault.com/questions/632665/how-to-disable-aaaa-lookups, there seems to be no easy way. – tuomassalo Mar 09 '16 at 09:42
2 Answers
1
Check if file /etc/resolv.conf has "options inet6". If so, that line should be removed using your favorite editor (invoked via sudo or as root, after making a backup copy). If you are using DHCP, it may get put back in the next time you reboot even if you have no IPv6 in your kernel network stack.
Skaperen
- 706
- 1
- 5
- 14
0
Try to pass the following option to the kernel, on the Grub stage:
modprobe.blacklist=modname1
Where modname is the module name of ipv6 on Scientific Linux (probably ipv6)
Michael Mrozek
- 91,316
- 38
- 238
- 232
Hanan
- 5,631
- 4
- 28
- 30