dns服务器配置,Linux操作系统下配置DNS服务器的方法是什么

有两台邮件服务器分别为192备案域名dns服务器配置。168。1。1(windows下主机名为b。test。cn)和192。168。1。3(linux下主机名为a。test。com)。dns服务器配置,Linux操作系统下配置DNS服务器的方法是什么在linux下配置DNS服务器,下面是配置过程中设置过的一些文件,/etc/hosts 文件的具体内容如下:# Do not remove the following line, or various programs# that require network functionality will fail。  127。0。0。1 localhost。localdomain localhost fc4192。168。1。3 a。test。com a192。168。1。1 b。test。cn b/etc/host。conf 文件:order hosts,bind表示先用hosts文件做解析,在用DNS解析/etc/resolv。  conf 文件:; generated by NetworkManager, do not edit!search test。comnameserver 127。0。0。1search test。cnnameserver 192。  168。1。1nameserver 61。144。56。100/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 below。   Previous versions of BIND always asked* questions using port 53, but BIND 8。1 uses an unprivileged* port by default。  */// query-source address * port 53;};//// a caching only nameserver config//。

本文出自快速备案,转载时请注明出处及相应链接。

本文永久链接: https://www.175ku.com/14835.html