6.9.0-rc2 Disable AAAA lookups


Recommended Posts

Hi,

My router has been giving me issues by blocking AAAA DNS requests so it makes certain things take 10 seconds to resolve the IP as its waiting for the AAAA response.

I was just wondering if there is a way of stopping unraid from requesting these in the first place.

I've already tried to disable IPv6 all together with systctl but it had no effect.  

 

An example of one of these requests when doing a curl to ifconfig.so with IPv6 disabled through sysctl.

tcpdump -vvv -s 0 -l -n port 53
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
01:24:25.441601 IP (tos 0x0, ttl 64, id 58816, offset 0, flags [DF], proto UDP (17), length 57)
    192.168.1.253.34549 > 1.1.1.1.53: [bad udp cksum 0xc4dd -> 0x7654!] 7015+ A? ifconfig.so. (29)
01:24:25.441613 IP (tos 0x0, ttl 64, id 58817, offset 0, flags [DF], proto UDP (17), length 57)
    192.168.1.253.34549 > 1.1.1.1.53: [bad udp cksum 0xc4dd -> 0xe057!] 38499+ AAAA? ifconfig.so. (29)
01:24:25.454176 IP (tos 0x0, ttl 57, id 28155, offset 0, flags [DF], proto UDP (17), length 73)
    1.1.1.1.53 > 192.168.1.253.34549: [udp sum ok] 7015 q: A? ifconfig.so. 1/0/0 ifconfig.so. [56m35s] A 54.146.53.133 (45)
01:24:26.212361 IP (tos 0x0, ttl 64, id 59565, offset 0, flags [DF], proto UDP (17), length 60)
    192.168.1.253.34767 > 1.1.1.1.53: [bad udp cksum 0xc4e0 -> 0x965f!] 40193+ A? api.github.com. (32)
01:24:26.224390 IP (tos 0x0, ttl 57, id 52197, offset 0, flags [DF], proto UDP (17), length 76)
    1.1.1.1.53 > 192.168.1.253.34767: [udp sum ok] 40193 q: A? api.github.com. 1/0/0 api.github.com. [15s] A 140.82.121.5 (48)
01:24:26.224430 IP (tos 0x0, ttl 64, id 59571, offset 0, flags [DF], proto UDP (17), length 60)
    192.168.1.253.34767 > 1.1.1.1.53: [bad udp cksum 0xc4e0 -> 0x7f41!] 46084+ AAAA? api.github.com. (32)
01:24:26.236925 IP (tos 0x0, ttl 57, id 52200, offset 0, flags [DF], proto UDP (17), length 144)
    1.1.1.1.53 > 192.168.1.253.34767: [udp sum ok] 46084 q: AAAA? api.github.com. 0/1/0 ns: github.com. [6m52s] SOA ns-1707.awsdns-21.co.uk. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400 (116)
01:24:26.538234 IP (tos 0x0, ttl 64, id 59832, offset 0, flags [DF], proto UDP (17), length 71)
    192.168.1.253.40246 > 1.1.1.1.53: [bad udp cksum 0xc4eb -> 0x881a!] 48328+ A? raw.githubusercontent.com. (43)
01:24:26.538244 IP (tos 0x0, ttl 64, id 59833, offset 0, flags [DF], proto UDP (17), length 71)
    192.168.1.253.40246 > 1.1.1.1.53: [bad udp cksum 0xc4eb -> 0xad15!] 31949+ AAAA? raw.githubusercontent.com. (43)
01:24:26.549642 IP (tos 0x0, ttl 57, id 55967, offset 0, flags [DF], proto UDP (17), length 170)
    1.1.1.1.53 > 192.168.1.253.40246: [udp sum ok] 48328 q: A? raw.githubusercontent.com. 5/0/0 raw.githubusercontent.com. [23s] CNAME github.map.fastly.net., github.map.fastly.net. [23s] A 151.101.0.133, github.map.fastly.net. [23s] A 151.101.192.133, github.map.fastly.net. [23s] A 151.101.64.133, github.map.fastly.net. [23s] A 151.101.128.133 (142)
01:24:30.446231 IP (tos 0x0, ttl 64, id 62125, offset 0, flags [DF], proto UDP (17), length 57)
    192.168.1.253.34549 > 1.1.1.1.53: [bad udp cksum 0xc4dd -> 0x7654!] 7015+ A? ifconfig.so. (29)
01:24:30.463758 IP (tos 0x0, ttl 57, id 31815, offset 0, flags [DF], proto UDP (17), length 73)
    1.1.1.1.53 > 192.168.1.253.34549: [udp sum ok] 7015 q: A? ifconfig.so. 1/0/0 ifconfig.so. [56m27s] A 54.146.53.133 (45)
01:24:30.463804 IP (tos 0x0, ttl 64, id 62132, offset 0, flags [DF], proto UDP (17), length 57)
    192.168.1.253.34549 > 1.1.1.1.53: [bad udp cksum 0xc4dd -> 0xe057!] 38499+ AAAA? ifconfig.so. (29)
01:24:30.475736 IP (tos 0x0, ttl 57, id 31826, offset 0, flags [DF], proto UDP (17), length 134)
    1.1.1.1.53 > 192.168.1.253.34549: [udp sum ok] 38499 q: AAAA? ifconfig.so. 0/1/0 ns: ifconfig.so. [22m37s] SOA ns1.p16.dynect.net. admin.samuelkadolph.com. 2020111000 3600 600 604800 1800 (106)
01:24:31.542697 IP (tos 0x0, ttl 64, id 62832, offset 0, flags [DF], proto UDP (17), length 71)
    192.168.1.253.40246 > 1.1.1.1.53: [bad udp cksum 0xc4eb -> 0x881a!] 48328+ A? raw.githubusercontent.com. (43)
01:24:31.554259 IP (tos 0x0, ttl 57, id 58506, offset 0, flags [DF], proto UDP (17), length 170)
    1.1.1.1.53 > 192.168.1.253.40246: [udp sum ok] 48328 q: A? raw.githubusercontent.com. 5/0/0 raw.githubusercontent.com. [17s] CNAME github.map.fastly.net., github.map.fastly.net. [17s] A 151.101.64.133, github.map.fastly.net. [17s] A 151.101.192.133, github.map.fastly.net. [17s] A 151.101.0.133, github.map.fastly.net. [17s] A 151.101.128.133 (142)
01:24:31.554299 IP (tos 0x0, ttl 64, id 62835, offset 0, flags [DF], proto UDP (17), length 71)
    192.168.1.253.40246 > 1.1.1.1.53: [bad udp cksum 0xc4eb -> 0xad15!] 31949+ AAAA? raw.githubusercontent.com. (43)
01:24:31.566468 IP (tos 0x0, ttl 57, id 58517, offset 0, flags [DF], proto UDP (17), length 164)
    1.1.1.1.53 > 192.168.1.253.40246: [udp sum ok] 31949 q: AAAA? raw.githubusercontent.com. 1/1/0 raw.githubusercontent.com. [22s] CNAME github.map.fastly.net. ns: fastly.net. [22s] SOA ns1.fastly.net. hostmaster.fastly.com. 2017052201 3600 600 604800 30 (136)

Thanks.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.