--dns配置 /etc/named.conf // // named.conf for Red Hat caching-nameserver // options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive...
1、cache-dns only 編輯主要設定檔 /etc/named.conf 註解資料是以兩條斜線『 // 』來作設定的! 每個段落之後都需要以『 ; 』來做為結尾! root@linux ~]# vi /etc/named.conf // 雖然 CentOS 將這個檔案放置到 /var/named/chroot/etc 當中, // 不過他很好心的幫我們作了個連結,所以你還是可以直接編輯這個檔案啦! options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; s...
1.安装dns软件包bind-chroot-9.3.4-10.P1.el5bind-9.3.4-10.P1.el5system-config-bind-4.0.3-4.el5bind-libs-9.3.4-10.P1.el5bind-devel-9.3.4-10.P1.el5ypbind-1.19-11.el5bind-utils-9.3.4-10.P1.el52.将/usr/share/system-config-bind/profiles/default/named目录下的: localdomain.zone named.broadcast named.local localhost.zone named.ip6.local named.zero 文件复制/var/named/chroot...
实验环境:Red Hat 5 1 安装 安装的文件及顺序如下: rpm -ivh bind-9.3.3-7.el5.i386.rpm rpm -ivh bind-chroot-9.3.3-7.e15.i386.rpm (使用chroot技术增强bind安全性的,) 下面的为查看相关信息。 rpm -qi bind rpm -qa | grep bind rpm -qa bind* 查看bind-9.3.3-7.el5软件包的内容 rpm -ql bind-9.3.3-7.el5 查看bind-chroot-9.3.3-7.el5软件包的内容 rpm -ql bind-chroot-9.3.3-7.el5 /var/named/chroo...
smit tcpip 里的 * Network INTERFACE en0 NAMESERVER Internet ADDRESS (dotted decimal) [202.96.199.133] DOMAIN Name [ns.sta.net.cn] 这个 NAMESERVER 是根据我自己机子的 d:\>nslookup google.com Server: ns.sta.net.cn Address: 202.96.199.133 Non-authoritative answer: Name: google.com Addresses: 20...
smit tcpip 里的\r\n\r\n* Network INTERFACE en0\r\n NAMESERVER\r\n Internet ADDRESS (dotted decimal) [202.96.199.133]\r\n DOMAIN Name [ns.sta.net.cn]\r\n\r\n这个 NAMESERVER 是根据我自己机子的\r\nd:\\>nslookup google.com\r\nServer: ns.sta.net.cn\r\nAddress: 202.96.199.133\r\n\r\nNon-authoritative answe...
在redhat as5下配置了dns,启动后不能解析. nslookup测试时提示: ;; connection timed out; no servers could be reached /var/log/messages中 starting BIND 9.3.3rc2 -u named -c /etc/named.caching-nameserver.conf -t /var/named/chroot Dec 26 12:29:06 bgw-GW named[3067]: found 2 CPUs, using 2 worker threads Dec 26 12:29:06 bgw-GW named[3067]: loading configuration from '/etc/named.caching-nameserver.conf' De...
一、网络环境 在一个小企业的局域网中有多台计算机,其中有一台做NAT网关(10.198.253.148)通 过ADSL共享上网。现需要做一个dns服务,把共享上网的dns解析由这台dns服务器提供; 同时,也把企业内的计算机分配域名,并使用域名来访问。 现假设企业的域为kaifa.com,需要解析的域名有mail.kaifa.com(10.198.253.239)、 www.kaifa.com(10.198.253.228 )、dns服务器的域名dns.kaifa.com(10.198.253.239)。 前提:named已运行。其版本为...