Answer the question
In order to leave comments, you need to log in
How to give everyone one IP bind?
I use bind9, for all requests I need to transfer traffic to another dns (127.0.0.1:500), but for some, for example *.vk.com, give IP with DNS 1.1.1.1, now this is the scheme:
options {
directory "/var/cache/bind";
forwarders { 127.0.0.1 port 500; }; (другой днс)
allow-query { any; };
max-cache-ttl 30;
max-ncache-ttl 30;
max-zone-ttl 30;
lame-ttl 30;
dnssec-enable yes;
};
zone "vk.com" {
type forward;
forward only;
forwarders { 1.1.1.1; };
};
Answer the question
In order to leave comments, you need to log in
In general, forward only works like this, everything must be sent to the forwarder.
Maybe it's cache?
I don't have the patience to check it myself right now, but I would try defining 1.1.1.1 as NS for vk.com.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question