Netflix and IPv6
Categories :
It seems that Netflix has an ongoing issue of not working well with IPv6, apparently they have some sort of region checking code that doesn’t correctly identify IPv6 prefixes. To fix this I wrote the following script to make a small zone file with only A records for Netflix and no AAAA records. The $OUT.header file just has the SOA record for my fake netflix.com domain.
#!/bin/bash OUT=/etc/bind/data/netflix.com HEAD=$OUT.header cp $HEAD $OUT dig -t a www.netflix.com @8.8.8.8|sed -n -e "s/^.*IN/www IN/p"|grep [0-9]$ >> $OUT dig -t a android.prod.cloud.netflix.com @8.8.8.8|sed -n -e "s/^.*IN/android.prod.cloud IN/p"|grep [0-9]$ >> $OUT /usr/sbin/rndc reload > /dev/null
Update
I updated this post to add a line for android.prod.cloud.netflix.com which is the address used by Android devices.
Related posts:
- Amazon Prime and Netflix I’ve been trying both Amazon Prime and Netflix. I signed...
- BIND Stats In Debian the BIND server will by default append statistics...
- BIND Configuration Files I’ve recently been setting up more monitoring etc to increase...
- Dynamic DNS The Problem My SE Linux Play Machine has been down...
- DNSSEC reason=”verification failed; insecure key” I’ve recently noticed OpenDKIM on systems...