【发布时间】:2015-01-30 04:42:44
【问题描述】:
我是 bind9 的新手。我已经解决了很多问题,但现在我需要一些帮助。
我基本上只是想将我的域 magestionfacile.fr 和一些子域绑定到 94.23.108.206。
这是我的配置文件:
named.conf.local
zone "magestionfacile.fr" {
type master;
allow-transfer {94.23.108.206;};
file "/etc/bind/db.magestionfacile.fr";
};
db.magestionfacile.fr
;
; BIND reverse data file for broadcast zone
;
; Time To Live
$TTL 604800
; General Informations
@ IN SOA magestionfacile.fr. root.magestionfacile.fr. (
10 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
; Domain TTL IN Type Value
IN NS ns354747.ovh.net.
IN NS sdns1.ovh.net.
IN NS sdns2.ovh.net.
@ IN A 94.23.108.206
vmx IN A 94.23.108.206
vimexcom IN CNAME vmx.magestionfacile.fr.
ownercheck IN TXT "some_number"
三个 NS 指令,我不确定它是否是正确的值。我的意思是,我什至不确定是否只有一个 DNS 服务器就足够了...
一些测试:
odoo@yann-acer-portable:~$ nslookup magestionfacile.fr 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: magestionfacile.fr
Address: 94.23.108.206
odoo@yann-acer-portable:~$ nslookup magestionfacile.fr
Server: 127.0.1.1
Address: 127.0.1.1#53
** server can't find magestionfacile.fr: SERVFAIL
odoo@yann-acer-portable:~$ ping magestionfacile.fr
ping: unknown host magestionfacile.fr
odoo@yann-acer-portable:~$ ping vmx.magestionfacile.fr
ping: unknown host vmx.magestionfacile.fr
我知道通常情况下,您需要两个 DNS 服务器,对吗?我可以用一个吗?谢谢您的帮助 !
【问题讨论】:
标签: dns