歡迎您光臨本站 註冊首頁

DNS伺服器, Can't find server name for address

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

DNS伺服器, Can't find server name for address

我的環境為:red hat enterprise  5.4   
bind :BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5

我的電腦情況如下:

A為DNS伺服器 (red hat enterprise  5.4   ),    (備註 hcet.com   IN PTR  192.168.0.4 )
B為   red hat enterprise  5.4   ,
C為  1台 windows pc

現在,在A  DSN伺服器上  nslookup www.hcet.com , nslookup 192.168.0.4   都是成功的
      在B 上 nslookup www.hcet.com , nslookup 192.168.0.4   也都是成功的


現在在電腦C上 nslookup  192.168.0.4  or nslookup  www.hcet.com
就出錯了:

Can't find server name for address 192.168.0.7: Non-existent domain
伺服器:  UnKnown
Address:  192.168.0.7

名稱:    www.hcet.com
Address:  192.168.0.4


*******************************
網上找了好多答案都說是 反向解析出錯了, 問題是在伺服器A,與B上 都可以成功.為啥C就不可以呢?
電腦A與電腦B,都是red hat enterprise 5.4 OS.

# more hcet.com.local
$TTL    86400
;$ORIGIN  hcet.com.
@       IN      SOA     hcet.com.  root.hcet.com.  (
                                      1997022704 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
@      IN NS  www.hcet.com.
4     IN PTR www.hcet.com.

# cat named.rfc1912.zones
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

zone "hcet.com" IN {
        type master;
        file "hcet.com.zone";
        notify yes;

        allow-query { any; };
        allow-update { none;};
};

zone "0.168.192.in-addr.arpa" IN {
        type master;
        file "hcet.com.local" ;
//        allow-query { any; };
//        allow-update { none; };
};
《解決方案》

Address:  192.168.0.7是你的dns地址?
怎麼看你的dns ip應該是4啊
《解決方案》

你 windows 的 dns 伺服器指向對了嗎
《解決方案》

windows 的 dns 伺服器已指向 192.168.0.7  ,
192.168.0.7是A電腦  DNS伺服器的地址,

www.hcet.com 是指向  192.168.0.4 的,

DNS伺服器地址不是 192.168.0.4 .
《解決方案》

本帖最後由 滿天星 於 2011-01-13 13:09 編輯

正向記錄呢?是查正向出錯還是查反向出錯?二者都無法解析?
《解決方案》

給.7做個ptr
《解決方案》

自己好好分析分析吧,應該指向錯了
《解決方案》

奇怪 ,你做這樣的解析,在A 和B 也能反向解析成功?
然後再關閉防火牆 試試
《解決方案》

回復 6# yahoo946


    這個是正解

[火星人 ] DNS伺服器, Can't find server name for address已經有880次圍觀

http://coctec.com/docs/service/show-post-15388.html