Bindで名前解決できた!
保存します!
/var/named.conf
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
recursion no;
allow-query{any;};
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." {
type hint;
file "named.ca";
};
zone "example.com."{
type master;
file "example.com.lan";
allow-update{none;};
};
/var/named/example.com.lan
$TTL 86400
example.com. IN SOA dns.example.com. ukeru.example.com. (
2007031400
3600
900
604800
8640
)
IN NS dns.example.com.
dns IN A 172.16.190.129
www IN CNAME dns.example.com.
@ IN A 172.16.190.129IPアドレスは適当だよ!