Score:0

Reverse DNS lookup of Linux system not function with Windows Active Directory

ng flag

My Linux system (KUbuntu 20.04 KDE) is connected with Windows Active Directory.

I am able to ping the IP address of Linux box from the network PCs of the Domain. I can see the hostname of my Linux box as well using the ping -a command.

The problem is that, when I am pinging the hostname instead of IP address, then it's not getting a response from the Linux box.

NotTheDr01ds avatar
vn flag
Hello and Welcome to Ask Ubuntu. A heads-up that I've removed the [tag:windows-subsystem-for-linux] (WSL) tag since you do not seem to be using that feature. WSL is a feature of Windows 10 and later that allows you to run a Linux distribution *inside* Windows. If you are using Kubuntu, it is almost certain that you are not using WSL. If I've removed the tag in error, please update your question to clarify your WSL installation. Thanks!
ChanganAuto avatar
us flag
*when I am pinging the hostname instead of IP address, then it's not getting a response from the Linux box* This doesn't depend on the Ubuntu client, it depends on the AD controller.
Score:0
br flag

Diagnosis:

  • Get full domain name (full-domain-name) of your Active Directory. Usually it is somedomain.local or somedomain.lan etc.
  • Get Linux box supposed FQDN, i.e fully qualified domain name linuxbox-name.full-domain-name. Example: mybox01.somedomain.lan
  • Check DNS records.

1. Check of DNS A-record:

On Windows machine use

nslookup linuxbox-name.full-domain-name

On Linux use

dig linuxbox-name.full-domain-name

Check answer/answer section. If no valid IP address is listed, it means no DNS record exists for such name in domain.

2. Check of DNS PTR-record:

On Windows machine use

nslookup linuxbox-IP-address

On Linux use

dig -x linuxbox-IP-address

In case you get valid FQDN device name in DNS server response, compare it with your supposed FQDN in first test above, correct the name and repeat the first DNS check.

In case both checks are negative, your linuxbox does not have DNS records and its name cannot be used for network communication.

Possible solutions: Ask domain administrator for setting to create DNS A-record automatically by DHCP server if device is connected to network. Or ask him for DHCP static reservation for your device (MAC address - IP address) and for related DNS record.

nimish patel avatar
ng flag
When i ran "nslookup linuxbox-name.full-domain-name" command from Windows Laptop, found replay --> "Request to full-doman-name timed-out". Moreover, when i ran "dig -x linuxbox-IP-address" command from Linux box, found reply ---> "connection timed out; no servers could be reached" So, what will be the possibilities of this issue? Any help is highly appreciated.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.