Sponsored Content
Operating Systems Linux Red Hat How to create domain controller in Linux for windows client? Post 302894540 by boby.kumar on Wednesday 26th of March 2014 05:04:28 AM
Old 03-26-2014
Static Ip is assigned to windows client here, no DHCP.
Above the things is working as well.

Can you please trace the below log captured from windows client...
Code:
C:\Users\hitpc>nslookup server
Server:  server.rncihspa.com
Address:  10.20.30.15

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to server.rncihspa.com timed-out


C:\Users\hitpc>nslookup 10.20.30.15
Server:  server.rncihspa.com
Address:  10.20.30.15

Name:    server.rncihspa.com
Address:  10.20.30.15


C:\Users\hitpc>ping 10.20.30.15

Pinging 10.20.30.15 with 32 bytes of data:
Reply from 10.20.30.15: bytes=32 time<1ms TTL=63
Reply from 10.20.30.15: bytes=32 time<1ms TTL=63

Ping statistics for 10.20.30.15:
    Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\hitpc>ping -a 10.20.30.15

Pinging server.rncihspa.com.154.127.10.in-addr.arpa [1
ytes of data:
Reply from 10.20.30.15: bytes=32 time=314ms TTL=63
Reply from 10.20.30.15: bytes=32 time<1ms TTL=63
Reply from 10.20.30.15: bytes=32 time<1ms TTL=63

Ping statistics for 10.20.30.15:
    Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 314ms, Average = 104ms


C:\Users\hitpc>ping server
Ping request could not find host server. Please check the name and try again.


C:\Users\hitpc>nslookup -debug server
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  response, auth. answer, want recursion, recursion a
        questions = 1,  answers = 1,  authority records = 1,  additional =

    QUESTIONS:
        15.30.20.10.in-addr.arpa, type = PTR, class = IN
    ANSWERS:
    ->  15.30.20.10.in-addr.arpa
        name = server.rncihspa.com
        ttl = 86400 (1 day)
    AUTHORITY RECORDS:
    ->  30.20.10.in-addr.arpa
        nameserver = server.rncihspa.com
        ttl = 86400 (1 day)
    ADDITIONAL RECORDS:
    ->  server.rncihspa.com
        internet address = 10.20.30.15
        ttl = 86400 (1 day)

------------
Server:  server.rncihspa.com
Address:  10.20.30.15

DNS request timed out.
    timeout was 2 seconds.
timeout (2 secs)
DNS request timed out.
    timeout was 2 seconds.
timeout (2 secs)
*** Request to server.rncihspa.com timed-out

I think it has the enough to get what we are looking..

Thanks

Last edited by vbe; 03-26-2014 at 10:51 AM.. Reason: code tags
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Linux as a Domain Controller

First question, can Linux be configured to be the domain controller on a network with Microsoft computers? If so, where can I find information about configuring Linux for this purpose? (4 Replies)
Discussion started by: cstovall
4 Replies

2. AIX

Sync AIX system time with Windows Domain Controller

Yeah so, I have setup a domain controller (windows 2003) active directory machine and it is managing couple of windows servers and workstation. I also have couple of AIX machines that need to have the same time as other windows server and workstation hanging off of that domain controller. Now... (1 Reply)
Discussion started by: murderfly
1 Replies

3. Windows & DOS: Issues & Discussions

How to: Linux BOX in Windows Domain (w/out joining the domain)

Dear Expert, i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant. ... (2 Replies)
Discussion started by: regmaster
2 Replies

4. Linux

Adding linux system into windows domain

Hi i need to add linux system into windows network .Tell me the procedure if anybody know. Thanks & Regards, Veerababu. (1 Reply)
Discussion started by: veerababu
1 Replies

5. UNIX for Dummies Questions & Answers

Samba change domain controller

Hello people i have a samba and they changed domain controller from a windows 2003 to a windows 2008, there is a problem with the version of samba maybe incompatibilities i dont know what show me this domain_client_validate: unable to validate password for user xxxx in domain xxxx to Domain... (0 Replies)
Discussion started by: enkei17
0 Replies

6. UNIX for Dummies Questions & Answers

Add Linux host to Windows domain

Hi, I want to know the commands for adding a linux host to windows active directory domain. Request you to please help. Thanks & Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

7. Debian

Testing a SAMBA Domain Controller

Hello,,, We have an existing(working) MS PDC in our office. I have already installed SAMBA with LDAP Authentication on a TEST machine (on same LAN). But, am unable to join a WinXP machine to this domain. in smb.conf i have: WORKGROUP = mydomain and tried to join the XP machine to... (0 Replies)
Discussion started by: coolatt
0 Replies

8. UNIX for Dummies Questions & Answers

Joining the Linux server to a Windows AD domain

Hi , I have a domain contoso.com, which is created by Windows AD, i have a linux server which i want to join to this domain. Linux server-: RHEL 5.3 ******Info of the windows domain************* AD server- Windows 2008 r2 server. Please help me to join this linux server to the windows... (2 Replies)
Discussion started by: shroh
2 Replies

9. Solaris

Solaris 11 server as Primary Domain Controller

Hi, All of our servers run Solaris (currently 10, but looking to upgrade to 11). In each of our offices we have a server configured as a Primary Domain Controller via Samba to provide naming services to our Windoze users. I would like to continue with that arrangement, but I would also like... (2 Replies)
Discussion started by: wgkorb
2 Replies
Net::Nslookup(3pm)					User Contributed Perl Documentation					Net::Nslookup(3pm)

NAME
Net::Nslookup - Provide nslookup(1)-like capabilities SYNOPSIS
use Net::Nslookup; my @addrs = nslookup $host; my @mx = nslookup(type => "MX", domain => "perl.org"); DESCRIPTION
"Net::Nslookup" provides the capabilities of the standard UNIX command line tool nslookup(1). "Net::DNS" is a wonderful and full featured module, but quite often, all you need is `nslookup $host`. This module provides that functionality. "Net::Nslookup" exports a single function, called "nslookup". "nslookup" can be used to retrieve A, PTR, CNAME, MX, NS, SOA, and TXT records. my $a = nslookup(host => "use.perl.org", type => "A"); my @mx = nslookup(domain => "perl.org", type => "MX"); my @ns = nslookup(domain => "perl.org", type => "NS"); my $name = nslookup(host => "206.33.105.41", type => "PTR"); "nslookup" takes a hash of options, one of which should be term, and performs a DNS lookup on that term. The type of lookup is determined by the type argument. If server is specified (it should be an IP address, or a reference to an array of IP addresses), that server(s) will be used for lookups. If only a single argument is passed in, the type defaults to A, that is, a normal A record lookup. If "nslookup" is called in a list context, and there is more than one address, an array is returned. If "nslookup" is called in a scalar context, and there is more than one address, "nslookup" returns the first address. If there is only one address returned, then, naturally, it will be the only one returned, regardless of the calling context. domain and host are synonyms for term, and can be used to make client code more readable. For example, use domain when getting NS records, and use host for A records; both do the same thing. server should be a single IP address or a reference to an array of IP addresses: my @a = nslookup(host => 'example.com', server => '4.2.2.1'); my @a = nslookup(host => 'example.com', server => [ '4.2.2.1', '128.103.1.1' ]) By default, when doing CNAME, MX, and NS lookups, "nslookup" returns names, not addresses. This is a change from versions prior to 2.0, which always tried to resolve names to addresses. Pass the recurse => 1 flag to "nslookup" to have it follow CNAME, MX, and NS lookups. Note that this usage of "recurse" is not consistent with the official DNS meaning of recurse. # returns soemthing like ("mail.example.com") my @mx = nslookup(domain => 'example.com', type => 'MX'); # returns soemthing like ("127.0.0.1") my @mx = nslookup(domain => 'example.com', type => 'MX', recurse => 1); SOA lookups return the SOA record in the same format as the `host` tool: print nslookup(domain => 'example.com', type => 'SOA'); dns1.icann.org. hostmaster.icann.org. 2011061433 7200 3600 1209600 3600 TIMEOUTS
Lookups timeout after 15 seconds by default, but this can be configured by passing timeout => X to "nslookup". DEBUGGING
Pass debug => 1 to "nslookup" to emit debugging messages to STDERR. AUTHOR
darren chamberlain <darren@cpan.org> perl v5.12.4 2011-08-15 Net::Nslookup(3pm)
All times are GMT -4. The time now is 01:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy