Score:-1

Nslookup server: unknown between VLANs/networks?

cl flag

I have several VLANs/networks - eg.:

  • 10.0.10.0/24 : Servers
  • 10.0.20.0/24 : Pcs

My DNS server is called "DC1.mydomain.local" (IP 10.0.10.11) and I have a PBX server called SVPBX (IP 10.0.10.21).

Inside the Servers VLAN - If I type Nslookup SVPBX, I get this result:

C:\Users\x>nslookup SVPBX
Server:  DC1.mydomain.local
Address:  10.0.10.11

Name:    SVPBX.mydomain.local
Address:  10.0.10.21

But if I inside the PCs VLAN tries the same, I get this:

C:\Windows\system32>nslookup SVPBX
Server:  UnKnown
Address:  10.0.10.11

My PCs DNS is set to: 10.0.10.11.

I have created two reverse lookup zones on the DNS server (DC1):

  • 10.0.10.in-addr.arpa
  • 20.0.10.in-addr.arpa

Any idea what I am doing wrong? Shouldn't I create a reverse lookup per VLAN?

Score:0
ar flag

This is not about reverse DNS. Reverse DNS zones contains PTR records, whilst you're looking for A/AAAA records with your nslookup commmand.

Your problem is the DNS search domain. On the first PC, where it works, the search domain is probably set to mydomain.local. This can be verified with Get-DnsClientGlobalSetting cmdlet in Powershell.

You should not rely on the DNS search domain in your configuration files. Always use FQDN. The search domain can commonly be specified by DHCP server, and may open you up to attack by software connecting to a different server than anticipated.

cl flag
Thanks ... Yes it says mydomain.local. I'm not sure which configuration files you refer to?
vidarlo avatar
ar flag
Don't use `SVPBX` anywhere. Use the full FQDN `SVPBX.mydomain.local`.
cl flag
Any idea why I can't ping CNAME adresses from PCs subnet to the Servers subnet? I can ping A/AAAA records but not CNAME.
vidarlo avatar
ar flag
Check if the NS allows recursion.
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.