grub/grub-core
Gustavo Luiz Duarte 9e236169e9
issue separate DNS queries for ipv4 and ipv6
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.

Fixes: https://savannah.gnu.org/bugs/?39710

 * grub-core/net/bootp.c (parse_dhcp_vendor): Add DNS option.
 * grub-core/net/dns.c (grub_dns_qtype_id): New enum.
 * (grub_net_dns_lookup): Now using separated dns packages.
 * (grub_cmd_nslookup): Add error condition.
 * (grub_cmd_list_dns): Print DNS option.
 * (grub_cmd_add_dns): Add four parameters: --only-ipv4,
 * --only-ipv6, --prefer-ipv4, and --prefer-ipv6.
 * include/grub/net.h (grub_dns_option_t): New enum.
 * (grub_net_network_level_address): option added.

Also-by: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
2013-11-05 17:41:16 -02:00
..
boot * grub-core/boot/i386/pc/startup_raw.S (grub_gate_a20): Remove 2013-10-25 11:03:39 +02:00
bus USB EHCI: SMI disabled in all cases 2013-09-23 20:30:52 +02:00
commands * grub-core/commands/i386/nthibr.c (GRUB_MOD_INIT): Fix typo in command 2013-11-04 14:27:09 +01:00
disk * grub-core/disk/ahci.c (grub_ahci_pciinit): Detect ATAPI devices. 2013-11-03 13:52:36 +01:00
efiemu Consolidate cpuid code. 2013-10-27 00:02:01 +02:00
font Fix typo (failback vs fallback). 2013-06-07 15:35:16 +02:00
fs Revert "Attempts at ZFS options" 2013-11-03 16:52:33 +01:00
gdb * grub-core/kern/misc.c (grub_abort): Make static 2013-10-27 14:13:39 +01:00
gettext * grub-core/gettext/gettext.c (grub_gettext_init_ext): Ignore errors 2013-11-03 05:42:02 +01:00
gfxmenu * include/grub/misc.h (grub_strcat): Removed. All users changed to 2013-11-01 16:27:37 +01:00
gnulib Allow compilation with mingw64 albeit with warnings due to lack of 2013-10-15 18:03:19 +02:00
hello * grub-core/commands/gptsync.c: Fix typographic quoting. 2012-03-03 13:05:08 +01:00
hook * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic 2011-11-11 21:03:49 +01:00
io * grub-core/io/gzio.c (huft_build): Use zalloc for safety. 2013-10-30 11:58:00 +01:00
kern Rewrite blocklist functions in order to get progress when 2013-11-01 23:28:03 +01:00
lib * grub-core/lib/legacy_parse.c: Fix handling of hercules and add 2013-11-05 02:43:27 +01:00
loader * grub-core/loader/sparc64/ieee1275/linux.c (get_physbase): Fix 2013-11-02 18:57:35 +01:00
mmap Pass-through unknown E820 types. It required reorganisation of mmap 2013-10-14 16:33:44 +02:00
net issue separate DNS queries for ipv4 and ipv6 2013-11-05 17:41:16 -02:00
normal * include/grub/misc.h (grub_strcat): Removed. All users changed to 2013-11-01 16:27:37 +01:00
osdep * grub-core/osdep/linux/getroot.c: Fix cast-align problems. 2013-11-03 00:43:49 +01:00
partmap * grub-core/partmap/dfly.c: Simplify dprintfs for easier gettext 2013-08-02 22:56:20 +02:00
parttool * grub-core/net/http.c: Add TRANSLATORS comments. 2012-03-05 16:42:26 +01:00
script * grub-core/script/yylex.l: Fix LSQBR2 and RSQBR2. It's not 2013-10-17 01:28:24 +02:00
term * grub-core/term/terminfo.c: Add sequences for home and end. 2013-11-05 02:44:31 +01:00
tests * grub-core/tests/video_checksum.c: Add 2560x1440 mode to testing. 2013-11-04 00:40:14 +01:00
video * grub-core/video/fb/video_fb.c: Merge two blit functions 2013-11-05 21:46:16 +04:00
gdb_grub.in * grub-core/gdb_grub.in: Fix overflow and wrong field. 2013-10-14 03:40:20 +02:00
genemuinit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genemuinitheader.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genmod.sh.in * grub-core/genmod.sh.in: Remove ./ from TARGET_OBJ2ELF. Add quotes. 2013-09-23 13:03:03 +02:00
genmoddep.awk Add new all_video module. 2012-02-26 18:09:07 +01:00
gensyminfo.sh.in * INSTALL: Document cross-compilation. 2013-08-22 01:56:28 +02:00
gensymlist.sh Make 'make check' work on emu. 2013-04-27 02:00:16 +02:00
gentrigtables.c * grub-core/gentrigtables.c: Make tables const. 2013-03-01 11:15:09 +01:00
gmodule.pl.in Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
gnulib-fix-null-deref.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-fix-width.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-no-abort.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
gnulib-no-gets.diff Import new gnulib. 2013-04-11 21:12:46 +02:00
Makefile.am Don't add -lm on haiku. 2013-10-19 02:20:21 +02:00
Makefile.core.def enable emuusb and emupci on emu platform only 2013-11-04 16:53:39 +04:00
modinfo.sh.in Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00