Undelivered Mail Returned to Sender

Discussion in 'Installation/Configuration' started by thawtran, Apr 16, 2014.

  1. thawtran

    thawtran New Member

    Dear ,

    I have 2 local domain encverdi.com (Windows domain) and enclocal.com (Linux domain). From enverdi.com domain can see and nslookup enclocal.com domain by I have configured DNS correctly. But from enclocal.com domain, I cannot see and understand encverdi.com.
    Then I try to sent a mail from thaw@enclocal.com to thaw@encverdi.com and I get error message like below.

    --------------------
    <thaw@encverdi.com>: Host or domain name not found. Name service error for
    name=encverdi.com type=A: Host not found
    --------------------

    This is /var/named/forward.enclocal file:
    --------------------
    $TTL 86400
    @ IN SOA dnsrv.enclocal.com. root.enclocal.com. (
    2011071001 ;Serial
    3600 ;Refresh
    1800 ;Retry
    604800 ;Expire
    86400 ;Minimum TTL
    )
    @ IN NS dnsrv.enclocal.com.
    @ IN A 192.168.10.42
    @ IN A 192.168.10.224
    mail IN A 192.168.10.42
    encverdi.com. MX 10 mail.enclocal.com.
    dnsrv IN A 192.168.10.42
    fed19vm IN A 192.168.10.224
    --------------------

    This is /var/named/reverse.enclocal file:
    --------------------
    $TTL 86400
    @ IN SOA dnsrv.enclocal.com. root.enclocal.com. (
    2011071001 ;Serial
    3600 ;Refresh
    1800 ;Retry
    604800 ;Expire
    86400 ;Minimum TTL
    )
    @ IN NS dnsrv.enclocal.com.
    @ IN PTR enclocal.com.
    mail IN A 192.168.10.42
    dnsrv IN A 192.168.10.42
    fed19vm IN A 192.168.10.224
    42 IN PTR mail.enclocal.com.
    42 IN PTR dnsrv.enclocal.com.
    224 IN PTR fed19vm.enclocal.com.
    --------------------

    This is /etc/named.conf file:
    --------------------
    //
    // 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; 192.168.10.42; }; #Thaw: Master DNS IP Address
    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; 192.168.10.0/24; }; #Thaw: Range IP Address
    recursion 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";
    };
    ###BEGIN
    zone"enclocal.com" IN {
    type master;
    file "forward.enclocal";
    allow-update { none; };
    };
    zone"10.168.192.in-addr.arpa" IN {
    type master;
    file "reverse.enclocal";
    allow-update { none; };
    };
    ###END
    include "/etc/named.rfc1912.zones";
    include "/etc/named.root.key";
    ----------------------

    Please give me advise to configure DNS server and make it works.
    Thanks and looking for your quick reply!
    Thaw TRAN
     

Share This Page