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 12-29-2018, 07:21 AM   #1
dhanashri.d@gmail.com
LQ Newbie
 
Registered: Dec 2018
Posts: 1

Rep: Reputation: Disabled
Unhappy nslookup error-** server can't find servername.dbd.local: NXDOMAIN


Dear Team,

I am quite new to linux env. I have configured ADFS,DNS on AWS EC2- windows and I am trying to federate AD users using SAML in AWS via CLI.

I am getting below error -
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='servername.dbd.local', port=80): Max retries exceeded with url: /idp/profile/SAML2/Unsolicited/SSO?providerId=urn:amazon:webservices (Caused by <class 'socket.gaierror'>: [Errno -2] Name or service not known)

As suggested on few forums, I tried to access above domain by using nslookup but it is also giving me an error -

nslookup servername.dbd.local
Server: 172.31.0.2
Address: 172.31.0.2#53

** server can't find servername.dbd.local: NXDOMAIN

Below are my files-
cat named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
-------------
cat named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";


root@ip-172-31-6-12:/etc/bind# ^C
root@ip-172-31-6-12:/etc/bind# cat named.conf.default-zones
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

-----------------
cat resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 172.31.0.2
search eu-central-1.compute.internal

Please suggest me on above issue ...
 
Old 12-29-2018, 10:06 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,125

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
The address for servername.dbd.local should be provided by the nameserver for the dbd.local domain. You can show the primary nameserver by doing:

Code:
nslookup -querytype=soa dbd.local
 
  


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] DNS doesn't resolve reverse lookup Giving Error "server can not find x.xx.xx.in-addr.arpa.:NXDOMAIN" amulya_lky Linux - Server 1 10-31-2017 04:14 PM
[SOLVED] RHEL 7 reverse lookup error ** server can't find x.x.x.x.in-addr.arpa.: NXDOMAIN scofieldd Red Hat 6 12-18-2016 03:16 PM
[SOLVED] nslookup 192.168.143.10 ( server can't find 10.143.168.192.in-addr.arpa.: NXDOMAIN) mferozbaig Linux - Server 2 05-11-2014 06:08 AM
Bind problem. ** server can't find example.com: NXDOMAIN DarkSlayer Linux - Server 2 06-26-2011 10:41 AM
Can't install DBD::mysql or DBD::Pg DogTags Mandriva 2 01-21-2004 07:13 AM

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

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