+ Post New Thread
Results 1 to 14 of 14
Windows Server 2008 Thread, DNS issues? Unable to view servers by hostname from clients in Technical; Hi, I'm in the middle of setting up wpad and have found there are some issues with our dns settings. ...
  1. #1

    Join Date
    Feb 2009
    Location
    Suffolk, UK
    Posts
    121
    Thank Post
    22
    Thanked 1 Time in 1 Post
    Rep Power
    0

    DNS issues? Unable to view servers by hostname from clients

    Hi, I'm in the middle of setting up wpad and have found there are some issues with our dns settings.

    Server03 has IIS 7 installed.
    On server03 I can see the IIS default page using http://server03 or ip address
    On server02 I am able to see IIS default page using http://server03 or ip address

    Both servers are DCs.
    server02 is DNS

    Clients are only able to view IIS default page by ip address, http://server03 does not work.
    [edit]Turns out some clients will connect via ie using hostname - whilst others still do not. All so far are able to see our spiceworks front login page using that servers hostname (but I've not tried every client yet!)[/edit]

    I'm guessing there are issues with DNS - DNS has never, ever been my thing!

    Appreciate any advice, thanks
    Last edited by klop; 8th November 2013 at 12:08 PM.

  2. #2
    pughburt's Avatar
    Join Date
    Apr 2011
    Location
    wolverhampton
    Posts
    45
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    18
    Are the clients DHCP? Has DNS been authorized? Have you assigned the correct DNS in DHCP?

  3. #3

    Join Date
    Oct 2005
    Posts
    847
    Thank Post
    51
    Thanked 115 Times in 105 Posts
    Rep Power
    74
    Hi @klop

    Do your clients get their IP addresses by DHCP? or do you assign them manually?
    If it's the former - check your DHCP scope to see what DNS servers, if any, you have specified.

    If that all looks good, the next step would be to go to a client machine and open a command prompt and check name resolution.

    1. Try "ping server03" and see what IP address it tries to ping (if any)
    2. Try "nslookup server03" - what result do you get?

    Let me know how you get on!

  4. #4

    Jawloms's Avatar
    Join Date
    Aug 2007
    Posts
    829
    Thank Post
    177
    Thanked 105 Times in 73 Posts
    Rep Power
    185
    Might be worth doing an ipconfig /all on a client and just making sure its DNS server is the IP address of server02.

  5. #5

    Join Date
    Feb 2009
    Location
    Suffolk, UK
    Posts
    121
    Thank Post
    22
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Interestingly (perhaps!) I've found some devices are able to see http://server03

    With one device that wouldn't see it by hostname after running ipconfig /flushdns it did - and now does connect
    However other devices I have tried using ipconfig /flushdns with haven't worked.

    What a mess huh!

  6. #6

    Join Date
    Feb 2009
    Location
    Suffolk, UK
    Posts
    121
    Thank Post
    22
    Thanked 1 Time in 1 Post
    Rep Power
    0
    @pughburt Yes, DHCP and yes the DNS is correct

    @pantscat DHCP
    If i ping server03 from a client that cannot view http://server03 the ping replies. So I guess something is resolving the name into the correct address - just not in the browser?

    I ran nslookup, results are;

    Server: server02.xxx.local
    Address: 10.x.x.4

    Name: server03.xxx.local
    Address: 10.x.x.5

    All above xxx details are correct just thought I should x them out
    Only thing i guess is server02 does have two addresses, but the one listed was correct

    @Jawloms ipconfig shows correct DNS DHCP etc


    Our DNS server (server02) has two IPs .3 and .4
    Could that cause any problems - should i disable one?

    I've also tried our spiceworks server.
    Laptop client that cannot see server02 CAN see our spiceworks server by hostname in the browser - does this shed any light? If anything I thought it made it a tad more confusing!


    Thanks for advice so far
    Last edited by klop; 8th November 2013 at 12:03 PM.

  7. #7

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,985
    Thank Post
    114
    Thanked 505 Times in 340 Posts
    Blog Entries
    2
    Rep Power
    286
    Quote Originally Posted by klop View Post
    Only thing i guess is server02 does have two addresses, but the one listed was correct

    Our DNS server (server02) has two IPs .3 and .4
    Could that cause any problems - should i disable one?
    I'm going to guess that one of those addresses is not reachable from the clients. Delete the unreachable entry from DNS and see what happens.

  8. #8

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,985
    Thank Post
    114
    Thanked 505 Times in 340 Posts
    Blog Entries
    2
    Rep Power
    286
    Also check your DNS suffix

    Run NSLOOKUP (press return)
    You're in interactive mode now.
    Type: set debug <press return>
    and now enter some names to be resolved.
    There'll be a whole screen full of stuff, I've often found that DNS suffix goes wrong, where it's not appending it to your domain names.
    Also try typing the FQDN of the server

  9. #9

    Join Date
    Feb 2009
    Location
    Suffolk, UK
    Posts
    121
    Thank Post
    22
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by jinnantonnixx View Post
    I'm going to guess that one of those addresses is not reachable from the clients. Delete the unreachable entry from DNS and see what happens.
    Damn!! Thought you may have found a nice simple fix then!

    I ping server02 (our dns server) from two clients, one working and one not and was eager to see they were both using different addresses for server02.
    I've deleted .3 from dns as one client was using .4 and working fine.
    Rebooted the laptop that wasn't connecting and it's still not working but is now using .4 which works on the other machine

  10. #10

    Join Date
    Feb 2009
    Location
    Suffolk, UK
    Posts
    121
    Thank Post
    22
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by jinnantonnixx View Post
    Also check your DNS suffix

    Run NSLOOKUP (press return)
    You're in interactive mode now.
    Type: set debug <press return>
    and now enter some names to be resolved.
    There'll be a whole screen full of stuff, I've often found that DNS suffix goes wrong, where it's not appending it to your domain names.
    Also try typing the FQDN of the server
    thanks, there's a lot to look through.
    using full fqdn shows a lot more

    anything in particular i should be looking for?

    thanks again

  11. #11

    Join Date
    Feb 2009
    Location
    Suffolk, UK
    Posts
    121
    Thank Post
    22
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by jinnantonnixx View Post
    Also check your DNS suffix

    Run NSLOOKUP (press return)
    You're in interactive mode now.
    Type: set debug <press return>
    and now enter some names to be resolved.
    There'll be a whole screen full of stuff, I've often found that DNS suffix goes wrong, where it's not appending it to your domain names.
    Also try typing the FQDN of the server
    Ok one thing that looks iffy - might not be though?

    when i use server02 all looks fine but when i use FQDN there is one error?

    under the header there is NXDOMAIN where all others have NOERROR
    The noticeable thing is under Questions it has the name as server02.domainname.local.domainname.local

    All others are server02.domainname.local

    Thanks - think you've given me a lead
    Last edited by klop; 8th November 2013 at 01:21 PM.

  12. #12

    Join Date
    Feb 2009
    Location
    Suffolk, UK
    Posts
    121
    Thank Post
    22
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by klop View Post
    just tried this on a client that can see the page by name and there are no errors - look like a good place to start - thanks again
    Ok this is in fact wrong - I must have read it incorrectly. I get the NXDOMAIN and mydomain.local.mydomain.local double suffix when using a FQDN on any client whether it can see server03 hostname or not. Also I get the NXDOMAIN for all machines I lookup and not just server03

  13. #13

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,985
    Thank Post
    114
    Thanked 505 Times in 340 Posts
    Blog Entries
    2
    Rep Power
    286
    You'll see NXDOMAIN messages when in debug mode and not using FQDN. This is because NSLOOKUP pastes in your DNS suffix(es) to try and make a FQDN that resolves to something.

    Can you compare the "DNS suffix search order" of a machine that works against a problem machine? "ipconfig /all" will show you.
    Last edited by jinnantonnixx; 8th November 2013 at 01:57 PM.

  14. #14

    Join Date
    Feb 2009
    Location
    Suffolk, UK
    Posts
    121
    Thank Post
    22
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Ok, massive embarrassment time!!

    In the first post of this thread you may have noticed I had mentioned we are switching to wpad.dat for our proxy settings.
    We have been using up till now proxy.pac files.

    The laptops that couldn't see the server by hostname in ie is now fixed, erm - there needed to be the exception for that within the wpad file... ooops!

    Where I got confused was;

    a> the netbook and the desktop that managed to connect to the server using hostname in ie and could get online
    b> the laptop that did connect to server hostname in ie - but turns out isn't for another reason (possibly dns related?!?!?) picking up the wpad.dat file so isn't actually getting online!

    The netbook and desktop have fixed proxy settings given by gpo. We're not intending they'll ever be use outside of school.
    The laptop that wont connect online - well that's another story - and perhaps, another thread!

    Thanks again for everyone's help and support - sorry I've wasted your time.

    Cheers.

SHARE:
+ Post New Thread

Similar Threads

  1. Weird DNS issue relating to
    By jpaterson in forum Windows Server 2012
    Replies: 2
    Last Post: 16th September 2013, 11:25 PM
  2. Win7 deployment issues - unable to deploy.
    By SteveB_NI in forum O/S Deployment
    Replies: 4
    Last Post: 1st July 2013, 09:54 AM
  3. Replies: 3
    Last Post: 2nd August 2011, 04:53 PM
  4. sibelius 6 - issue connecting to licence server
    By Stuart_C in forum Educational Software
    Replies: 2
    Last Post: 20th January 2011, 02:36 PM
  5. Unable to view a powerpoint file1
    By cooper in forum Office Software
    Replies: 8
    Last Post: 19th January 2009, 03:06 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
  •