Re: [PATCH] Issue separate DNS queries for ipv4 and ipv6

2013-11-05 Thread Gustavo Luiz Duarte
Vladimir, Thanks for your reply. Unfortunately, I wrote this patch more than a year ago and I've not been working much on grub2 code since then. I know Paulo Smorigo (CC) is working to address your concerns and he is much more familiar with grub2 code than I am. Paulo, thanks for your help.

Re: [PATCH] Issue separate DNS queries for ipv4 and ipv6

2013-11-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 17.10.2012 02:55, Gustavo Luiz Duarte wrote: > > Adding multiple questions on a single DNS query is not supportted by > most DNS servers. This patch issues two separate DNS queries > sequentially for ipv4 and then for ipv6. > > There are 4 possible config options: > DNS_OPTION_IPV4: issue onl

Re: [PATCH] Issue separate DNS queries for ipv4 and ipv6

2012-10-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.10.2012 23:21, Gustavo Luiz Duarte wrote: > Because IPv4 is much more prevalent at present, what means less > unnecessary traffic and a slightly better performance on most of the > cases. Also way too often IPv6 is misconfigured and detecting this condition may be slow if the packets simply

Re: [PATCH] Issue separate DNS queries for ipv4 and ipv6

2012-10-18 Thread Gustavo Luiz Duarte
Because IPv4 is much more prevalent at present, what means less unnecessary traffic and a slightly better performance on most of the cases. We can always change the default in the future (when IPv6 is more prevalent) as such "preference" is just an optimization. Also, I should soon have a patch

Re: [PATCH] Issue separate DNS queries for ipv4 and ipv6

2012-10-16 Thread Richard Laager
On Tue, 2012-10-16 at 21:55 -0300, Gustavo Luiz Duarte wrote: > The default is DNS_OPTION_PREFER_IPV4. Why prefer IPv4 when most things prefer IPv6? -- Richard signature.asc Description: This is a digitally signed message part ___ Grub-devel mailing

[PATCH] Issue separate DNS queries for ipv4 and ipv6

2012-10-16 Thread Gustavo Luiz Duarte
Adding multiple questions on a single DNS query is not supportted by most DNS servers. This patch issues two separate DNS queries sequentially for ipv4 and then for ipv6. There are 4 possible config options: DNS_OPTION_IPV4: issue only one ipv4 query DNS_OPTION_IPV6: issue only one ipv6 query