LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DNALinux
User Name
Password
DNALinux This forum is for the discussion of DNALinux.

Notices


Reply
  Search this Thread
Old 11-05-2008, 07:01 AM   #1
yash singh
LQ Newbie
 
Registered: Oct 2008
Posts: 9
Blog Entries: 1

Rep: Reputation: 0
dns error


The following error is showing when i am trying to connect my window-xp client with linux primary domain nameserver in RHEL-5.
the following domain controller were identified by the query
phoenix.example.com
common cause of error includes
DNS was sucessfully quired for the service
-host (A)records that map this name of the domaincontroller to its ip address are missing or contain incorrect address.
-domain controllers registered in dns are not connected to the network or are not running for information about correcting this problem

Its also changing the /etc/resolv.conf file from
nameserver 157.13.0.1 to
nameserver 127.0.0.1 the moment connection is established withwindows client

I am sending my full named.conf and other configuration files which is running but unable to bring window client under domain

This is my named.conf file

// Boot file for example.com name server
acl "private"{
157.13.0.0/24;
};
options {
directory "/var/named";
query-source port 53;
listen-on { 157.13.0.1; };

};
key rndckey {
algorithm hmac-md5 ;
secret "2sSfr6TOVVR+xdx5d87sMw==";
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc; };
};


view "private"
{
include "/etc/named.root.hints";



zone "example.com" IN {
type master;
file "example.com.db";
allow-update { none; };
};

zone "0.13.157.in-addr.arpa" IN {
type master;
file "0.13.157.in-addr.arpa.db";
allow-update { none; };
};

};

File-0.13.157.in-addr.arpa.db";

$TTL 86400
@ IN SOA phoenix.example.com. root.example.com. (
2001062501 ; serial
21600 ; refresh after 6 hours
3600 ; retry after 1 hour
604800 ; expire after 1 week
86400 ) ; minimum TTL of 1 day

IN NS phoenix.example.com.


1 IN PTR phoenix.example.com.

2 IN PTR dito1.example.com.
3 IN PTR dito2.example.com.

;EO

File- example.com.db
$TTL 86400
@ IN SOA phoenix.example.com. hostmaster.example.com. (
2001062501 ; serial
21600 ; refresh after 6 hours
3600 ; retry after 1 hour
604800 ; expire after 1 week
86400 ) ; minimum TTL of 1 day


IN NS phoenix.example.com.


IN MX 10 mail.example.com.


phoenix IN A 157.13.0.1


dito1 IN A 157.13.0.2
dito2 IN A 157.13.0.3



mail IN CNAME phoenix

_ldap._tcp.example.com. SRV 0 0 389 phoenix.example.com.
_kerberos._tcp.example.com. SRV 0 0 88 phoenix.example.com.
_ldap._tcp.dc._msdcs.example.com. SRV 0 0 389 phoenix.example.com.
_kerberos._tcp.dc._msdcs.example.com. SRV 0 0 88 phoenix.example.com.

This is my /etc/resolv.conf file

search 157.13.0.1
nameserver phoenix.example.com

This is my /etc/hosts file

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
157.13.0.1 phoenix.example.com phoenix
157.13.0.2 dito1.example.com dito1
157.13.0.3 dito2.example.com dito2

PLZ help me and is any other configuration is required for making window client under linux domain. i am not running ldap services
 
Old 11-05-2008, 09:19 AM   #2
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
Can you resolve the hostname of the dns server from the windows client?
Can you ping from the windows client to the dns server?
Does this traffic reach the dns server (try tcpdump on the dns server).

Last edited by muha; 11-05-2008 at 09:21 AM.
 
Old 11-06-2008, 07:08 AM   #3
yash singh
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Original Poster
Blog Entries: 1

Rep: Reputation: 0
Quote:
Originally Posted by muha View Post
Can you resolve the hostname of the dns server from the windows client?
Can you ping from the windows client to the dns server?
Does this traffic reach the dns server (try tcpdump on the dns server).
yes i can ping the windows client to the dns server.

yes it resolve the hostname of the dns server from the windows client.

when i am checking by nslookup command from window client it showing the server name and ip address properly and also showing phoenix.example.com as a default server but not coming under linux domain
help me plz.
 
Old 11-06-2008, 08:17 AM   #4
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 38
> but not coming under linux domain
What are you doing to test that?
Which guide are you following to set this up in linux? Please note that bind dns is not the same as active directory as in sofar as it does not allow clients to login. Bind dns is only hostname <-> ip translation.
You could use samba + openldap to install domain controller services on the linux server: http://www.howtoforge.com/openldap-s...ler-ubuntu7.10
The windows client can than authenticate and login to a domain on the linux server.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Anyone seen this DNS error before? Benso37 Linux - Newbie 5 10-08-2009 09:20 PM
DNS Error jackduh Linux - Networking 1 06-18-2008 06:02 PM
dns error rohit_67066 Linux - Networking 2 03-02-2008 08:25 AM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 10:59 PM
TEMP_FAILURE: DNS Error: Timeout while contacting DNS servers when receiving emails tonysutherland Linux - Networking 2 02-10-2006 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DNALinux

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