Webmin Bind | Web Site not resolved

Discussion in 'Server Operation' started by hamedx, Jan 19, 2012.

  1. hamedx

    hamedx New Member

    Hello friends, i have 3 servers : 2 dns server (each as a ns) and 1 web server. i was installed webmin and bind in web server and bind in 2 dns servers and setup a virtual server , name servers already installed and "exampledomain.com" is pointed to name servers.

    problem is everything is ok in localhost but not viewing from network can you help me with this ?

    Nslookup from ns1 and ns2 :
    PHP:
    Server:         127.0.0.1
    Address
    :        127.0.0.1#53

    Name:   exampledomain.com
    Address
    89.125.0.15
    named.conf

    PHP:
    options {
            
    listen-on port 53 127.0.0.1; };
            
    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     any; };
            
    recursion yes;
            
    forward first;
            
    forwarders {
            
    4.2.2.4;
            
    192.9.9.3;
            };

            
    dnssec-enable no;
            
    dnssec-validation no;
            
    dnssec-lookaside auto;

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

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

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

    include 
    "/etc/named.rfc1912.zones";

    named.rfc1912.zones

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

    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 "1.0.0.127.in-addr.arpa" IN {
            
    type master;
            
    file "named.loopback";
            
    allow-update none; };
    };

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

    zone "exampledomain.com" IN {
            
    type master;
            
    file "/var/named/exampledomain.com";
            
    allow-update none; };
    };

    zone exampledomain.com

    PHP:

    $ttl 38400
    @       IN      SOA     exampledomain.comhost.insidedomain.com. (
                            
    1325316574
                            10800
                            3600
                            604800
                            38400 
    )
    ns3.insidedomain.com  A       89.125.0.15
    ns4
    .insidedomain.com  A       89.165.0.16
    exampledomain
    .com.    IN      NS      ns3.insidedomain.com.
    exampledomain.com.    IN      NS      ns4.insidedomain.com.
    exampledomain.com.    IN      A       89.125.2.32
    www
    .exampledomain.com.        IN      A       89.125.2.32
    ftp
    .exampledomain.com.        IN      A       89.125.2.32
    m
    .exampledomain.com.  IN      A       89.125.2.32
    localhost
    .exampledomain.com.  IN      A       127.0.0.1
    webmail
    .exampledomain.com.    IN      A       89.125.2.32
    admin
    .exampledomain.com.      IN      A       89.125.2.32
    mail
    .exampledomain.com.       IN      A       89.125.2.32
    exampledomain
    .com.    IN      MX      5 mail.exampledomain.com.
    exampledomain.com.    IN      TXT     "v=spf1 a mx a:exampledomain.com ip4:89.125.2.32 ?all"

    ----------------------------------------------
    FYI :
    WebServer : 89.125.2.32
    NS1 : 89.125.0.15
    Ns2 :89.125.0.16

    ----------------------------------------------
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Change
    Code:
    listen-on port 53 { 127.0.0.1; };
    to
    Code:
    listen-on port 53 { any; };
    in named.conf and restart BIND.
     

Share This Page