LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2017, 01:31 PM   #1
Ankit yadav
LQ Newbie
 
Registered: Jun 2017
Posts: 22

Rep: Reputation: Disabled
Authoritative-Only DNS Server --- not able to do iterative query


Hi All,

I have masterdns 10.169.0.23 and slavedns .24 on centos 7.
One of client on suse. Issue here is when servers have "recursion yes" in configuration files it works all well. But I want server to just do iterative queries. It shows error.

Please find configurations and output attached.
1) When both server service running
2) and 3) when any of server named service was off.

Please can any one help me to make server Authoritative-Only DNS Server to just resolve zone files A records.
Attached Thumbnails
Click image for larger version

Name:	nslook.PNG
Views:	13
Size:	52.4 KB
ID:	25751  
Attached Files
File Type: txt masterdns.txt (1.1 KB, 23 views)
File Type: txt slavedns.txt (908 Bytes, 14 views)
 
Old 08-21-2017, 02:25 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,843

Rep: Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868
Hi,

This is how (the deprecated) nslookup works. And that's why it's advisable to use dig instead.
See the last paragraph here for an explanation.

If you still want to use nslookup, you can either allow recursion for your local network, or use the norec option:
Code:
nslookup -norec susebox2

Regards
 
  


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
Iterative Query DNS and Recursive Query DNS !!!!! jitendra.sharma Linux - Newbie 1 09-05-2013 02:38 AM
[SOLVED] Authoritative DNS servers not resolving query Toushi Linux - Networking 4 12-26-2012 10:18 PM
Why Can't I get an authoritative answer from a DNS server. windbadboy Linux - Newbie 3 04-23-2011 09:27 AM
Why Can't I get an authoritative answer from a DNS server. windbadboy General 1 04-23-2011 08:45 AM
What makes a DNS server authoritative. Strider22 Linux - Networking 1 11-17-2005 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:21 AM.

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