LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2018, 05:59 AM   #1
kranthi_851
LQ Newbie
 
Registered: Jul 2018
Posts: 3

Rep: Reputation: Disabled
DNS Problem kindly please resolve this issue.


My DNS flow:
[root@sonar ~]# nslookup 192.168.1.68
Server: 192.168.1.5
Address: 192.168.1.5#53

** server can't find 68.1.168.192.in-addr.arpa.: NXDOMAIN

[root@sonar ~]# nslookup sonar.girmiti.com
Server: 192.168.1.5
Address: 192.168.1.5#53
My /etc/named.conf
** server can't find sonar.girmiti.com: NXDOMAIN
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
listen-on port 53 { 127.0.0.1; 192.168.1.68;};
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost;192.168.1.0/19; };
recursion yes;

dnssec-enable yes;
dnssec-validation yes;

/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";

managed-keys-directory "/var/named/dynamic";
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

zone "." IN {
type hint;
file "named.ca";
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
My rfc1912 file:
zone "girmiti.com" IN {
type master;
file "sonar.flz";
allow-update { none; };
};


zone "1.168.192.in-addr.arpa" IN {
type master;
file "sonar.rlz";
allow-update { none; };
};

My /etc/hosts & /etc/network:
default 192.168.1.2
loopback 127.0.0.0
link-local 169.254.0.0

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.68 sonar.girmiti.com sonar

My rlz:
$TTL 86400
@ IN SOA sonar.girmiti.com. root.sonar.girmiti.com. (
2014051001 ; serial
3600 ; refresh
1800 ; retry
604800 ; expire
86400 ; minimum

)

@ IN NS sonar.girmiti.com.
@ IN PTR girmiti.com.
sonar A 192.168.1.68

My Flz:

$TTL 86400
@ IN SOA sonar.girmiti.com. root.sonar.girmiti.com. (
2014051001 ; serial
3600 ; refresh
1800 ; retry
604800 ; expire
86400 ; minimum

)

@ IN NS sonar.girmiti.com.
@ IN A 192.168.1.68
sonar A 192.168.1.68

dig -x 192.168.1.68

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6 <<>> -x 192.168.1.68
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18905
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;68.1.168.192.in-addr.arpa. IN PTR

;; AUTHORITY SECTION:
168.192.in-addr.arpa. 10800 IN SOA localhost. nobody.invalid. 1 3600 1200 604800 10800

;; Query time: 2 msec
;; SERVER: 192.168.1.5#53(192.168.1.5)
;; WHEN: Wed Jul 18 15:27:08 2018
;; MSG SIZE rcvd: 102

dig sonar.girmiti.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6 <<>> sonar.girmiti.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45441
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;sonar.girmiti.com. IN A

;; AUTHORITY SECTION:
girmiti.com. 355 IN SOA ns1.bizmailserver.net. abuse.bizmailserver.net.girmiti.com. 2018052201 10800 3600 604800 600

;; Query time: 1 msec
;; SERVER: 192.168.1.5#53(192.168.1.5)
;; WHEN: Wed Jul 18 15:27:50 2018
;; MSG SIZE rcvd: 116

Kindly I request all to solve this issue, I am unable to solve this issue.
 
Old 07-18-2018, 01:15 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,717

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Unless 192.168.1.5 has a dns server on it, you need to check your resolv.conf to see where dns queries go to. Your problem can be translated to: Internal network cannot resolve (External)internet names.

Where's your dns server?
 
Old 07-18-2018, 03:38 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,662

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
You can't just invent a subdomain and add it to some other name server

The authorative name servers for girmiti.com are NS1.BIZMAILSERVER.NET and NS2.BIZMAILSERVER.NET
That's where you'll need to add the subdomain of sonar.
 
Old 07-19-2018, 01:04 AM   #4
kranthi_851
LQ Newbie
 
Registered: Jul 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the reply,could you please suggest me for how to add the subdomains in the DNS please?
 
Old 07-19-2018, 10:40 AM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,662

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Contact the administrators of bizmailserver.net?
 
Old 07-19-2018, 10:53 AM   #6
kranthi_851
LQ Newbie
 
Registered: Jul 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by scasey View Post
You can't just invent a subdomain and add it to some other name server

The authorative name servers for girmiti.com are NS1.BIZMAILSERVER.NET and NS2.BIZMAILSERVER.NET
That's where you'll need to add the subdomain of sonar.
Quote:
Originally Posted by scasey View Post
Contact the administrators of bizmailserver.net?
yes it's our server only. We have already contacted.
 
Old 07-19-2018, 02:12 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,662

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
So your question is solved?
 
  


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] iptables DNS resolve issue johnmaxwell Linux - Newbie 5 02-10-2014 10:13 AM
Odd DNS Issue, can not resolve one domain name vonedaddy Linux - Server 4 04-15-2013 11:00 PM
Cannot resolve host ISSUE Please DNS Expers help craigmyster Linux - Networking 2 10-16-2012 11:46 PM
Kindly resolve this issue javedakb Linux - Server 1 07-09-2009 11:03 AM
Problem setting up DNS - Kindly help avinash.rao Ubuntu 6 08-17-2008 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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