+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Windows Thread, DNS - can't ping by computer name in Technical; Hand in the air - I don't really understand how/why/what/??? DNS on w2k3 servers ops: Background - just swapped over ...
  1. #1

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,720
    Thank Post
    1,451
    Thanked 580 Times in 434 Posts
    Rep Power
    165

    DNS - can't ping by computer name

    Hand in the air - I don't really understand how/why/what/??? DNS on w2k3 servers ops:

    Background - just swapped over to using a w2k3 server instead of one my trusty win98 machines - all working (so it seems) OK.

    I have also setup a ubuntu print server (which seems to work fine and has tested OK with a few users for a week)

    So I thought I'd add it to more computers (as an IPP printer) and use its name instead of its ip address - 10.81.62.5.

    no joy -tried pinging it by name (printserv1) - no joy - ping by ip - fine.

    That's when I thought - I'll bet I need to do something with DNS.

    On my w2k3 server, I just answered the basic questions when I set it up and it seems to be working OK.

    I get really confused over forward/reverse zones and what I need to set up/don't need to set up.

    1. Am I right in thinking that not being able to ping the print server by name is a DNS issue.

    2. What do I need to do to resolve it.

    3. Do I need forward/reverse zones in my simple enviroment.

    regards
    Simon

    PS No computers are logging into the w2k3 domain - they are just using it as a replacement fileserver for the old win98 machine.

  2. #2
    StewartKnight's Avatar
    Join Date
    Jun 2005
    Posts
    1,587
    Thank Post
    2
    Thanked 27 Times in 21 Posts
    Rep Power
    29

    Re: DNS - can't ping by computer name

    I thought we'd just covered this at uni Simon!

  3. #3
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: DNS - can't ping by computer name

    Have you added the linux box to the active directory? Do this first. Then go to the DNS service. You should see a windows open with DNS on the left hand side and your server name just below this. Expand the server name folder this should then show you Forward and reverse lookup zones click on your active directory name <school>.internal or something like that depending on how you've set it up. Right click on the rihgt hand pane and it should bring up a list choose New Host (A) (making sure nothing else is selected in the right hand pane) Enter your computers name and address the system should ask if you want to create a pointer in the Reverse lookup zone do this and you should then be able to ping by the computers name. Also if you have more than one DNS you'll need to either wait for them to synchronise or force them!

    Wes

  4. #4
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: DNS - can't ping by computer name

    @Stewart: Like anyone pays enough attention in class lol!

    Wes

  5. #5
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,938
    Thank Post
    114
    Thanked 272 Times in 250 Posts
    Rep Power
    104

    Re: DNS - can't ping by computer name

    Basically the windows machines register themselves in DNS if you have selected the right options the Linux box will not hence the instructions above. Im sure it could be made to before someone pipes up but for the sake of this exercise its best just to manually add a record. Just make sure your Ubuntu box has a static IP.

  6. #6
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: DNS - can't ping by computer name

    Strictly speaking you don't need reverse lookup zones in a very basic environment but I always set them up as a matter of course! Sadly W2k3 server "forgets" to set up reverse lookup pointers for your DNS servers which sometimes can be annoying when you are trying to join a test workstation and keep getting domain cannot be contacted errors all the time (Been there done that got pi**ed off, moved away from the servers sat down laughed and fixed it lol)

    Wes

  7. #7
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: DNS - can't ping by computer name

    Can Samba be setup for this?

    Wes

  8. #8


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    338

    Re: DNS - can't ping by computer name

    Can Samba be setup for this?
    Samba isn't a DNS server. Samba can be set up as a legacy WINS server. BIND can be setup as an Active Directory DNS server though, but few people do this.

  9. #9
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: DNS - can't ping by computer name

    Sorry I meant on the client to attach to the active directory? BIND? I'll have to have a look at that!

    Wes

  10. #10

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,720
    Thank Post
    1,451
    Thanked 580 Times in 434 Posts
    Rep Power
    165

    Re: DNS - can't ping by computer name

    @Stewart
    Hand in the air - I don't really understand how/why/what/??? DNS on w2k3 servers ops:
    @Chris

    Basically the windows machines register themselves in DNS if you have selected the right options
    Thats what I thought but why can't I see any computer names in the DNS console?

    Ican't even find where I told it our upstream DNS server settings ops:

    @wesley
    Have you added the linux box to the active directory?
    No - I've not done this - but the windows machines are pingable by name and I haven't added them either! (I'm trying to understand what's happening here)

    Expand the server name folder this should then show you Forward and reverse lookup zones click on your active directory name <school>.internal or something like that depending on how you've set it up.Right click on the rihgt hand pane and it should bring up a list choose New Host (A) (making sure nothing else is selected in the right hand pane) Enter your computers name and address the system should ask if you want to create a pointer in the Reverse lookup zone do this and you should then be able to ping by the computers name.
    Just me being thick but do you mean I add the record in school.local in Forward Lookup Zone? (I assume yes but...)

    If so, when you say create a pointer in the Reverse Lookup Zone ( and I haven't got one) will it fail?

    stopping now but got more questions ops:

    regards
    Simon

  11. #11
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: DNS - can't ping by computer name

    Just me being thick but do you mean I add the record in school.local in Forward Lookup Zone? (I assume yes but...)
    Yes thats correct.

    If so, when you say create a pointer in the Reverse Lookup Zone ( and I haven't got one) will it fail?
    Actually if you haven't created on I don't think it will ask you.

    No - I've not done this - but the windows machines are pingable by name and I haven't added them either! (I'm trying to understand what's happening here)
    If you joined them to the domain it should have added them to the Active Directory

    Wes

  12. #12

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: DNS - can't ping by computer name

    Sorry I meant on the client to attach to the active directory?
    Samba 3.x can join an active directory domain. It shows up as a member server. You need kerberos installed too though.

  13. #13
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: DNS - can't ping by computer name

    Cool thanks Geoff!

    Wes

  14. #14

    SimpleSi's Avatar
    Join Date
    Jun 2005
    Location
    Lancashire
    Posts
    5,720
    Thank Post
    1,451
    Thanked 580 Times in 434 Posts
    Rep Power
    165

    Re: DNS - can't ping by computer name

    @all - Reset to Basics :-)

    PS No computers are logging into the w2k3 domain - they are just using it as a replacement fileserver for the old win98 machine.
    So I naively think that the DNS server should just be acting as a DNS server and not the right-hand assistant to AD. Yes/No?


    @wes
    Strictly speaking you don't need reverse lookup zones in a very basic environment but I always set them up as a matter of course!
    Don't have too/but I do :?

    What happens if you don't then?
    And why do you do it as a matter or course.

  15. #15
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: DNS - can't ping by computer name

    Well actually it causes problems when joining to the domain if you have more than one DNS server. In your environment currently this won't cause a problem. However if you expand the system to have more DNS and DC servers then this is needed and of course it only takes a few more mintues to set up.

    Wes

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Anybody used PING?
    By sqdge in forum Windows
    Replies: 11
    Last Post: 10th August 2007, 07:25 AM
  2. random ping responses.
    By ranj in forum Wireless Networks
    Replies: 11
    Last Post: 13th March 2007, 04:17 PM
  3. Ping an IP address and log results
    By mrforgetful in forum Wireless Networks
    Replies: 13
    Last Post: 8th July 2006, 10:03 AM
  4. Anyone for Ping Pong?
    By Optimus in forum Jokes/Interweb Things
    Replies: 2
    Last Post: 30th August 2005, 10:17 AM

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
  •