Page 1 of 1

Name Resolve between VLans

Posted: Sat Jan 03, 2015 10:28 pm
by Gervw
Hello

I have setup 3x Vlans on my network.
I am able to ping ip adresses of pc's across Vlans successfully, but I cannot ping pc names across Vlans.
Within each Vlan, pinging device names is possible, but I am sure this is because of Netbios.
It appears that "DNS" is not functioning correctly.

I have configured dns and enabled allow remote requests.
I have configured each pc's dns address to be their individual Vlan gateway addresses. I assumed this will point the hosts to the internal DNS cache. However none of the pc names appear in DNS cache. I have tried static entries with out success either.
ARP is enabled in dhcp for each vlan as well

Can someone please advise me where I have gone wrong?

Thanks in advance.

Re: Name Resolve between VLans

Posted: Sat Jan 03, 2015 11:47 pm
by jarda
Seems you misunderstood the dns cache and allow remote requests feature.
Add static records for name.local and they will be resolved by the dns cache.

Re: Name Resolve between VLans

Posted: Mon Jan 05, 2015 11:56 pm
by Gervw
Thanks for the reply.

Please forgive my ignorance in asking this.

If name.local is added then I can only ping name.local and access it as name .local, ie \\name.local
How do I add to dns just "name" ?


Thansk in advance

Re: Name Resolve between VLans

Posted: Tue Jan 06, 2015 12:35 am
by jarda
As you are maybe afraid of: you can't. But you can manually edit hosts file on the computer to link name with ip address.

Re: Name Resolve between VLans

Posted: Tue Jan 06, 2015 5:13 am
by Sob
The problem with just "name" is that client computer (Windows at least) will treat it as incomplete hostname and will append connection's domain/suffix or some other manually configured one, before sending the query to dns resolver.

Which means that if you add static record "name.local" to RouterOS and then configure client computers to use ".local" suffix (I think you can use dhcp server for that, but I can't test it now), you'll be able to enter just "name" and it will work.