Problema Bind9

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns e altro.
Scrivi risposta
xRicky2001x
Prode Principiante
Messaggi: 4
Iscrizione: giovedì 20 aprile 2017, 16:00
Desktop: Fedora 25 - Gnome
Distribuzione: x86_64
Sesso: Maschile
Contatti:

Problema Bind9

Messaggio da xRicky2001x »

Salve, sono due giorni che mi cimento con Bind9, e vorrei capire perché se configuro i NS sul register non mi vengono accetatti. Riporto il file di configurazione di Bind9

[ named.conf.options ]

Codice: Seleziona tutto

options {
        directory "/var/cache/bind";
        recursion yes;
        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113

        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.

        // forwarders {
        //      0.0.0.0;
        // };

        //========================================================================
        // If BIND logs error messages about the root key being expired,
        // you will need to update your keys.  See https://www.isc.org/bind-keys
        //========================================================================
        dnssec-validation auto;

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        listen-on port 53 { 127.0.0.1; 79.137.79.11; };
};
[ named.conf.local ]

Codice: Seleziona tutto

//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "fresky.tk" {
   type master;
   file "/etc/bind/zones/db.fresky.tk";
   allow-transfer { 79.137.79.11; };
};

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

[b][DNS Zone][/b]

;
; BIND data file for local loopback interface
;
$TTL    604800
@       IN      SOA     ns1.fresky.tk. info.fresky.tk. (
                              5         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;

; Name Servers

    fresky.tk.      IN      NS      ns1.fresky.tk.
    fresky.tk.      IN      NS      info.fresky.tk.
    ; A Records (Only Name Server)
    ns1     IN      A       79.137.79.11
    info    IN      A       79.137.79.11
    ; A Records (General)
    @       IN      A       79.137.79.11
    www     IN      A       79.137.79.11
    mail    IN      A       79.137.79.11
    ; MX Records (General)
    @       IN      MX      10      mail
[DNS Reverse Zone]

Codice: Seleziona tutto

;
; BIND reverse data file for broadcast zone
;
$TTL    604800
@       IN      SOA     fresky.tk. info.fresky.tk. (
                              5         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;

; Name Servers
        IN      NS      ns1.fresky.tk.
        IN      NS      info.fresky.tk.
; PTR Records
1       IN      PTR     ns1.fresky.tk.
2       IN      PTR     info.fresky.tk.
3       IN      PTR     www.fresky.tk.
4       IN      PTR     mail.fresky.tk.
[ resolv.conf ]

Codice: Seleziona tutto

search fresky.tk
nameserver 127.0.0.1
[ hosts ]

Codice: Seleziona tutto

79.137.79.11 fresky.it fresky
127.0.0.1 localhost
79.137.79.11 ns1.fresky.tk ns1
79.137.79.11 ns2.fresky.tk ns2
Il problema non c'è sul server perchè me lo riconosce, ma quando vado sul computer client, non mi riconosce l'host.

Grazie per la vostra attenzione.
Scrivi risposta

Ritorna a “Ubuntu su server”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti