Skip to main content
Translated from French to English
Source Link
Reddy Lutonadio
  • 19.1k
  • 4
  • 20
  • 40

Bonjour cher tous. J'ai vraiment besoin de votre aideI really need some assistance. J'ai mis en place un serveur Dns sousI have set up a DNS server with Centos 6.10 et quand je vais faire le. When I test en avec l'adresse de mon serveur j'ai une erreurmy server's address, I get an error.

voici mes configHere are my configurations.

#named.conf

cat /etc/named.conf
//
// named.conf


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

#named.rfc1912.zones

 cat /etc/named.rfc1912.zones
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

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

zone "localhost" IN {
        type master;
        file "named.localhost";
        allow-update { none; };
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
        file "named.loopback";
        allow-update { none; };
};

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


zone "0.in-addr.arpa" IN {
        type master;
        file "named.empty";
        allow-update { none; };
};

#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.

#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#53conf

    cat /etc/named.conf
    //
    // named.conf
    
    
    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";
    
    #named.rfc1912.zones
    
     cat /etc/named.rfc1912.zones
    // named.rfc1912.zones:
    //
    // Provided by Red Hat caching-nameserver package
    //
    // ISC BIND named zone configuration for zones recommended by
    // RFC 1912 section 4.1 : localhost TLDs and address zones
    // and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
    // (c)2007 R W Franks
    //
    // See /usr/share/doc/bind*/sample/ for example named configuration files.
    //
    
    zone "global.cs" IN {
            type master;
            file "global.cs";
            allow-update { 10.224.78.0/24; };
    };
    
    zone "localhost" IN {
            type master;
            file "named.localhost";
            allow-update { none; };
    };
    
    zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
            type master;
            file "named.loopback";
            allow-update { none; };
    };
    
    zone "78.224.10.in-addr.arpa" IN {
            type master;
            file "db.78.224.10";
            allow-update { none; };
    };
    
    
    zone "0.in-addr.arpa" IN {
            type master;
            file "named.empty";
            allow-update { none; };
    };
    
    #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.
    
    #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

Bonjour cher tous. J'ai vraiment besoin de votre aide. J'ai mis en place un serveur Dns sous Centos 6.10 et quand je vais faire le test en avec l'adresse de mon serveur j'ai une erreur.

voici mes config

#named.conf

cat /etc/named.conf
//
// named.conf


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

#named.rfc1912.zones

 cat /etc/named.rfc1912.zones
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

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

zone "localhost" IN {
        type master;
        file "named.localhost";
        allow-update { none; };
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
        file "named.loopback";
        allow-update { none; };
};

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


zone "0.in-addr.arpa" IN {
        type master;
        file "named.empty";
        allow-update { none; };
};

#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.

#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

I really need some assistance. I have set up a DNS server with Centos 6.10. When I test my server's address, I get an error.

Here are my configurations.

    #named.conf

    cat /etc/named.conf
    //
    // named.conf
    
    
    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";
    
    #named.rfc1912.zones
    
     cat /etc/named.rfc1912.zones
    // named.rfc1912.zones:
    //
    // Provided by Red Hat caching-nameserver package
    //
    // ISC BIND named zone configuration for zones recommended by
    // RFC 1912 section 4.1 : localhost TLDs and address zones
    // and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
    // (c)2007 R W Franks
    //
    // See /usr/share/doc/bind*/sample/ for example named configuration files.
    //
    
    zone "global.cs" IN {
            type master;
            file "global.cs";
            allow-update { 10.224.78.0/24; };
    };
    
    zone "localhost" IN {
            type master;
            file "named.localhost";
            allow-update { none; };
    };
    
    zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
            type master;
            file "named.loopback";
            allow-update { none; };
    };
    
    zone "78.224.10.in-addr.arpa" IN {
            type master;
            file "db.78.224.10";
            allow-update { none; };
    };
    
    
    zone "0.in-addr.arpa" IN {
            type master;
            file "named.empty";
            allow-update { none; };
    };
    
    #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.
    
    #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
code reformat
Source Link
Romeo Ninov
  • 6.5k
  • 5
  • 21
  • 20

#named.conf

cat /etc/named.conf // // named.conf

options { listen-on port 53 { 127.0.0.1; 10.224.78.22; };

listen-on-v6 port 53 { ::1; };

#named.conf

cat /etc/named.conf
//
// named.conf


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

#named.rfc1912.zones

 cat /etc/named.rfc1912.zones
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

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

zone "localhost" IN {
        type master;
        file "named.localhost";
        allow-update { none; };
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
        file "named.loopback";
        allow-update { none; };
};

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


zone "0.in-addr.arpa" IN {
        type master;
        file "named.empty";
        allow-update { none; };
};

#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.

#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

};

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

#named.rfc1912.zones

cat /etc/named.rfc1912.zones // named.rfc1912.zones: // // Provided by Red Hat caching-nameserver package // // ISC BIND named zone configuration for zones recommended by // RFC 1912 section 4.1 : localhost TLDs and address zones // and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt // (c)2007 R W Franks // // See /usr/share/doc/bind*/sample/ for example named configuration files. //

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

zone "localhost" IN { type master; file "named.localhost"; allow-update { none; }; };

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { type master; file "named.loopback"; allow-update { none; }; };

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

zone "0.in-addr.arpa" IN { type master; file "named.empty"; allow-update { none; }; };

#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.

#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

#named.conf

cat /etc/named.conf // // named.conf

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

#named.rfc1912.zones

cat /etc/named.rfc1912.zones // named.rfc1912.zones: // // Provided by Red Hat caching-nameserver package // // ISC BIND named zone configuration for zones recommended by // RFC 1912 section 4.1 : localhost TLDs and address zones // and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt // (c)2007 R W Franks // // See /usr/share/doc/bind*/sample/ for example named configuration files. //

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

zone "localhost" IN { type master; file "named.localhost"; allow-update { none; }; };

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { type master; file "named.loopback"; allow-update { none; }; };

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

zone "0.in-addr.arpa" IN { type master; file "named.empty"; allow-update { none; }; };

#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.

#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

#named.conf

cat /etc/named.conf
//
// named.conf


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

#named.rfc1912.zones

 cat /etc/named.rfc1912.zones
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

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

zone "localhost" IN {
        type master;
        file "named.localhost";
        allow-update { none; };
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
        file "named.loopback";
        allow-update { none; };
};

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


zone "0.in-addr.arpa" IN {
        type master;
        file "named.empty";
        allow-update { none; };
};

#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.

#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
Source Link

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

Bonjour cher tous. J'ai vraiment besoin de votre aide. J'ai mis en place un serveur Dns sous Centos 6.10 et quand je vais faire le test en avec l'adresse de mon serveur j'ai une erreur.

voici mes config

#named.conf

cat /etc/named.conf // // named.conf

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

#named.rfc1912.zones

cat /etc/named.rfc1912.zones // named.rfc1912.zones: // // Provided by Red Hat caching-nameserver package // // ISC BIND named zone configuration for zones recommended by // RFC 1912 section 4.1 : localhost TLDs and address zones // and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt // (c)2007 R W Franks // // See /usr/share/doc/bind*/sample/ for example named configuration files. //

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

zone "localhost" IN { type master; file "named.localhost"; allow-update { none; }; };

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { type master; file "named.loopback"; allow-update { none; }; };

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

zone "0.in-addr.arpa" IN { type master; file "named.empty"; allow-update { none; }; };

#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.

#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