Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


fran1942

82 posts

Master Geek

Trusted

#156075 18-Nov-2014 17:42
Send private message

Hello, just a bit confused on when a name server is required.
Can someone please explain how name resolution works on a LAN/workgroup etc. ?
i.e. with Windows computer names I understand they do not need to be resolved i.e. you can just enter the computer name and connect, but if you then start to use exchange/AD servers etc, do you need a dns server to resolve them ?

Thanks for any clarification.

Create new topic
nathan
5686 posts

Uber Geek

Trusted
Microsoft

  #1178059 18-Nov-2014 17:47
Send private message

Favourite search engine ->

Broadcast-Based Name Resolution, also known as B-Node name resolution




populism, the most important and misunderstood movement of our time


JWR

JWR
800 posts

Ultimate Geek


  #1178146 18-Nov-2014 21:22


Active Directory requires DNS. It doesn't have to be Microsoft's DNS. But, it is easier (and generally better) that way.

 
 
 
 


Ragnor
8035 posts

Uber Geek

Trusted

  #1179510 19-Nov-2014 13:20
Send private message

nathan: Favourite search engine


DuckDuckGo? tongue-out

wasabi2k
2092 posts

Uber Geek


  #1179519 19-Nov-2014 13:34
Send private message

Windows computers do name resolution in a number of ways. The most common would be DNS, as that is used on the internet. This resolves names like www.google.com to IP addresses.

For most small workgroup setups the router will be doing DNS, so all your PCs will be pointing at that. You can see this by running ipconfig /all and checking what IP address is listed under DNS Servers. The router will proxy your DNS requests to your ISP's DNS, which it receives when it does the PPP IPCP handshaking when it logs on. It is also possible to point your clients directly at your ISP's DNS.

This is absolutely fine for external access, but won't resolve names of PCs on your local network, as the DNS services on routers normally don't let PCs register their names. In this case the PCs will usually fall back to older name resolution methods - namely broadcasts. The details of how this works depend a lot on the OS versions of your clients. Newer ones may use LLDP and the homegroup functions of windows, older ones just broadcast.

You can also deploy a WINS Server/Servers which handles netbios name resolution for older client OSes. It is basically a limited DNS but for NetBIOS names.

When you start getting to a LAN of any real size you need to handle DNS internally. Active Directory in particular requires DNS (and realistically Microsoft DNS is the sane way to do it) to be run on a server/servers locally and Exchange requires AD. Servers (and clients if required) then register their name records (and SRV records etc) with the DNS server locally and clients are pointed at the local DNS server(s) to resolve names. The local DNS servers can then be configured to forward external DNS requests outside to a public DNS server to allow name resolution for internet names. They can also be configured to query these themselves, but that is inefficient and comes with all the drawbacks of not using ISP DNS.



Glassboy
836 posts

Ultimate Geek

Trusted

  #1179567 19-Nov-2014 14:35
Send private message

Hi there.  To understand what name resolution is going to work you have to understand the network layer.  If all of the hosts are (for example) on the same switch they are most likely going to be in the same broadcast domain (http://en.wikipedia.org/wiki/Broadcast_domain).  Pretty much the host shouts "hey dave" and the targets says "what steve" and a conversation happens.

If the hosts aren't in the same broadcast domain, the host will need some kind of name resolution to work out where the target is.  Analogous to Steve looking up Dave in a phone book.  A local hosts file is Steve's personal address book, and DNS is the white pages.  Obviously DNS is favoured because if the number changes then everyone gets to know, rather than multiple local files having to be updated.

What happens with the number is also analogous to a phone system, the host says to it's local router I want to this number and the router works out how to send the call through.  It's actually all ARPs n' stuff, but all you need to know is ARP good, LARP bad.  If someone asks you to LARP you should say no and tell them they are a bad person, LARPing is not a good way to network.

Create new topic





News »

Huawei launches IdeaHub Pro in New Zealand
Posted 27-Oct-2020 16:41


Southland-based IT specialist providing virtual services worldwide
Posted 27-Oct-2020 15:55


NASA discovers water on sunlit surface of Moon
Posted 27-Oct-2020 08:30


Huawei introduces new features to Petal Search, Maps and Docs
Posted 26-Oct-2020 18:05


Nokia selected by NASA to build first ever cellular network on the Moon
Posted 21-Oct-2020 08:34


Nanoleaf enhances lighting line with launch of Triangles and Mini Triangles
Posted 17-Oct-2020 20:18


Synology unveils DS16211+
Posted 17-Oct-2020 20:12


Ingram Micro introduces FootfallCam to New Zealand channel
Posted 17-Oct-2020 20:06


Dropbox adopts Virtual First working policy
Posted 17-Oct-2020 19:47


OPPO announces Reno4 Series 5G line-up in NZ
Posted 16-Oct-2020 08:52


Microsoft Highway to a Hundred expands to Asia Pacific
Posted 14-Oct-2020 09:34


Spark turns on 5G in Auckland
Posted 14-Oct-2020 09:29


AMD Launches AMD Ryzen 5000 Series Desktop Processors
Posted 9-Oct-2020 10:13


Teletrac Navman launches integrated multi-camera solution for transport and logistics industry
Posted 8-Oct-2020 10:57


Farmside hits 10,000 RBI customers
Posted 7-Oct-2020 15:32









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.