DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 16th, 2012, 03:10 AM
Bukhari1986 Bukhari1986 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 7 Bukhari1986 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 42 sec
Reputation 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.

Reply With Quote
  #2  
Old May 16th, 2012, 07:20 PM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
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.

Reply With Quote
  #3  
Old May 17th, 2012, 01:27 AM
Bukhari1986 Bukhari1986 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 7 Bukhari1986 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 42 sec
Reputation Power: 0
Quote:
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

Reply With Quote
  #4  
Old May 17th, 2012, 09:07 AM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
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.

Reply With Quote
  #5  
Old May 18th, 2012, 12:27 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,257 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 18 h 51 m 19 sec
Reputation Power: 4445
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
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #6  
Old May 18th, 2012, 07:55 PM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,341 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 25 m 28 sec
Reputation Power: 1940
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?

Reply With Quote
  #7  
Old May 20th, 2012, 03:07 AM
Bukhari1986 Bukhari1986 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 7 Bukhari1986 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 42 sec
Reputation 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

Reply With Quote
  #8  
Old May 20th, 2012, 08:20 AM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,341 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 25 m 28 sec
Reputation Power: 1940
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?

Reply With Quote
  #9  
Old May 20th, 2012, 08:49 AM
Bukhari1986 Bukhari1986 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 7 Bukhari1986 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 42 sec
Reputation Power: 0
all this is in LAN environment only. and i am checking with FQDN and Netbois names both.

Reply With Quote
  #10  
Old May 20th, 2012, 12:42 PM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,341 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 25 m 28 sec
Reputation Power: 1940
Ok, what's the results of the rest of the stuff you need to check?

Reply With Quote
  #11  
Old May 21st, 2012, 01:38 AM
Bukhari1986 Bukhari1986 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 7 Bukhari1986 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 42 sec
Reputation 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

Reply With Quote
  #12  
Old May 21st, 2012, 12:56 PM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,341 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 25 m 28 sec
Reputation Power: 1940
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?

Reply With Quote
  #13  
Old May 21st, 2012, 01:56 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,257 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 18 h 51 m 19 sec
Reputation Power: 4445
You can check your dns with tools like nslookup and if there is a windows version available, dig.

Reply With Quote
  #14  
Old May 22nd, 2012, 01:07 AM
Bukhari1986 Bukhari1986 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 7 Bukhari1986 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 13 m 42 sec
Reputation 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.

Reply With Quote
  #15  
Old May 22nd, 2012, 07:10 AM
seack79 seack79 is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2004
Location: surfing the interwebz
Posts: 2,341 seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level)seack79 User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 25 m 28 sec
Reputation Power: 1940
Sounds like DNS is working properly.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS resolution problem.

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap