LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2005, 01:45 PM   #1
nmarmol
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
dns server problem


Hi,
I configured a dns server to my intranet. My intranet is formed by more 100 PC's with windows xp client and windows nt.

I want to move from wins to dns with linux.

After connect an windows client to my dns server i executed the following command.

c:\> nslookup mi-red-local.com

Server: mi-red-local.com
Address: 94.5.30.1

Name: mi-red-local.com
Address: 94.5.30.1

This indicates is correct. My problem is the following. I try to ping from my server (DNS SERVER) to a windows xp client it did not find the client

$ ping gr01ia06
unknown host gr01ia06

try

$ nslookup gr01ia06
;; connection timed out; no servers could be reached.

what's wrong?

Can anyone give an idea?


Regards
Nelson
 
Old 09-08-2005, 02:11 PM   #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
You must put in your /etc/resolv.conf something like this:
Code:
domain mi-red-local.com (or search mi-red-local.com)
nameserver xx.xx.xx.xx
where xx.xx.xx.xx is your dns server IP address
 
Old 09-08-2005, 02:56 PM   #3
nmarmol
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Ok,
I already did that. But it did not work.

Any other suggestions?

I'm going to send you my configurations files.

----------------------
/etc/resolv.conf
domain mi-red-local.com
search mi-red-local.com
nameserver ns.mi-red-local.com
nameserver 94.5.30.1

----------------------
/etc/bind/mired.com.zone
$TTL 86400
@ IN SOA mi-red-local.com. root.mi-red-local.com.
(
2005090801 ;
28800 ;
7200 ;
604800 ;
86400 ;
)
;
@ IN NS ns
@ IN NS ns1

@ IN A 94.5.30.1
ns IN A 94.5.30.1
ns1 IN A 94.5.30.2
www IN CNAME @

----------------------
/etc/bind/1.30.5.94.zone
$TTL 86400
@ IN SOA mi-red-local.com. root.mi-red-local.com.
(
2005090802 ;
28800 ;
7200 ;
604800 ;
86400 ;
)
;
@ IN NS mi-red-local.com.
1 IN PTR mi-red-local.com.
2 IN PTR ns.mi-red-local.com.
3 IN PTR ns1.mi-red-local.com.


Is all ok?
Regards
Nelson
 
Old 09-08-2005, 03:09 PM   #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
Remove the following lines:
Code:
search mi-red-local.com <--since you have the "domain" entry
nameserver ns.mi-red-local.com
from /etc/resolv/conf, to see if it helps.
You can try
Code:
dig mi-red-local.com
and
Code:
dig mi-red-local.com @ns.mi-red-local.com
and see if it makes any difference.
Also note that you don't have an entry for the gr01ia06 host in your zone file.
 
Old 09-08-2005, 03:51 PM   #5
nmarmol
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I'm new using dns server.

Pleas, respond a questions?

That means that i've to declare in my zone all my 100+ windows clients?

Regards
Nelson.
 
Old 09-08-2005, 05:58 PM   #6
nmarmol
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Please

Give an idea?

Regards
Nelson
 
Old 09-09-2005, 01:48 AM   #7
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
Quote:
That means that i've to declare in my zone all my 100+ windows clients?
If you want to use a dns server I'm afraid you have to do this.
Another way to do this in a windows environment is by using samba
 
  


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
DNS server problem???? dsschanze Linux - Networking 4 04-13-2005 07:51 AM
DNS Server problem¡¡¡ mabs Linux - Networking 2 03-03-2004 07:29 AM
dns server problem talkinggoat Linux - Networking 6 11-18-2003 06:00 AM
DNS Server problem notorious_guy Linux - Networking 1 08-04-2003 09:45 AM
DNS-Server Problem ? shazam Linux - Networking 12 03-14-2003 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:55 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