Hi anyone can help this dns isue please

Discussion in 'Installation/Configuration' started by peacengell, May 14, 2010.

  1. peacengell

    peacengell Member

    i have two server
    one name homy
    second name rhce
    ok

    that ################named.conf###########
    // all views must contain the root hints zone:
    include "/etc/named.root.hints";

    // These are your "authoritative" external zones, and would probably
    // contain entries for just your web and mail servers:

    zone "rhce.test.internal" {
    type master;
    file "rhce.test.internal.zone.db";
    };
    zone "2.168.192.in-addr.arpa" {
    type master;
    file "2.168.192.in-addr.arpa.db";
    };
    ###########zone ############
    rhce.test.internal.zone.db
    $TTL 86400
    @ IN SOA rhce.test.internal. root.rhce.test.internal. (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum
    IN NS rhce.test.internal.
    IN A 192.168.2.121

    homy IN A 192.168.2.110
    router IN A 192.168.2.1


    ##########this is reverse zone###########

    2.168.192.in-addr.arpa.db
    $TTL 86400
    @ IN SOA rhce.test.internal. root.rhce.test.internal. (
    1997022700 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    IN NS rhce.test.internal.

    121 IN PTR rhce

    110 IN PTR homy.homy.net
    1 IN PTR router

    #############till here can't find a problem ##############

    [[email protected] named]# nslookup 192.168.2.121
    Server: 192.168.2.121
    Address: 192.168.2.121#53

    121.2.168.192.in-addr.arpa name = rhce.2.168.192.in-addr.arpa.

    [[email protected] named]# nslookup rhce.test.internal
    Server: 192.168.2.121
    Address: 192.168.2.121#53

    Name: rhce.test.internal
    Address: 192.168.2.121

    [[email protected] named]# nslookup 192.168.2.110
    Server: 192.168.2.121
    Address: 192.168.2.121#53

    110.2.168.192.in-addr.arpa name = homy.homy.net.2.168.192.in-addr.arpa.

    [[email protected] named]# nslookup homy.homy.net
    Server: 192.168.2.1
    Address: 192.168.2.1#53

    ** server can't find homy.homy.net: NXDOMAIN###this why i'm getting this#
    is there any error in my config...
    please help thanks //...

    [[email protected] named]#

    ########this is resolv.conf####
    search test.internal
    nameserver 192.168.2.121

    nameserver 192.168.2.1
    [[email protected] named]#
     

Share This Page