亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問板塊 發(fā)新帖
查看: 1462 | 回復(fù): 6
打印 上一主題 下一主題

Linux v9 上配DNS問題。 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2003-12-12 11:41 |只看該作者 |倒序?yàn)g覽
我在HP DL350 上配置linux v9.0 的DNS時(shí)遇到正向解析不能聯(lián)接域名服務(wù)器的錯(cuò)誤,請(qǐng)問有沒有在linux v9.0配DNS的方法和文檔,可以幫助一下,謝謝!

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2003-12-12 15:01 |只看該作者

Linux v9 上配DNS問題。

1、在安全中打開dns
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 53 --syn -j ACCEPT
2、dns語(yǔ)法檢查
named.conf  正解反解文件是否正確。

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2003-12-12 16:30 |只看該作者

Linux v9 上配DNS問題。

the setup of /etc/resolv.conf
domain linix.com
search  linix.com
nameserver 192.168.192.5

[root@linux named]# more linux.com.zone

$TTL 86400
@       IN      SOA     linux.com.  root.localhost (
                        5 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )

        IN      NS      linux.com.
        IN      NS      pop3.linux.com.
linux.com.      IN      NS      pop3.linux.com.
192.168.192.5   IN      MX      linux.com.

        IN      NS      192.168.192.5.

[root@linux named]# more linux.com.zone

$TTL 86400
@       IN      SOA     linux.com.  root.localhost (
                        5 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )

        IN      NS      linux.com.
        IN      NS      pop3.linux.com.
linux.com.      IN      NS      pop3.linux.com.
192.168.192.5   IN      MX      linux.com.

        IN      NS      192.168.192.5.



[root@linux named]# more 192.168.192.in-addr.arpa
$TTL    86400
@  IN  SOA pop3.linux.com. root.pop3.linux.com. (
                                      2003090901 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      604800     ; Expire
                                      86400 )    ; Minimum
@   IN  NS  pop3.linux.com.

5  IN  PTR pop3.linux.com.


[root@linux named]# more /etc/named.conf

## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/named.custom";

include "/etc/rndc.key";







zone  "0.0.127.in-addr.arpa" {
        type master;
        file  "0.0.127.in-addr.arpa.zone";
};
zone  "192.168.192.in-addr.arpa" {
        type master;
        file  "192.168.192.in-addr.arpa.zone";
};


zone  "localhost" {
        type master;
        file  "localhost.zone";
};
zone  "linux.com" {
        type master;
        file  "linux.com.zone";
};



server 192.168.192.254 {
        bogus yes;
        };
[root@linux named]#

please give directions!!

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2003-12-12 16:38 |只看該作者

Linux v9 上配DNS問題。

the setup of /etc/resolv.conf
domain linix.com
search  linix.com
nameserver 192.168.192.5


     [root@linux named]# more linux.com.zone

$TTL 86400
@       IN      SOA     linux.com.  root.localhost (
                        5 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )

        IN      NS      linux.com.
        IN      NS      pop3.linux.com.
linux.com.      IN      NS      pop3.linux.com.
192.168.192.5   IN      MX      linux.com.

        IN      NS      192.168.192.5.

[root@linux named]# more 192.168.192.in-addr.arpa
$TTL    86400
@  IN  SOA linux.com.  root.linux.com. (
                                      2003090901 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      604800     ; Expire
                                      86400 )    ; Minimum
@   IN  NS  linux.com.
192.168.192.5   IN      PTR     linux.com.
             5  IN      PTR     linux.com.

[root@linux named]#


[root@linux named]# more /etc/named.conf

## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/named.custom";

include "/etc/rndc.key";







zone  "0.0.127.in-addr.arpa" {
        type master;
        file  "0.0.127.in-addr.arpa.zone";
};
zone  "192.168.192.in-addr.arpa" {
        type master;
        file  "192.168.192.in-addr.arpa.zone";
};


zone  "localhost" {
        type master;
        file  "localhost.zone";
};
zone  "linux.com" {
        type master;
        file  "linux.com.zone";
};



server 192.168.192.254 {
        bogus yes;
        };
[root@linux named]# nslookup
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
>; linux.com
;; connection timed out; no servers could be reached
>;



please give directions!! tks !

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2003-12-12 16:39 |只看該作者

Linux v9 上配DNS問題。

the setup of /etc/resolv.conf
domain linix.com
search  linix.com
nameserver 192.168.192.5


     [root@linux named]# more linux.com.zone

$TTL 86400
@       IN      SOA     linux.com.  root.localhost (
                        5 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )

        IN      NS      linux.com.
        IN      NS      pop3.linux.com.
linux.com.      IN      NS      pop3.linux.com.
192.168.192.5   IN      MX      linux.com.

        IN      NS      192.168.192.5.

[root@linux named]# more 192.168.192.in-addr.arpa
$TTL    86400
@  IN  SOA linux.com.  root.linux.com. (
                                      2003090901 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      604800     ; Expire
                                      86400 )    ; Minimum
@   IN  NS  linux.com.
192.168.192.5   IN      PTR     linux.com.
             5  IN      PTR     linux.com.

[root@linux named]#


[root@linux named]# more /etc/named.conf

## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/named.custom";

include "/etc/rndc.key";







zone  "0.0.127.in-addr.arpa" {
        type master;
        file  "0.0.127.in-addr.arpa.zone";
};
zone  "192.168.192.in-addr.arpa" {
        type master;
        file  "192.168.192.in-addr.arpa.zone";
};


zone  "localhost" {
        type master;
        file  "localhost.zone";
};
zone  "linux.com" {
        type master;
        file  "linux.com.zone";
};



server 192.168.192.254 {
        bogus yes;
        };

[root@linux named]# service named restart
     named  rndc: connect failed: connection refused

[root@linux named]# ]

[root@linux named]# nslookup
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
>; linux.com
;; connection timed out; no servers could be reached
>;



please give directions!! tks !

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2003-12-12 23:16 |只看該作者

Linux v9 上配DNS問題。

有空好好研究研究

論壇徽章:
1
榮譽(yù)版主
日期:2011-11-23 16:44:17
7 [報(bào)告]
發(fā)表于 2003-12-13 01:46 |只看該作者

Linux v9 上配DNS問題。

1) firewall 有否放行 dns ?
2) /var/log/messages 說些啥?
3) 要不要試一試我的 script :
http://72891.cn/forum/16/20031206/217331.html
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP