[Dnsmasq-discuss] Blocking AAAA responses for some domains

Artyom Aleksyuk artyom.h31 at gmail.com
Fri Sep 13 14:13:13 BST 2013


В письме от 13 сентября 2013 10:03:54 пользователь Simon Kelley написал:
> On 12/09/13 17:45, Artyom Aleksyuk wrote:
> > Hello.
> > I'm using Dnsmasq version 2.66 on OpenWRT. It is possible to block AAAA
> > responses for some domains and all their subdomains? For example, my IPv6
> > connection to youtube.com is much slower that v4 connection, so I want to
> > access it via v4. The simplest way to do this is to block AAAA records
> > for youtube.com and all it's subdomains.
> There's no direct facility to do this. What happens if you configure
> dnsmasq to return the undefined IPv6 address? ie:
> 
> --address=/youtube.com/::
> 
> Simon.
No, it doesn't work.
$ host youtube.com
youtube.com has IPv6 address ::
$ wget youtube.com
--2013-09-13 17:06:40--  http://youtube.com/
Resolving youtube.com (youtube.com)... ::
Connecting to youtube.com (youtube.com)|::|:80... failed: Connection refused.
Both wget and chrome are instantly rejecting to open this address.



More information about the Dnsmasq-discuss mailing list