Huh. I would have thought the request by the application would be similar to running host.
as in #host google.com that returns a list of both ipv4 and ipv6 entries... On Wed, May 8, 2013 at 10:25 AM, /dev/rob0 <r...@gmx.co.uk> wrote: > On Wed, May 08, 2013 at 05:43:01AM -0700, Ray Klassen wrote: >> Is there a way of configuring dnsmasq to always return an ipv6 >> address on a DNS request if there are both ipv4 and ipv6 available? > > I wouldn't think so. A client either asks for an A record (ipv4) or > AAAA (ipv6), it does not ask for "an address". > >> I've got an an ipv6 tunnel that, for certain sites, I'd like all >> traffic to be directed to. Problem is (i think) that DNS is round >> robining addresses and sometimes returns an ipv4 address which > > No, as above, the client only gets A if it asks for A. That said, > resolver clients most likely can be configured to prefer ipv6 over > ipv4. See the documentation for your resolver(s). > >> routes traffic away from the tunnel. I suppose I could force this >> using a hosts file, but the addresses for that site are pretty >> dynamic or so I'm given to understand. > > Maybe you want to point to a remote server for those names: > > server=/certain.sites.example/2001:db8::1ce:c01d > -- > http://rob0.nodns4.us/ -- system administration and consulting > Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss