LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2015, 09:18 AM   #1
msoma
LQ Newbie
 
Registered: Dec 2014
Posts: 8

Rep: Reputation: Disabled
Question when testing DNS on making samba as AD


I got error during testing DNS, and at the same time whenever i restart my pc the creteria i insert on /etc/resolv.conf changed.

the error is:

host -t SRV _ldap._tcp.test.com
;; connection timed out; trying next origin
_ldap._tcp.test.com.test.com has no SRV record

please help me on this.
 
Old 01-01-2015, 04:38 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
host -t (query DNS records of type) SRV (for) ldap_tcp.test.com ( the ldap server of record at test.com, according to DNS)
connection timed out (couldn't find it)
_ldap_tcp.test.com has no SRV record (there is no recorded/reachable ldap server for tcp.test.com according to the DNS SRV records).
 
1 members found this post helpful.
Old 01-01-2015, 09:41 PM   #3
msoma
LQ Newbie
 
Registered: Dec 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
i reallly want to know what should do make this server reacheable, i do get it the meaning thanks alot dijetlo, but please guide me through to make things work.

please again, help me guys on this.

thanks.
 
Old 01-02-2015, 03:17 AM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
OK M, let's start with a known good response to your query.
When I run the command from any two of a variety of instances, I get the same output
"_ldap_tcp.test.com has no SRV record"
When you run it, you get
;; connection timed out; trying next origin
_ldap._tcp.test.com.test.com has no SRV record

The problem is you typed "test.com" twice. Try it again, typing it only once this time.
Is that the problem you wanted solved because the other problem (test.com does not expose it's LDAP SRV records to the internet~assuming they have LDAP SRV records) isn't so much a problem as a standard security practice. You'd have to access the domain over an exposed API or ipsec tunnel in order to access the internal DNS records, why would an external computer need access to Domain LDAP? It's not supposed to access anything over anything other than HTTP until it's joined AD (at which point it gets the internal DNS pointer to the server holding the LDAP record). So normally, the only records you expose are the ones the public will need to access your web interfaces and of course mail (MX).

Last edited by dijetlo; 01-02-2015 at 03:24 AM. Reason: Clarity
 
1 members found this post helpful.
Old 01-02-2015, 10:20 AM   #5
msoma
LQ Newbie
 
Registered: Dec 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
I really need more clarification brother.

i try type once though before i was typing just as i written once, but i attach a screenshot which shows clear what i face on this and which article i follow to configure this, but i skip step 5 and 6 because i had before the tarball file which is samba-4.1.14 when extracted.
i hope i have narrow down the the source of problem. Also you can see the error of time out connection went off, just after i connect internet, the thing now shows that there are no record at SRV as you get when you tried.

please review the attachment and especially the article which i follow by.

hope you answer me soon. am waiting i really need help.

thank you.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	98
Size:	164.4 KB
ID:	17265  

Last edited by msoma; 01-03-2015 at 01:30 AM. Reason: clarity
 
Old 01-03-2015, 06:48 AM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
There is no help.
If you don't have access to a domain running ldap and kerberose services, you can't access the DNS records of those servers. They are not available to you.
 
1 members found this post helpful.
Old 01-03-2015, 08:35 AM   #7
msoma
LQ Newbie
 
Registered: Dec 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
[SOLVED]
Finaaly it works on testing the DNS,I recognize that whenever i test first error, was using the host name which doesnt exist on a system, secondly was connecting via UTP cable with the client while testing the DNS, but finally try to unplug and use the user already known in a system and the record of SRV appears.

thanks alot about this.

Last edited by msoma; 01-03-2015 at 08:39 AM. Reason: clarification
 
  


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
[SOLVED] Suggestions testing Samba 4 on same subnet as Standalone Samba 3 Server Sum1 Linux - Networking 4 08-02-2013 05:48 AM
[SOLVED] DNS require for making SAMBA as PDC mail4vijay Linux - General 5 12-22-2009 04:07 AM
external DNS name propagation testing noir911 Linux - Server 1 10-01-2008 01:11 AM
DNS record addition testing ACDII Linux - Server 4 01-15-2008 07:46 AM
Testing dns and mail gubak Linux - Networking 15 12-16-2004 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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