In view of the fact that my previous question was fundamentally incorrectly formulated, I ask for help in setting up bind.
My actions
- /etc/bind/named.conf
include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones";
- /etc/bind/named.conf.local
zone "dev" {
type master;
file "/etc/bind/dev.hosts";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/192.168.0.in-addr.arpa";
}; - /etc/bind/dev.hosts
$ TTL 38400
@ IN SOA garmayev.dev. garmayev.gmail.com. (
1192648703
10,800
3600
604800
38400)
;
@ IN NS localhost.
virtual IN A 192.168.0.49
IN TXT "Virtual PC for server"
IN HINFO "Debian 7.8"
www.garmayev IN CNAME garmayev - /etc/bind/192.168.0.in-addr.arpa
$ TTL 3600
@ IN SOA garmayev.dev. garmayev.garmayev.dev (
20060204; Serial
3600; Refresh
900; Retry
3,600,000; Expire
3600); Minimum
@ IN NS localhost.
49 IN PTR virtual. All other files are “boxed”, i.e. without changes
now with ping garmayev.dev, the ping goes to 127.0.53.53, although the idea is to go 192.168.0.49.
How can I reconfigure it ?