LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-27-2011, 08:24 AM   #1
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Rep: Reputation: 0
DNS server problem


Hi,

I have configured DNS in linux machine.

In linux client machine i checked using nslookup it's giving proper output.But when i tried in Windows client machine,It's giving following error

C:\Documents and Settings\yal2361>nslookup 192.168.0.220
Server: www.ycsmumldap.com.0.168.192.in-addr.arpa
Address: 192.168.0.220

Name: www.ycsmumldap.com.0.168.192.in-addr.arpa
Address: 192.168.0.220

C:\Documents and Settings\yal2361>nslookup www.ycsmumldap.com

Server: www.ycsmumldap.com.0.168.192.in-addr.arpa
Address: 192.168.0.220

DNS request timed out.
timeout was 2 seconds.
Name: www.ycsmumldap.com
Address: 192.168.0.220



please let me know, what and where is the problem

Last edited by kathirvel; 07-27-2011 at 08:26 AM.
 
Old 07-27-2011, 09:00 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

From the above looks like you missed the trailing dot at least for the NS record of the 0.168.192.in-addr.arpa zone. If it works on linux, but not on windows, you should flush the dns cache:
Code:
ipconfig /flushdns
Regards
 
Old 07-27-2011, 11:22 PM   #3
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Original Poster
Rep: Reputation: 0
hi,

I flushed the DNS,Though I am getting same problem.
 
Old 07-28-2011, 02:44 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Are you sure it's working on linux and both computers are using the same nameserver as a resolver?
Also posting the 2 zone files could be of help

Regards
 
Old 07-28-2011, 07:28 AM   #5
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Original Poster
Rep: Reputation: 0
yes, I am sure it's working Linux.


Forward zone file:

$TTL 86400
@ IN SOA www.ycsmumldap.com. root.www.ycsmumldap.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS www.ycsmumldap.com.
1 IN PTR www.ycsmumldap.com.

www IN A 192.168.0.220



Reverse Zone File :

$TTL 86400
@ IN SOA www.ycsmumldap.com. root.www.ycsmumldap.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS www.ycsmumldap.com.
1 IN PTR www.ycsmumldap.com.

220 IN PTR www.ycsmumldap.com.

Last edited by kathirvel; 07-28-2011 at 07:31 AM.
 
Old 07-28-2011, 08:05 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Next time please use CODE tags for better readability.
You have an "error" in your forward zone. The PTR RR has no reason to be there.
Here is the forward zone file, with a current serial and blank spaces where needed:
Code:
$TTL 86400
@ IN SOA www.ycsmumldap.com. root.www.ycsmumldap.com. (
                 2011072801 ; Serial
                 28800 ; Refresh
                 14400 ; Retry
                 3600000 ; Expire
                 86400 ) ; Minimum

                 IN NS www.ycsmumldap.com.

www         IN A 192.168.0.220
Use this, reload bind and test from linux and windows with:
Code:
nslookup -q=any ycsmumldap.com
 
Old 07-29-2011, 06:00 AM   #7
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Original Poster
Rep: Reputation: 0
I have done which you told....now also i am getting same error in windows which i have pasted below.In linux i am getting proper way.

Windows

C:\Documents and Settings\yal2361>nslookup -q=any ycsmumldap.com
Server: www.ycsmumldap.com
Address: 192.168.0.220

DNS request timed out.
timeout was 2 seconds.
ycsmumldap.com
primary name server = www.ycsmumldap.com
responsible mail addr = root.www.ycsmumldap.com
serial = 1997022700
refresh = 28800 (8 hours)
retry = 14400 (4 hours)
expire = 3600000 (41 days 16 hours)
default TTL = 86400 (1 day)
ycsmumldap.com nameserver = www.ycsmumldap.com
www.ycsmumldap.com internet address = 192.168.0.220




Linux

[root@www ~]# nslookup -q=any ycsmumldap.com
Server: 192.168.0.220
Address: 192.168.0.220#53

ycsmumldap.com
origin = www.ycsmumldap.com
mail addr = root.www.ycsmumldap.com
serial = 1997022700
refresh = 28800
retry = 14400
expire = 3600000
minimum = 86400
ycsmumldap.com nameserver = www.ycsmumldap.com.
 
Old 07-29-2011, 06:24 AM   #8
kathirvel
Member
 
Registered: Jan 2011
Location: Bangalore
Distribution: RHEL,OEL
Posts: 60

Original Poster
Rep: Reputation: 0
check my post and tell me.

Last edited by kathirvel; 07-29-2011 at 06:27 AM.
 
Old 07-29-2011, 07:49 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You didn't increase the serial, so the changes are not taken into effect. Also I don't understand why you get a timeout, but then nslookup works. Check if there is a firewall on server that blocks port 53udp/tcp
Note that you can also add an A record for ycsmumldap.com if you want, like
Code:
$TTL 86400
@ IN SOA www.ycsmumldap.com. root.www.ycsmumldap.com. (
                 2011072901 ; Serial, Increase after any change
                 28800 ; Refresh
                 14400 ; Retry
                 3600000 ; Expire
                 86400 ) ; Minimum

                 IN NS www.ycsmumldap.com.

www         IN A 192.168.0.220
@              IN A 192.168.0.220

Last edited by bathory; 08-01-2011 at 08:17 AM.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure another dns server to combine use with primary current dns server. hocheetiong Linux - Newbie 1 05-29-2008 06:57 PM
LXer: Find out DNS Server Version With DNS Server Fingerprinting Tool LXer Syndicated Linux News 0 12-21-2007 05:30 PM
LXer: Find out DNS Server Version With DNS Server Fingeprinting Tool LXer Syndicated Linux News 0 12-21-2007 04:50 PM
DNS-Server Problem ? shazam Linux - Networking 12 03-14-2003 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration