Page 1 of 2 12 Last
  • Jump to page:
    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    7
    Rep Power
    0

    DNS resolution problem.


    Hi Guyz.

    First of all you should know that I am new to DNS management.

    The problem is:
    I installed Acitve Directory with the DNS on the same server. and have only one server as AD Domain Controller.

    I also installed linux on another machine, where I hosted virtual Websites, under the same ip and different names.

    I created Host A records against each name of the website pointing to the Linux machine IP address.

    now the problem is that Some times the browser opens the page with the name without any errror, and suddenly sometimes it stops without any error and do not directs to the linux server to open the pages.

    then again after some times it automatically starts resolving to the page.

    I am using Widnows Server 2008 R2 and Red Hat Enterprise Linux 5, both on ESXi5 Free license.

    Can any one help me solve the issue ?

    Any question can be asked to clarify the issue.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Posts
    248
    Rep Power
    5
    Are you seeing DNS problems when it isn't working? Is it an internal site ot external to the internet as well? If it's windows, use nslookup on the command line and see if it is a name resolution problem (use dig for linux/mac). If it's a DNS resolution issue, it's probably something with the config.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    7
    Rep Power
    0
    Originally Posted by CaptPikel
    Are you seeing DNS problems when it isn't working? Is it an internal site ot external to the internet as well? If it's windows, use nslookup on the command line and see if it is a name resolution problem (use dig for linux/mac). If it's a DNS resolution issue, it's probably something with the config.
    it in only internal site. using windows server 2008

    i added only forwarders for the purpose to allow the clients to go to internet through the internal DNS.

    i m using windows, and in nslookup, the names resolve. but it do not ping on the name during the time when the it is not resolving on the browser.


    Below error is always in the Best Practices Analyzer.
    Code:
    The network adapter Local Area Connection does not list the loopback IP address as a DNS server, or it is configured as the first entry.
    also two other warnings are there in this section, one mentioning that i only have prefered DNS address, second mentioning that scavenging service is disabled.

    I have only one dns and one active directory domain.

    I have installed the DNS automatically with the AD installation, and only added forwarders as mentioned above. so i do not see where i did any miss-configuration? Guidance is appreciated
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Posts
    248
    Rep Power
    5
    If you can resolve the name via nslookup when you are having an issue, it probably is not a DNS problem. DNS won't affect your ability to ping something as long as the hostname resolves. All DNS is there to do is name resolution. So it sounds like that is working. You have a different issue if you can ping it when it works (I'm assuming) but can't when it doesn't. Maybe networking related or something on your server actually hosting the sites.
  8. #5
  9. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    If you have secondary dns specified in your client workstation along with your windows server, perhaps for whatever reason your query is going directly to the secondary dns server that doesn't have your local lan IP hostnames.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    surfing the interwebz
    Posts
    2,410
    Rep Power
    2005
    Doug has a good idea. Can you post an ipconfig /all and let us know if you can ping the IP of the website and/or fqdn?
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    7
    Rep Power
    0
    hi.

    I can ping the IP but on the name it is not pinging.

    It is happening every time. some times, it is pinging from one pc and not from others

    in ipconfig /all, ip address, gateway, DNS address of local server and ISP dns addresses are taken from DHCP. also today i configured WINS and assigning WINS IPs from the DHCP too
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    surfing the interwebz
    Posts
    2,410
    Rep Power
    2005
    In server 2008 load the DNS snap-in. Right click on the server name in the DNS snap-in and select properties. Under the interfaces tab verify the server is listening for DNS queries on the proper interface(s). Post, verbatim, and warnings or erros in your DNS logs under event viewer as well.

    When you say computers can't ping by name, but can by IP, is this for computers in the LAN or outside the LAN; or both?
  16. #9
  17. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    7
    Rep Power
    0
    all this is in LAN environment only. and i am checking with FQDN and Netbois names both.
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    surfing the interwebz
    Posts
    2,410
    Rep Power
    2005
    Ok, what's the results of the rest of the stuff you need to check?
  20. #11
  21. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    7
    Rep Power
    0
    on interfaces tab as you mentioned, the checkbox 'All IP Addresses' is checked.

    There are no warnings or error in the eventviewer in DNS logs.

    and at the time of the error, it also resolves in nslookup.


    I think like CaptPikel mentioned, it is not related to DNS.

    I also think to assign only one DNS IP and Check. using the recommendations of Doug G
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    surfing the interwebz
    Posts
    2,410
    Rep Power
    2005
    It sounds like DNS is setup and functional. If you can resolve the website using both a forward and reverse lookup, then I agree it's not a DNS issue. However, the odd thing is you can ping the website by IP 100% of the time, which I would think would eliminate an underlying network related issue.

    You also mentioned that when the problem occurs, some computers can still ping the website by name, while other's can't; is that correct? If so, when pinging the site by name, it should show the IP the site is resolving to when the ping command is issued. Are the PCs that can ping vs the PCs that can't all listing the same IP for the site?
  24. #13
  25. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    You can check your dns with tools like nslookup and if there is a windows version available, dig.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  26. #14
  27. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    7
    Rep Power
    0
    all pcs are listing the same ip for the sites. on the target server only one ip is there.


    how to check the resolution for reverse lookup zone.

    i just check it with nslookup. by entring the FQDN of the site.

    e.g. Site1.Domain.local, and it gives the ip of the target server.
  28. #15
  29. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    surfing the interwebz
    Posts
    2,410
    Rep Power
    2005
    Sounds like DNS is working properly.
Page 1 of 2 12 Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo