+ Post New Thread
Results 1 to 6 of 6
Windows Thread, Windows Network Name Resolution - Experts needed! in Technical; I'm having a bit of trouble trying to understand how my windows machines actually resolve names into ip addresses. When ...
  1. #1

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168

    Windows Network Name Resolution - Experts needed!

    I'm having a bit of trouble trying to understand how my windows machines actually resolve names into ip addresses.

    When I ran serverless Win98 networks, the automagic browser master mechanisim seemed to just automagically work (or sometimes not )

    When I introduced W2k3 servers with DNS and DHCP I just thought that the DNS server was doing all the work and I was now doing things properly.

    However, following an incident at two of my schools, I've come to think that my DNS server is not being using to resolve local devices such as cachepilots, linux print servers and wireless accesspoints (and probably not printers in somecases) and that I'm still basically using browse master mechanisims

    Do any of you have say access points on your network and are able to address them by name rather than IP address and if so - how do you acheive this?

    regards

    Simon

  2. #2
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41
    When using NSLOOKUP check that the DNS server is actually within your network and not looking at an external DNS server. Sometimes the databases on the local network get messed up (power cuts etc.) so the DNS and DHCP don't agree with each other.

  3. #3
    StewartKnight's Avatar
    Join Date
    Jun 2005
    Posts
    1,587
    Thank Post
    2
    Thanked 27 Times in 21 Posts
    Rep Power
    30
    when I get DNS errors, for a quick fix, I use the servers IP address instead of it's name

    i.e. map a drive

    \\server\users

    becomes

    \\192.168.0.250\users

  4. #4
    Jon
    Jon is offline
    Jon's Avatar
    Join Date
    May 2006
    Location
    Norfolk
    Posts
    327
    Thank Post
    32
    Thanked 52 Times in 42 Posts
    Rep Power
    22
    For items that may have static Ip address and therefore DHCP has not registered a DNS AHost record it is neccasary to do this manually.

    To do this in your DNS console right click your forward lookup Zone and select New Host (a) record Fill in the host name and IP address and you are done...

    For machines that may have the wrong ip address registered you could just run ipconfig /registerdns from a command prompt. This will sort out the AHost record for that machine.

  5. #5

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,808
    Thank Post
    1,476
    Thanked 592 Times in 444 Posts
    Rep Power
    168
    Are you using a WINS server?
    No - does anyone else?
    You can check what's going on with DNS by using NSLOOKUP.
    Yes - I can prove DNS doesn't know about non-windows devices - I use it for cachepilot and its says
    unknown - can't find cachepilot - non-existant domain
    NSLOOKUP on windows clients is fine - returns their IP and IP of DNS server.
    I don't have reverse DNS setup.
    when I get DNS errors, for a quick fix, I use the servers IP address instead of it's name
    Yes-thats works for me as well
    But I'd like to know what is resolving non windows clients on a good day - and then I can try and work out what has gone wrong on 20% of computers in two of my schools!
    For items that may have static Ip address and therefore DHCP has not registered a DNS AHost record it is neccasary to do this manually.

    To do this in your DNS console right click your forward lookup Zone and select New Host (a) record Fill in the host name and IP address and you are done...
    Thats what I used to believe was the thing to do.

    However, I believe that if aI try to enter the ip of an access point and I want to call this ap1, that this enters a name called ap1.school.local (where school.local is the arbitary domain name I chose when setting up the server) and not the Non-FQDN name of ap1.

    I believe that if I could set up ap1 and get it to resolve using ping ap1 I'd be well on way to having a setup that didn't rely upon automagic (which is what seems to happen at the moment)

    regards

    Simon

  6. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,035
    Thank Post
    852
    Thanked 2,663 Times in 2,260 Posts
    Blog Entries
    9
    Rep Power
    766
    Quote Originally Posted by SimpleSi View Post
    Yes - I can prove DNS doesn't know about non-windows devices - I use it for cachepilot and its says
    This is normal for devicies that are not set up to register themselves in DNS automatically

    NSLOOKUP on windows clients is fine - returns their IP and IP of DNS server.
    I don't have reverse DNS setup.
    I would setup a reverse DNS zone for your networks subnets as some windows features use this to communicate, this can cause issues with some software and network functions.

    Yes-thats works for me as well
    But I'd like to know what is resolving non windows clients on a good day - and then I can try and work out what has gone wrong on 20% of computers in two of my schools!
    NETBIOS over TCP/IP and the computer browser service may be picking up the slack in these situations. This is dependent on which computer is elected the browser master for your network and takes some time to register new stations. This in conjunction with cache could give you quite goo partial name resolution.


    Thats what I used to believe was the thing to do.

    However, I believe that if aI try to enter the ip of an access point and I want to call this ap1, that this enters a name called ap1.school.local (where school.local is the arbitary domain name I chose when setting up the server) and not the Non-FQDN name of ap1.

    I believe that if I could set up ap1 and get it to resolve using ping ap1 I'd be well on way to having a setup that didn't rely upon automagic (which is what seems to happen at the moment)
    You do want to add a host record for each of the things that do not automatically register themselves with DNS. This will add the school.local stuff on the end but all network adapters inside your local network automatically suffix that onto the end anyway as it is a local resource. This suffix information should be included in the information that is pushed out to your hosts with DHCP.

    You may also want to setup a WINS server and point to it using DHCP as well because this service helps out with legacy name resolution requests and gives you a secondary resolution source. It is also possible to set up DNS to consult WINS if it does not know the address.

SHARE:
+ Post New Thread

Similar Threads

  1. Connecting a Windows network to an RM managed Network
    By Scruff in forum Wireless Networks
    Replies: 4
    Last Post: 8th February 2010, 11:53 PM
  2. Senior network administrator needed
    By shirzay in forum Educational IT Jobs
    Replies: 2
    Last Post: 23rd January 2008, 08:50 PM
  3. Mac experts help needed
    By Rozzer in forum Mac
    Replies: 4
    Last Post: 3rd August 2007, 08:08 AM
  4. WIX Experts Needed
    By russdev in forum Coding
    Replies: 0
    Last Post: 25th May 2007, 08:07 PM
  5. Replies: 8
    Last Post: 13th February 2006, 03:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •