IPv6 UDP DNS Queries Fail

Bug #1639398 reported by Jeffry A. Spain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

DNS queries using IPv6 UDP time out and return no result, for example "dig @2001:4860:4860::8888 google.com a" fails in this manner. "dig @2001:4860:4860::8888 google.com a +tcp" succeeds using IPv6 TCP, and "dig @8.8.8.8 google.com a" succeeds using IPv4 UDP. This problem occurs on a virtual machine running on the Windows Server 2016 Hyper-V hypervisor. It is not reproducible on VMware vSphere 6.0. I do not have access to other hypervisors for additonal testing. The problem is also not reproducible on Ubuntu 1404 on Hyper-V. Installing the linux-virtual package makes no difference. See bug 1527902 for what appears to be the same problem in different circumstances.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-45-generic 4.4.0-45.66
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
AlsaDevices:
 total 0
 crw-rw----+ 1 root audio 116, 1 Nov 4 20:23 seq
 crw-rw----+ 1 root audio 116, 33 Nov 4 20:23 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Fri Nov 4 23:00:11 2016
HibernationDevice: RESUME=/dev/mapper/ubuntu1604--vg-swap_1
InstallationDate: Installed on 2016-11-04 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Microsoft Corporation Virtual Machine
PciMultimedia:

ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 hyperv_fb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-45-generic.efi.signed root=/dev/mapper/hostname--vg-root ro
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-45-generic N/A
 linux-backports-modules-4.4.0-45-generic N/A
 linux-firmware 1.157.4
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/26/2012
dmi.bios.vendor: Microsoft Corporation
dmi.bios.version: Hyper-V UEFI Release v1.0
dmi.board.asset.tag: None
dmi.board.name: Virtual Machine
dmi.board.vendor: Microsoft Corporation
dmi.board.version: Hyper-V UEFI Release v1.0
dmi.chassis.asset.tag: 6978-1102-7319-2300-1885-2380-34
dmi.chassis.type: 3
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.version: Hyper-V UEFI Release v1.0
dmi.modalias: dmi:bvnMicrosoftCorporation:bvrHyper-VUEFIReleasev1.0:bd11/26/2012:svnMicrosoftCorporation:pnVirtualMachine:pvrHyper-VUEFIReleasev1.0:rvnMicrosoftCorporation:rnVirtualMachine:rvrHyper-VUEFIReleasev1.0:cvnMicrosoftCorporation:ct3:cvrHyper-VUEFIReleasev1.0:
dmi.product.name: Virtual Machine
dmi.product.version: Hyper-V UEFI Release v1.0
dmi.sys.vendor: Microsoft Corporation
---
AlsaDevices:
 total 0
 crw-rw----+ 1 root audio 116, 1 Nov 4 23:54 seq
 crw-rw----+ 1 root audio 116, 33 Nov 4 23:54 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=/dev/mapper/ubuntu1604--vg-swap_1
InstallationDate: Installed on 2016-11-04 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
IwConfig: Error: [Errno 2] No such file or directory
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Microsoft Corporation Virtual Machine
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 hyperv_fb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-45-generic.efi.signed root=/dev/mapper/hostname--vg-root ro
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-45-generic N/A
 linux-backports-modules-4.4.0-45-generic N/A
 linux-firmware 1.157.4
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial
Uname: Linux 4.4.0-45-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 11/26/2012
dmi.bios.vendor: Microsoft Corporation
dmi.bios.version: Hyper-V UEFI Release v1.0
dmi.board.asset.tag: None
dmi.board.name: Virtual Machine
dmi.board.vendor: Microsoft Corporation
dmi.board.version: Hyper-V UEFI Release v1.0
dmi.chassis.asset.tag: 6978-1102-7319-2300-1885-2380-34
dmi.chassis.type: 3
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.version: Hyper-V UEFI Release v1.0
dmi.modalias: dmi:bvnMicrosoftCorporation:bvrHyper-VUEFIReleasev1.0:bd11/26/2012:svnMicrosoftCorporation:pnVirtualMachine:pvrHyper-VUEFIReleasev1.0:rvnMicrosoftCorporation:rnVirtualMachine:rvrHyper-VUEFIReleasev1.0:cvnMicrosoftCorporation:ct3:cvrHyper-VUEFIReleasev1.0:
dmi.product.name: Virtual Machine
dmi.product.version: Hyper-V UEFI Release v1.0
dmi.sys.vendor: Microsoft Corporation

Revision history for this message
Jeffry A. Spain (spainj) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1639398

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeffry A. Spain (spainj) wrote : CRDA.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Jeffry A. Spain (spainj) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jeffry A. Spain (spainj) wrote : JournalErrors.txt

apport information

Revision history for this message
Jeffry A. Spain (spainj) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jeffry A. Spain (spainj) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jeffry A. Spain (spainj) wrote : ProcModules.txt

apport information

Revision history for this message
Jeffry A. Spain (spainj) wrote : UdevDb.txt

apport information

Revision history for this message
Jeffry A. Spain (spainj) wrote : WifiSyslog.txt

apport information

Revision history for this message
Jeffry A. Spain (spainj) wrote :

Not sure whether or not apport-collect 1639398 completed successfully. It generated the message "dpkg-query: no packages found matching Linux". It asked me to send a problem report, and I did.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.9 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc4

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Jeffry A. Spain (spainj) wrote :

Thanks, Joseph. I tested clean installations of Ubuntu 1404, 1604, and 1610 and used the commands "dig @2001:4860:4860::8888 google.com a" and "dig @2001:4860:4860::8888 google.com a +tcp" to test. All systems are virtual machines running on the Windows Server 2016 Hyper-V hypervisor. I tested each operating system both as installed and with all current patches applied. Results are as follows:

Ubuntu 1404, kernel 4.2.0-27-generic, DNS UDP ok, DNS TCP ok.
Ubuntu 1404, kernel 4.2.0-42-generic, DNS UDP ok, DNS TCP ok.
Ubuntu 1604, kernel 4.4.0-31-generic, DNS UDP fail, DNS TCP ok.
Ubuntu 1604, kernel 4.4.0-45-generic, DNS UDP fail, DNS TCP ok.
Ubuntu 1610, kernel 4.8.0-22-generic, DNS UDP fail, DNS TCP ok.
Ubuntu 1610, kernel 4.8.0-26-generic, DNS UDP fail, DNS TCP ok.

I will test kernel 4.9-rc4 as you requested and report the results. Thanks. Jeff.

Revision history for this message
Jeffry A. Spain (spainj) wrote :

Results for kernel 4.9-4c4:

Ubuntu 1604, kernel 4.9.0-040900rc4-generic #201611052031, DNS UDP ok, DNS TCP ok.
Ubuntu 1610, kernel 4.9.0-040900rc4-generic #201611052031, DNS UDP ok, DNS TCP ok.

Per your request I will tag the bug as "kernel-fixed-upstream" and "Confirmed".

Thanks. Jeff.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-fixed-upstream
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.