LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-18-2023, 06:50 AM   #1
Yo man
LQ Newbie
 
Registered: Dec 2023
Location: Côte d'ivoire
Distribution: CentOs 6.10
Posts: 2

Rep: Reputation: 0
*** Can't find 22.78.224.10.in-addr.arpa.: No answer


Bonjour chers tous
j'ai mis un server dns en place sous Centos 6.10. lors de mes tests je tombe sur une erreur au niveau de la zone inverse: *** Can't find 22.78.224.10.in-addr.arpa.: No answer

j'ai vraiment besion de votre aide.

merci.

voici mes config:

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; 10.224.78.22; };
# 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; 10.224.78.0/24; };
recursion yes;
empty-zones-enable yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

/* 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";


cat /etc/named.rfc1912.zones
// named.rfc1912.zones:

zone "global.cs" IN {
type master;
file "global.cs";
allow-update { 10.224.78.0/24; };
};

zone "78.224.10.in-addr.arpa" IN {
type master;
file "db.78.224.10";
allow-update { none; };
};



voici ma zone directe

cat /var/named/global.cs
$TTL 3H
@ IN SOA serverdns.global.cs. root.serverdns.global.cs. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS serverdns.global.cs.
@ IN A 10.224.78.22
serverdns IN A 10.224.78.22
www IN CNAME serverdns.global.cs.

et ma zone inverse

cat /var/named/db.78.224.10
$TTL 3H
@ IN SOA serverdns.global.cs. root.serverdns.global.cs. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS serverdns.global.cs.
@ IN PTR global.cs.
global.cs IN PTR 10.224.78.22
6 IN PTR serverdns.global.cs.





nslookup serverdns
Server: 10.224.78.22
Address: 10.224.78.22#53

Name: serverdns.global.cs
Address: 10.224.78.22

# nslookup 10.224.78.22
Server: 10.224.78.22
Address: 10.224.78.22#53

*** Can't find 22.78.224.10.in-addr.arpa.: No answer

merci
 
Old 12-19-2023, 04:23 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
English please!

Your reverse zone is wrong
cat /var/named/db.78.224.10
Quote:
$TTL 3H
@ IN SOA serverdns.global.cs. root.serverdns.global.cs. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS serverdns.global.cs.
@ IN PTR global.cs.
global.cs IN PTR 10.224.78.22
6 IN PTR serverdns.global.cs.
The line in red is wrong and the line in bold above must read:
Code:
22 PTR serverdns.global.cs.
 
1 members found this post helpful.
Old 12-19-2023, 10:31 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Yo man View Post
Bonjour chers tous
j'ai mis un server dns en place sous Centos 6.10. lors de mes tests je tombe sur une erreur au niveau de la zone inverse: *** Can't find 22.78.224.10.in-addr.arpa.: No answer
j'ai vraiment besion de votre aide. merci. voici mes config:
Code:
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; 10.224.78.22; };
#       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; 10.224.78.0/24; };
        recursion yes;
        empty-zones-enable yes;
        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* 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";


cat /etc/named.rfc1912.zones
// named.rfc1912.zones:

zone "global.cs" IN {
        type master;
        file "global.cs";
        allow-update { 10.224.78.0/24; };
};

zone "78.224.10.in-addr.arpa" IN {
        type master;
        file "db.78.224.10";
        allow-update { none; };
};



voici ma zone directe

cat /var/named/global.cs
$TTL 3H
@       IN SOA  serverdns.global.cs. root.serverdns.global.cs. (
                                        0       ; serial
                                        1D      ; refresh
                                        1H      ; retry
                                        1W      ; expire
                                        3H )    ; minimum
@               IN      NS      serverdns.global.cs.
@               IN      A       10.224.78.22
serverdns       IN      A       10.224.78.22
www             IN      CNAME   serverdns.global.cs.

et ma zone inverse

 cat /var/named/db.78.224.10
$TTL 3H
@       IN SOA  serverdns.global.cs. root.serverdns.global.cs. (
                                        0       ; serial
                                        1D      ; refresh
                                        1H      ; retry
                                        1W      ; expire
                                        3H )    ; minimum
@               IN      NS      serverdns.global.cs.
@               IN      PTR     global.cs.
global.cs       IN      PTR     10.224.78.22
6               IN      PTR     serverdns.global.cs.





 nslookup serverdns
Server:         10.224.78.22
Address:        10.224.78.22#53

Name:   serverdns.global.cs
Address: 10.224.78.22

# nslookup 10.224.78.22
Server:         10.224.78.22
Address:        10.224.78.22#53

*** Can't find 22.78.224.10.in-addr.arpa.: No answer
merci
Read the LQ rules; this is an English only forum.
 
  


Reply



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
error: ** server can't find 79.20.168.192.in-addr.arpa: REFUSED mamtasahai1 Linux - General 18 04-29-2017 01:23 PM
[SOLVED] When I'm running nslookup10.10.10.3 to resolve the search reverse.The answer I generates as www.10.10.10.in-addr.arpa.and not as www.itssnp. To learn Linux - Newbie 3 09-01-2016 07:59 AM
[SOLVED] NSLOOKUP fail..server can't find in-addr.arpa: SERVFAIL chrislex Linux - Server 12 07-11-2012 03:29 PM
[SOLVED] error "server can't find 254.0.168.192.in-addr.arpa: SERVFAIL" in dns server piyusharora420 Linux - Server 15 01-10-2011 01:06 AM

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

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