Visualizzazione dei risultati da 1 a 2 su 2

Discussione: usare bind 9

  1. #1

    usare bind 9

    ciao a tutti io ho seguito questa guida

    il mio file /etc/named.conf è così

    codice:
    // generated by named-bootconf.pl
    
    options {
    	directory "/var/named";
    	
    
    /*
    	 * If there is a firewall between you and nameservers you want
    	 * to talk to, you might need to uncomment the query-source
    	 * directive below.  Previous versions of BIND always asked
    	 * questions using port 53, but BIND 8.1 uses an unprivileged
    	 * port by default.
    	 */
    	// query-source address * port 53;
    	forwarders {
    		91.121.13.203;
    		};
    };
    
    // 
    // a caching only nameserver config
    // 
    controls {
    	inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };
    zone "." IN {
    	type hint;
    	file "named.ca";
    };
    
    zone "localhost" IN {
    	type master;
    	file "localhost.zone";
    	allow-update { none; };
    };
    
    zone "0.0.127.in-addr.arpa" IN {
    	type master;
    	file "named.local";
    	allow-update { none; };
    };
    
    zone "0.0.127.in-addr.arpa" {
            type master;
            file "pz/127.0.0";
    };
    poi sentro la cartella /var/named creo una cartella di nome pz dove al suo interno creo un file di nome 127.0.0 e dentro ci incollo questo

    codice:
    $TTL 3D
    @               IN      SOA     ns.linux.bogus. hostmaster.linux.bogus. (
                                    1       ; Serial
                                    8H      ; Refresh
                                    2H      ; Retry
                                    4W      ; Expire
                                    1D)     ; Minimum TTL
                            NS      ns.linux.bogus.
    1                       PTR     localhost.
    poi apro il file /etc/rndc.conf e lo faccio diventare così

    codice:
    key rndc_key {
        algorithm "hmac-md5";
        secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
    };
    
    options {
            default-server  localhost;
            default-key     "key";
    };
    
    server localhost {
            key     "key";
    };
    
    key "rndckey" {
            algorithm       hmac-md5;
            secret "zzwniPIcALiAwsPscVXheBQmDzKbANETXeBtKjcgovODmWFnvoLqEaHq0PDS";
    };
    questo file /etc/resolv.conf lo faccio diventare

    codice:
    search sottodominio.proprio-dominio.edu proprio-dominio.edu
    nameserver 127.0.0.1
    per provare a veder se funziona poi vado nel mio webmin e riavvio il bild

    do il comando
    dig -x 127.0.0.1

    ma nada di nada mi appare come risposta


    codice:
    dig -x 127.0.0.1
    
    ; <<>> DiG 9.3.3rc3 <<>> -x 127.0.0.1
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49118
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;1.0.0.127.in-addr.arpa.                IN      PTR
    
    ;; ANSWER SECTION:
    1.0.0.127.in-addr.arpa. 86400   IN      PTR     localhost.
    
    ;; AUTHORITY SECTION:
    0.0.127.in-addr.arpa.   86400   IN      NS      localhost.
    
    ;; ADDITIONAL SECTION:
    localhost.              86400   IN      A       127.0.0.1
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Sun Jan 14 19:49:31 2007
    ;; MSG SIZE  rcvd: 93
    non ci riesco proprio io vorrei creare un dominio di nome itamasterworld.itamaster.com o itamasterworld.com. potete aiutarmi?

    grazie

  2. #2
    ah ragazzi sul server ho anche il webmin se con quello può essere più facile

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.